tar cvf - -C /files/to/backup | growisofs -Z /dev/dvd=/proc/self/fd/0 Restore: tar xvf /dev/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