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