Backing up directly to DVD

John dingo at coco2.arach.net.au
Wed Nov 17 06:34:50 UTC 2004


Ben Edwards (lists) wrote:
> I am trying to work out how to backup files directly to DVD - i.e.
> without creating a temporary file first.  However a I first want to
> compress them.  Was thinking something like 
> 
>  tar cv * | gzip | growisofs -Z /dev/hdc 
> 
> However cant quite work out how to do it.
> 
> The other issue is that I would like to be able to restore individual
> files from the DVD without unpacking the whole thing ,something like
> 
>  gzip /media/cdrom | tar xv *files*
> 
> Any help pointers would be great.
> 
> Ben
> 

I do this by crontab each morning:
summer at Echidna:~$ cat bin/mk.dvd
#!/bin/bash
dvd+rw-format -blank /dev/scd0
growisofs -use-the-force-luke \
         -Z /dev/scd0 -q -r \
         -m packages -m evolution -m backups  \
         /home/summer

summer at Echidna:~$

Some stuff I don't want (it won't fit).





More information about the ubuntu-users mailing list