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: rflo on Jun 24, '05 04:02:41PM
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).

#!/bin/sh

day=`date "+%y%m%d"`
file= /tmp/backup-$day
cd /

echo "When tar asks for a new volume, use the burn folder feature in the Finder, 
then erase $file/backup.tar before hitting return to restart tar."

mkdir $file
sudo tar -L 4550000 -cvpMzf $file/backup.tar Users usr/local

It should be possible to code some applescript to burn the folders. I'll leave that exercise for whoever has the time.

---
Ronald Florence

[ Reply to This | # ]

Multi-DVD or (multi-CD) spanning backups with tar
Authored by: GlowingApple on Mar 14, '06 08:59:58AM

Technically I believe you would convert 4.7 GB to MB and then convert MB to KB:

4.7 * 1024 * 1024 = 4,928,307 KB

So 4928307 is the supposed max for a DVD (though usually DVD-R and DVD+R can hold a little more, so you could probably round up a bit or to be safe (allow space for the session open and close data, etc), round down a bit).

---
Jayson --When Microsoft asks you, "Where do you want to go today?" tell them "Apple."



[ Reply to This | # ]