Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Linux Software

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?"
This discussion has been archived. No new comments can be posted.

Multi-Disk CD Backup Solutions for Linux?

Comments Filter:
  • ...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.

    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 /home and have 700MB free on /tmp (and an empty /tmp/CD directory). You only call the CDBACKUP script.


    #!/bin/sh
    #-----------CDBACKUP------------------
    tar cvf /tmp/CD/backup.tar \
    --multi-volume \
    --tape-size=610MB \
    --new-volume-script=CDBACKUP.BURN \
    /home
    CDBACKUP.BURN


    #!/bin/sh
    #------------CDBACKUP.BURN-------------
    # ! please adapt properly to your setting !
    cd /tmp/CD
    mkisofs | cdrecord dev=0,5,0 -
    rm backup.tar
  • Have you looked at Disc Backup - http://discbackup.home.dhs.org/ ?

    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
  • by technos ( 73414 ) on Friday November 12, 1999 @09:43AM (#1538806) Homepage Journal
    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!
  • Hang on a second... whats with all this complicated stuff? Whats wrong with just splitting your server drive into a number of appropriately sized chunks and then burning away? If you have some mega files then you might want to cut them up, but I dont see much problem with the general idea.

    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 :) Dont hate me cause I'm dumb...

  • Yeah, just change /home to an NFS mount.
    ---
    "'Is not a quine' is not a quine" is a quine.
  • Unfortunatly, there are no URL's.. I never actually thought anyone else would want to do that. Actually.. Give me a day or so and I'll have all my scripts, plus a performance table up on this page [crosswinds.net]

"If I do not want others to quote me, I do not speak." -- Phil Wayne

Working...