On Thu, 2009-09-10 at 07:21 -0700, Randall R Schulz wrote:
Guys.
I have about twenty boxes I need to back up. I been told that cpio is go to do that, I currently use tar but by directory by directory casee, but I am having problems finding a good example of a back up script. I am looking to make a cpio image of the whole box. Lucky we have a SAN with storage that will be able to hold the back up. I don't think there's any reason to prefer cpio over tar. It's a less-used and more antiquated format. TAR also permits more compressions schemes (in fact, beyond the ones it will invoke itself
On Thursday September 10 2009, Chuck Payne wrote: based on options like 'j' or 'z', it can run arbitrary external compression commands if you wish). I recommend you stick with your tar-based scheme, if its suits you. Depending on your needs, an rsync approach might be a better choice.
Ditto on the use of cpio. But I'd recommend star over tar. Use star's exustar format and you include ACLs and metadata in your backup which [sadly] tar still cannot do. star -c -acl H=exustar bs=8k fs=128m f=$BACKUPFILE -bz \ --list=/etc/BackupFileList.txt --dodesc The GNU backup/restore utilities are lagging behind the features of current file-systems.
One thing I've taken to doing is augmenting my automated backup based on CrashPlan with a rotating (currently just every other day) rsync snapshots of critical directories.
Agree. With the --acls and --xattrs current versions of rsync will include the meta-data as well. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org