Slashdot Mirror


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?"

3 of 12 comments (clear)

  1. Backup onto multiple CD-Rs by yabHuj · · Score: 2

    ...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

  2. CD-RAID0 by technos · · Score: 4

    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!
    1. Re:CD-RAID0 by technos · · Score: 2

      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

      --
      .sig: Now legally binding!