|
|
Multi-DVD or (multi-CD) spanning backups with tar
Interesting! However I think there is a way around this. GNU tar, which both xtar and hfstar are based on include an -L switch which allows you to limit the size of the archive. From the help page:
This prompts to change tape after writing NUM x 1024 bytes. Unfortunately, I don't believe that Tiger tar includes this so even Tiger users would need to continue to use xtar or hfstar.
One other thing I notice though is that using Tiger the archive would now be created in a subdirectory of a directory that is being tarred (~/Desktop/.fpbf is within /Users). This would surely cause a problem since the tar archive would include itself. Of course if you are just backing up your 'own' user folder (for example in my case that would be /Users/ruari) you could still do it quite simply. Just switch to different user and run the commands as:
This would create each part as a 4.67GB file (I think DVDs hold ~=4.7GB, so I made this a bit smaller just to be sure, but you could adjust this figure to suit you). Everything else would be the same as my old instructions for Panther. ;-)
If you did want to grab the whole /User folder this 'might' work:
(Alternatively, the -X switch allows you to specify a file containing a list of excludes).
If for some reason this didn't work here is another way:
When prompted for the next DVD open a new terminal window and type:
Then use the burn folders thing in Tiger to burn the "multipartdvdbackup" folder. After this is done delete backup.tar and then hit enter in the original terminal window to start making part two (and so on). Yes the last one is a bit more messy but I think it should work (I don't have Tiger to try it out!) (If you aren't backing up whole user folders but just want to span a few files across multiple DVDs there should be no problems with taring the tar file).
Multi-DVD or (multi-CD) spanning backups with tar
Tiger tar, which is based on gnutar, does include the -L n option. I think n should be 4550000 for a DVD. (File size = n * 1024.)
I slapped together a little shell script to set up the backup file names (and to remember the whole sequence for me with an echo reminder).
It should be possible to code some applescript to burn the folders. I'll leave that exercise for whoever has the time.
---
Multi-DVD or (multi-CD) spanning backups with tar
Technically I believe you would convert 4.7 GB to MB and then convert MB to KB:
Multi-DVD or (multi-CD) spanning backups with tar
Interesting hint!! One question: Could this --
-- 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.
Multi-DVD or (multi-CD) spanning backups with tar
Yes, use -F or --info-script=FILE |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|