From owner-freebsd-questions@FreeBSD.ORG Sat Jan 29 12:05:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55B9216A4CE for ; Sat, 29 Jan 2005 12:05:16 +0000 (GMT) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id E87B943D39 for ; Sat, 29 Jan 2005 12:05:15 +0000 (GMT) (envelope-from ian@codepad.net) Received: from [80.229.159.44] (helo=[192.168.0.4]) by ptb-relay01.plus.net with esmtp (Exim) id 1CurLm-000HUZ-N4 for freebsd-questions@freebsd.org; Sat, 29 Jan 2005 12:05:14 +0000 From: Xian To: freebsd-questions@freebsd.org Date: Sat, 29 Jan 2005 12:00:04 +0000 User-Agent: KMail/1.7 References: <200501270100.56303.ml-freebsd-newbies@codepad.net> <200501272023.22673.imoore@picknowl.com.au> <41FAEC16.9000708@mindspring.com> In-Reply-To: <41FAEC16.9000708@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501291200.04666.ian@codepad.net> Subject: Re: Backup to CD-Rs and DVDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 12:05:16 -0000 On Saturday 29 January 2005 01:51, Carleton Vaughn wrote: > Ian Moore wrote: > > Anyway, to backup /usr directly to a dvd(+rw), I use the this command: > > dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/dvd=/dev/fd/0 ' > > /usr This gives you a dvd or series of dvds with the dump file on them. > > You can then boot from CD2 (live system) and use restore to restore the > > data. If the link above is the one I think it is, it gives you an example > > restore command. > > I'm in the same boat as Xian. I want to backup to DVD so I can upgrade to > 5.3. dump in 4.10 does not have a -P option, and growisofs says nothing > about handling spanning, so how do I span my dump over multiple DVDs? > > dump -h0 -B 4589840 -S /usr says I'm going to need 6.18 "tapes". I'm going > to crack open a beer and just pipe it, to see what happens. > > Then some day if all goes well I will split /usr into /usr and /usr/home, > 'cause this is ridiculous. > > Thanks. I have another machine running 4.9 (also without the -P option for dump) and the way I get round it is to create the dump on another disk in pieces then transfer them to another machine for burning. dump -B -f /home/usr.dump /usr /usr and /home are on different disks. Then when dump asks me if the next volume is ready I move /home/usr.dump to /home/usr/dump.1, then tell dump yes. And so on until dump has finished However I am having some issues with this. I transfer them to another machine, (checking the md5 of them is the same before and after transfer them), and test it with restore restore -Nxvb 2 -f usr.dump.1 and the first volume works fine, it says 'End-of-tape encountered'. I start the next volume and it tells me unexpected tape header abort? [yn] What could be doing this and how do I fix it? -- /Xian "Never put off until tomorrow what you can avoid altogether" unknown author