On Sat, Mar 25, 2006 at 12:25:32PM -0900, Beech Rintoul wrote:
> 
> On Saturday 25 March 2006 12:00, Scott Ballantyne wrote:
> > I am trying to use dump/restore to backup my filesystems to DVD.  I am
> > using a DVD+RW, format it with dvd+rw-format -force /dev/cd0, and then do:
> >
> > dump -0 -b 32 -B 4590208 -f /dev/cd0 /
> >
> > to backup the root filesystem. I do this after going to single user
> > mode.
> >
> > It seems that dump is perhaps not properly closing the file? The DVD
> > drive light remains on, and I get errors from restore:
> >
> > tape read error: Unknown error: 0
> >
> > dvd+rw-mediainfo /dev/cd0 is more informative:
> >
> > /dev/cd0: unable to open: Device busy
> >
> > I *can* dump to a file on a filesystem, and use growisofs to write
> > this dump file to the DVD. No problems mounting and reading the
> > resulting dump file. Unfortunately, I do not have enough free disk
> > space to do this with my larger file systems.
> >
> > This is with 5.3-RELEASE.
> 
> Try:
> 
> dump -0au -L -f  /dev/cd0 /
> 

dump -0 -unL -C16 -B4589840 -P 'growisofs -speed=4 -Z \
/dev/cd1=/dev/fd/0' filesystem

is what I use to dump to DVD+R and +RW.  Change the speed to match
your drive and media, and the dump level to match what you want to do.  

David
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to