The equiv of an archive bit using cpio
mike neuliep
mike at illiana.net
Mon Jul 23 12:38:50 CDT 2001
I wrote the following script to back up modified files to copy them from
one harddrive to a back up harddrive
#!/bin/sh
# This scripts copies from from / to /mnt/hdc2. Only files with newer than
# target date are copied. The resulting /mnt/hdc2 should be a mirror of the
# original drive
/usr/bin/find /sbin /root /opt /etc /bin /usr /home /var /lib /boot | /bin/cpio -p
--make-directories --preserve-modification-time --verbose /mnt/hdc2
Also if you read the tar "info" pages, there are script examples of how to
use tar and back up to a tape devies only modified files. If anyone wants
me to post those examples, let me know.
Mike
More information about the Kclug
mailing list