From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 08:27:00 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 24E8816A4CE for ; Sun, 13 Mar 2005 08:27:00 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F15A43D1F for ; Sun, 13 Mar 2005 08:26:59 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j2D8QuUQ018426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 13 Mar 2005 00:26:57 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j2D8QuvM018424; Sun, 13 Mar 2005 00:26:56 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Sun, 13 Mar 2005 00:26:56 -0800 From: "Loren M. Lang" To: Jerry McAllister Message-ID: <20050313082656.GB18080@alzatex.com> References: <1946173739.20050307145644@wanadoo.fr> <200503071447.j27ElWW10343@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vGgW1X5XWziG23Ko" Content-Disposition: inline In-Reply-To: <200503071447.j27ElWW10343@clunix.cl.msu.edu> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: Jerry McAllister cc: freebsd-questions@freebsd.org Subject: Re: What's the easiest way to do a backup and verify? 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: Sun, 13 Mar 2005 08:27:00 -0000 --vGgW1X5XWziG23Ko Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 07, 2005 at 09:47:31AM -0500, Jerry McAllister wrote: > >=20 > > Is there an easy way to combine a backup and verify when doing backups > > with dump? > >=20 > > On Windows NT it's just a matter of checking a box. I seem to recall > > the last time I looked into this on UNIX there was no easy way to > > accomplish a verify operation for a backup, but perhaps things have > > changed with FreeBSD 5.3 (?). > >=20 > > I've never had a problem with backup (I backup to DAT tape), but I'd > > feel better if every backup was followed by a verify to make sure the > > tape is readable. >=20 > Actually, if used frequently for backups - such as every day, DAT is > notoriously prone to failure. So, it is a good idea to check dumps > made to DAT. Unfortunately, there is not a reasonable way to=20 > automatically do it. There is a verify, but it cannot work on a > running system, because it compares files (inodes) on the tape back > to the ones on disk. Any changes mean an error, even if it was a > real change in the file between the time it was written and the > time it was read back. >=20 > The only real thing you can do is to read back the tape and look > for a couple of files with fairly high inode numbers for each file > system dumped. If you can read them, you can assume the tape > is readable. I'm not very familiar with tapes, but I think that the dump is written straight out to something like /dev/st0 right? So then wouldn't a second dump of the same snapshot diffed to the tape device be a good for a verify? Position tape at beginning of dump dump / | diff - /dev/st0 Though I don't have much experience with either dump or tapes to verify. >=20 > ////jerry >=20 > >=20 > > --=20 > > Anthony > >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 =20 --vGgW1X5XWziG23Ko Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCM/lQbTXoRwEYo9IRAk8LAJ49uNlXlL2YIyqd/oz+o/H05ZrUBgCfbvg2 fdxJv70AddvJbExI8zqoh+4= =EeLW -----END PGP SIGNATURE----- --vGgW1X5XWziG23Ko--