Operating System - HP-UX
1827289 Members
3266 Online
109717 Solutions
New Discussion

Problems Copying Software Depot

 
SOLVED
Go to solution
Daniel Penrose
Occasional Contributor

Problems Copying Software Depot

When I copy the software depot using "tar -cvf /depot depot.tar" or "rcp -rp server:/depot/ ./" my depot becomes corrupted. Any suggestions?
6 REPLIES 6
Umapathy S
Honored Contributor
Solution

Re: Problems Copying Software Depot

tar -cvf should do it proper. I think the command syntax is wrong.

HTH
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Daniel Penrose
Occasional Contributor

Re: Problems Copying Software Depot

My apologies, I posted it incorrectly. The syntax was correct when I ran the command. The depot is corrupt after restoring the data.
Steven E. Protter
Exalted Contributor

Re: Problems Copying Software Depot


rcp isn't supposed to do that.

Try ftp.

If you restored using ftp, you must transfer the tar fine as binary.

If you ftp it ascii(the default with windows ftp) you will get corrupt results.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Sanko
Trusted Contributor

Re: Problems Copying Software Depot

I once received my depot as a winzip and I ended up with a corrupted archive.

I reloaded it as a tar file and it came across fine.

Did you ftp it from a pc and transfer it ascii, not bin?

Tim
Daniel Penrose
Occasional Contributor

Re: Problems Copying Software Depot

The tar file was transferred by a tape. Either way, some of the contents became corrupted.
Ramkumar Devanathan
Honored Contributor

Re: Problems Copying Software Depot

Hi,

What are the exact errors you are getting when installing on the new machine?

everything seems to be right - if you transferring via a tape - no ftp/rcp.

what is the command you use to install on the new node?

to copy a depot, why don't you use swcopy?

- ramd.
HPE Software Rocks!