User Tools

Site Tools


backuptodvd

This is an old revision of the document!


Tape-Like Backup

tar cvf - -C /files/to/backup | growisofs -Z /dev/dvd=/proc/self/fd/0 Restore: tar xvf /dev/dvd

Backup with UDF-Filesystem on DVD

As packetwriting is not very good today under Linux, we can do it this way:

Create image file:

 # dd if=/dev/zero of=./dvd_backup.img bs=32768 count=143444

Create UDF filesystem inside the image:

 # mkudffs --media-type=dvd dvd_backup.img

Create mountpoint and mount the image:

 # mkdir mnt
 # mount dvd_backup.img mnt -o loop

Copy files to the image and unmount it:

 # cp -a /files/to/backup mnt
 # umount mnt

Burn the image to DVD:

 # growisofs -dvd-compat -Z /dev/dvd=dvd_backup.img
backuptodvd.1326509494.txt.gz ยท Last modified: 2012/01/14 03:51 by 0.0.0.0