Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are in the process of backing up our hard drives to Blu Rays. I am creating tar.gz files and burning them to Blu Ray.

Is it possible to use a simple (preferably Python-based) solution for creating images of those tar.gz files, of a predetermined size (to fit in the Blu Ray), and simply burn this images to the disc?

Do you have any other approach for creating physical back-up of your hard drives?

share|improve this question
You're not worried about the dyes degrading? I've got CD-Rs from ~5 years ago stored under optimal conditions that are unreadable. Tape is pretty standard, and the cost per GiB is slightly less than that of hard drives (and significantly less than Blu Ray. Using python you could sort all of your tar.gz files by size and then use some naïve packing taking the biggest then smallest and then use mkisofs to make your isos. – Tyler Jan 25 '10 at 23:56
Tyler is right, optical media is notorious for degrading over time (especially if the integrity of the coating is compromised via scratch or similar that will allow oxidation to occur in the aluminum). If you are looking for long-term viability tape is the way to go. If you only are planning on having these as a failsafe, why not just dump the data onto external hard drives? The cost per GB will be much cheaper, and it will take significantly less time to create the backups. – tj111 Jan 13 '11 at 16:20
up vote 0 down vote accepted

Tar really is the best format for archives. Every system you want to recover on will have it.

I use the tarfile Python module to make my tar.gz files and an index file with hashes. I have my program create a new tarball when the current one reaches a certain size. You could then run mkisofs and cdrecord with popen to create the ISOs and write them to disk.

I use to verify the hashes during recovery.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .