Backup onto multi tapes with compression
I would like to backup a NAS to a series of LT02 tapes, (200 gigs uncompressed, 400gigs compressed.) There are about 700 gigs of data to back up. I initially tried cpio, first trying to set hardware compression with an mt -f /dev/nst0 compression and then invoking cpio with:
find . -depth -print | cpio -ocBv 2>/root/file_backup > /dev/nst0. It does not appear the compression was set, as four tapes were needed. When I tried:
find . -print -depth -mount | cpio -oCvB 2> /root/file_backup | gzip -c > /dev/nst0 which did compress the backup as expected but at the end of the tape I was not prompted to mount a second tape.
Tar with compression works fine, but you cannot use the multi-tape option with compression. Does someone have and alternate suggestion?
Last edited by apolinsky; 06-18-2014 at 08:04 PM.
Reason: I didn't have to sign it again
|