Linux backups

I did some backing up before I installed the new Mandrake Linux 10.0, and I thought I’d share a bit about how to do it.

1. Blank your media:

cdrecord -v -eject speed=12 dev=0,0,0 blank=all

Optionally you can do blank=fast, but I prefer a clean sweep.

2. Create the ISO image of what you want to backup.

mkisofs -v -R -nobak -o goku.iso /home

-v for verbose, -R to preserve permissions and filename lengths in Linux, -nobak to not waste space in the backup image with those little backup files that some applications write.

3. Burn that backup image baby!

cdrecord -v -eject speed=4 dev=0,0,0 driveropts=burnfree goku.iso

That’s all there is.

*References:
Tonic for your Backup Woes: CD Backups In Linux (Part One).

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>