User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

backuptodvd [2012/01/14 05:14]
mschiff removed
— (current)
Line 1: Line 1:
-======  Tape-Like Backup  ====== 
-tar cvf - -C /files/to/backup | growisofs -Z /dev/dvd=/proc/self/fd/0 
-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</code> 
-Create UDF filesystem inside the image: 
- # mkudffs --media-type=dvd dvd_backup.img</code> 
-Create mountpoint and mount the image: 
- # mkdir mnt 
- # mount dvd_backup.img mnt -o loop</code> 
-Copy files to the image and unmount it: 
- # cp -a /files/to/backup mnt 
- # umount mnt</code> 
-Burn the image to DVD: 
- # growisofs -dvd-compat -Z /dev/dvd=dvd_backup.img</code>