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!

how to back up and restore soft links via cpio

Status
Not open for further replies.

gotchausa

Programmer
Jan 24, 2002
64
CA
I need to be able to backup JUST the file system's directory structure (not files e.g only /usr /opt) via cpio and also to save a copy to a flat file. How do I deal with soft links? This is important since when I do the restore via cpio, I want to be able to recreate the directories and also make those that had soft links point to the right owners. I also need to recreate the dir. structure without using cpio based on the flat file that I had saved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top