Multi-Disk CD Backup Solutions for Linux?
waldowaldo asks: "I have looked high and low for a good way to back up a server hard drive to CDs, but cannot find anything. There are good programs for collecting files and writing them to a single disk (such as cdrecord), but nothing for multiple CDs (that I can find). Anyone seen anything that'll do this?"
...is not a problem if you can cope with thext/command line only interface. All you need is tar (GNU version), mkisofs, cdrecord, and 700 MB free hard disc space.
/home and have 700MB free on /tmp (and an empty /tmp/CD directory). You only call the CDBACKUP script.
/tmp/CD/backup.tar \
/home
/tmp/CD
As I currently do not have access to my backup PC I only can give a rough outline of the two scripts that have to be made (here I assume you want to backup
#!/bin/sh
#-----------CDBACKUP------------------
tar cvf
--multi-volume \
--tape-size=610MB \
--new-volume-script=CDBACKUP.BURN \
CDBACKUP.BURN
#!/bin/sh
#------------CDBACKUP.BURN-------------
# ! please adapt properly to your setting !
cd
mkisofs | cdrecord dev=0,5,0 -
rm backup.tar
I had occasion to need a transport medium for several large video files approaching 1.8G in size each. While I could have always mailed a tape, I decided to do something more novel. CDROM-RAID0
I created three 620M files (dd if=/dev/zero blah..), hooked them to loopback devices, mdadd'ed and mdran them, then slapped a ext2 fs across them. After writing the video to the RAID volume (Don't forget to sync!) I burned each file to a CD-RW, and included a short mount/losetup/mdrun/etc script on the first CD.
The best part about the arrangement was that you could play the high-bandwidth video directly from the associated CD's, with no intermediary layer or jacking the buffer up.. (The 'seek' lag was roughly double normal, but I could pull a true 40X off of the three 16X(max) CDROM drives.)
If you want more implementation detail, just ask!
.sig: Now legally binding!