[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] cpio to backup Raq4



I came through this page
http://www.best.com/~aturner/RedHat-FAQ/DOCS/common5.html which has
information about using 'cpio' to copy directory trees from one place to
another. I thought if this can be used to copy all partitions on a Cobalt
Raq4 server to an NFS mounted storage and if it would create a complete
usable backup of all partitions and files or not.

-------- From URL
above ------------------------------------------------------------
The recommended method of copying directory trees from one place to another
is
 to use cpio. It handles symlinks and device files much better than tar or
 cp and is the ONLY way to copy the root directory.

 Standard syntax is as follows:
cd /source_dir ; find . -depth -print | cpio -pamd /dest_dir

 The find command generates an exhaustive list of filenames and pipes them
to
 cpio which in turns copies each file to the destination tree.
----------------------------------------------------------------------------
---------------------------------------

Has anyone tried this or has an idea if this will work in restoring any
files or partitions back to a Raq when needed or not ?

Regards,
Hisham