Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reloading using cpio......

Status
Not open for further replies.

jgroves

Technical User
Jun 26, 2002
2
GB
i have copied a section of data using cpio from a live environment on a rs6000 box (aix). I wish to reload it onto the same box but a different destination (a test environment). I cannot think of a way of doing this without risking overwriting the originally saved data which has since been writen to. Any tips????
 
I don't understand your quandry.

If you used cpio with the -p option to copy the data in the first place (ie replicated a directory structure ) then use the same procedure to put it somewhere else.

If you used cpio to copy the data to an archive file then you would restore it to the new directory with absolute filenames suppressed (-A in sco openserver, --no-absolute-filenames in linux).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top