|
split - rejoin problem on tar.bz2 backup
Call me old school, but I've been running a server backup using a simple custom script & a cron job to create a backup to dvd-ram.
The theory behind the it is I create a tar.bz2 file on disk, split it into 1G segments (using split) to avoid the old (obsolete, but never got around to removing it from my script) 1G limit on UDF files) then copy the split portions to dvd-ram.
As the backup progresses, I compare the dvd-ram segments to the segments on disk before erasing them. I send myself an e-mail on compare failure (I give the copy/compare three tries before declaring failure).
However, when I (rarely) get called to restore a file, I get into problems. "cat"ing the files together to recreate the original tar.bz2 file leaves me with corruption on the bz2 file.
I can generally get the file back after much wailing and gnashing of teeth, but I'm hoping someone can figure out what is going wrong.
Thanks.
|