From owner-freebsd-questions@FreeBSD.ORG Thu Jun 16 19:49:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 45C4216A41C for ; Thu, 16 Jun 2005 19:49:36 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE92A43D1D for ; Thu, 16 Jun 2005 19:49:35 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.3/8.13.3) with ESMTP id j5GJnXbU007057; Thu, 16 Jun 2005 21:49:34 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id C61E8656A; Thu, 16 Jun 2005 21:49:33 +0200 (CEST) Date: Thu, 16 Jun 2005 21:49:33 +0200 From: Roland Smith To: James Riendeau Message-ID: <20050616194933.GF44491@slackbox.xs4all.nl> Mail-Followup-To: James Riendeau , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dWYAkE0V1FpFQHQ3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD/UNIX backups to DVD+RW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 19:49:36 -0000 --dWYAkE0V1FpFQHQ3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 16, 2005 at 01:14:50PM -0500, James Riendeau wrote: > I'm trying to setup backups to the DVD-RW drive on our new server before = it > goes into production. I've got the DVD-RW drive working, and I figured o= ut > how to dump to it: >=20 > # dvd+rw-format /dev/cd0 > # dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=3D4 -Z /dev/cd0=3D/dev/= fd/0' > /usr Hmm, nice idea. Although I don't think it'll work on a partition >4GB. > A test restore comes out clean: >=20 > # restore -Nxvb /dev/cd0 >=20 > The problem is most of the partitions are tiny (< 1G) and I would like to > fit more then one partition on each DVD. I figured just passing -M (appe= nd > data) instead of -Z (new session) would do it: >=20 > # dump -0 -uL -C16 -a -P 'growisofs -speed=3D4 -M /dev/cd0=3D/dev/fd/0' /= home >=20 > But growisofs fails with :-( /dev/cd0 doesn't look like isofs..., and of > course dump fails with "Broken pipe". That's because it isn't an isofs, it's a raw dump. Growisofs doesn't understand the dump format and doesn't have a clue where the end of the previous session is. > Any clues to how to get this to work? (Webpage link is sufficient if the= re > is something out there. I couldn't find one.) If you have sufficient disk space, dump to disk. Compress the dumps with gzip or bzip2 if you want to fit more on a disk, and put the dumps in an isofs with mkisofs(8). Burn that on a DVD. Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --dWYAkE0V1FpFQHQ3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCsdfNEnfvsMMhpyURAkLXAJ9ps0Q4VwtU3fxN/9A/IQg8Oda8cQCdF0// QuSNx6KhsWZUn2DYwlEnugU= =Qz/M -----END PGP SIGNATURE----- --dWYAkE0V1FpFQHQ3--