Multi-Disk CD Backup Solutions for Linux? 12
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?"
Backup onto multiple CD-Rs (Score:2)
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
Disc Backup (Score:1)
I haven't tried it yet so I can't vouch for it but I downloaded it a while ago and it claims to do backups across multiple disks.
Bob
CD-RAID0 (Score:4)
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!
am I missing something? (Score:1)
Just fashion yourself a nice script that starts from a given directory and then adds files in logical order until it hits 650MB, then feeds the batch to the burner and continues. If you wanted to be flashy you could also have a min. size parameter. Tell it nothing less than 640MB and then it can split the last file if its too big. Just cut and store it in some temp space, then add the second half to the list for the next CD, delete it when youre done...maybe even include a reconstruction script... and wham! Bob's your uncle, instant backups.
If this is for backup purposes it doesn't really matter anyways, I mean if your server dies you'll be more than happy to play with a couple of files to reconstruct them manually, and do other stuff! Youll just be glad you have a backup, so I guess it doesn't really have to be all that streamelined. (Then again, if you have 100gigs to backup it might be worth your time to put in the effort for a script to reconstruct them when the need arises...)
I'm sure the solution cannot be that simple -- either you are looking for something more advanced, or, whats more likely is that I've totally missed the point, and will get a few friendly flames in the time that it takes for this message to get moderated down to -4.
Have a nice day
Re:Backup onto multiple CD-Rs (Score:1)
---
"'Is not a quine' is not a quine" is a quine.
Re:CD-RAID0 (Score:2)