How to back up file sys to DVD?

(NOTE: Posted in Storage forum, got no responses; that must be for users of the big storage hardware, thus wrong for this question. So re-try here:)

My need:Off-line backup.

My system: Sun workstation, two other workstations on LAN, none have mass-storage device. Largest-capacity device is DVD-writer on this workstation.

My problem:

A DVD-R will hold 4.7Gb of data. My filesystems are 10Gb, and one very much larger. I back up the 10Gb file systems to the large one, and across the LAN to other machines. But I want off-line and off-site backup.

So: How can I back up a 10GB filesys to a DVD? I've tried:

(1) ufsdump, followed by mkisofs, followed by cdrw. Fails because I can find no way to split the dump file onto multiple DVD volumes, and still have ufsrestore recognize the later volumes. ufsdump itself won't produce multiple volumes except to tape or diskette device (I think), and "split" on the dumpfile produces useless 2nd & later volumes.

(2) "mkisofs -r filesysname | cdrw -i " (ie. directly to DVD) just fails, without any good explanation.

(3) "mkisofs -r rootfilesys > filesysimage.iso" failed at 75% because some temp file in /proc had disappeared.

(4) "mkisofs -r filesysname > filesysimage.iso" sort of worked when the filesystem was not root, but the 3.4Gb filesys was blown out to a 6.1Gb iso file, due to the tens of thousands of filenames re-mapped to 8.3 for rockridge. An absurd waste of time and space.

So, is there any way I can do it? I'll accept a multi-step process.

Thank you.

-- Peter

[1639 byte] By [peter.b] at [2007-11-26 8:45:54]
# 1

> So: How can I back up a 10GB filesys to a DVD?

> I've tried:

>

> (1) ufsdump, followed by mkisofs, followed by cdrw.

> Fails because I can find no way to split the dump

> file onto multiple DVD volumes, and still have

> ufsrestore recognize the later volumes.

The modern version of backing up to floppy disks. :)

Create your ufsdump 10 gb file & copy it to the dvd machine.

To split it, use split.

man split

for details.

copy chunk1 to 1st cd, chunk2 to 2nd cd, etc...

to restore,

copy chunk1 to /some_dir

copy chunk2 to /some_dir

etc...

cat chunk1 chunk2 > bigchunk

ufsrestore from bigchunk

alan

alan_pae at 2007-7-6 22:30:43 > top of Java-index,General,Sys Admin Best Practices...