Date: Fri, 18 Jul 2008 23:43:54 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Peter Boosten <peter@boosten.org> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: dump and restore Message-ID: <20080718214354.GA77685@slackbox.xs4all.nl> In-Reply-To: <48810956.5090905@boosten.org> References: <48810956.5090905@boosten.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 18, 2008 at 11:21:26PM +0200, Peter Boosten wrote: > Hi all, >=20 > My harddisk was failing and I wanted the data copied to another disk,=20 > but since my original wouldn't boot, I installed a minimal FreeBSD on=20 > the new disk, mounted the old partitions under /mnt and copied from the= =20 > original to the new partitions by using: >=20 > dump 0af - /dev/ad2s1[adef] | restore xf - >=20 > (the partitions adef where done one by one) >=20 > The /usr/ partition was 74Gb, and it took (according to dump 52631=20 > seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine= =20 > on different IDE controllers. >=20 > Is it normal for a backup/restore to take this long? Or could this be=20 > due to my failing disk? When dumping to a file it should not take this long. But in this case it might be that dump is waiting for restore, since the space in a pipe is not infinite.=20 Also, when dumping mounted partitions you should use the -L flag with dump. But in a case like this there is little reason to mount the old partitions.=20 If the failing disk was giving trouble, you might find errors in /var/log/messages.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiBDpoACgkQEnfvsMMhpyVr4gCghPWIr0Ts9Ro4fFzeBFs5/huI vqcAn1MvTroQPKxI0u9Ht34Euq+Enkqj =WdP3 -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080718214354.GA77685>