Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Multi-DVD or (multi-CD) spanning backups with tar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Multi-DVD or (multi-CD) spanning backups with tar
Authored by: tinker on Jun 27, '05 12:51:48PM
Interesting hint!! One question: Could this --
$ cd /
$ sudo xtar --tape-length=4900000 -cvpMf /Users/<differentusername>/Desktop/<cd name>.fpbf Users/<regularusername>/
-- be modified in order to get it to produce a set of one-DVD-sized tarballs in /Users//Archive/, say? That way, I could have it create the tar archives via cron while I sleep every week, and then just burn the DVDs, saving a fair bit of time in the process.

[ Reply to This | # ]
Multi-DVD or (multi-CD) spanning backups with tar
Authored by: ruaric on Jun 29, '05 09:04:05AM

Yes, use -F or --info-script=FILE

This allows you to run a script at end of each tape. That way you could write to a tar file of a set size, when the first part is done you could have a script move that part to a subfolder called part1, when the next part is done it could move it to a subfolder called part2 (it could know to increase the folder number because the folder part1 already exists), and so on.

At the end you would have several folders each with a single part in them. The reason for putting them in subfolders is of course the fact that they all have the same file name.

I'll leave you to work out a suitable script! ;-)



[ Reply to This | # ]