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
[-- Attachment #1 --] On Fri, Jul 18, 2008 at 11:21:26PM +0200, Peter Boosten wrote: > Hi all, > > My harddisk was failing and I wanted the data copied to another disk, > but since my original wouldn't boot, I installed a minimal FreeBSD on > the new disk, mounted the old partitions under /mnt and copied from the > original to the new partitions by using: > > dump 0af - /dev/ad2s1[adef] | restore xf - > > (the partitions adef where done one by one) > > The /usr/ partition was 74Gb, and it took (according to dump 52631 > seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine > on different IDE controllers. > > Is it normal for a backup/restore to take this long? Or could this be > 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. 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. If the failing disk was giving trouble, you might find errors in /var/log/messages. Roland -- 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) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiBDpoACgkQEnfvsMMhpyVr4gCghPWIr0Ts9Ro4fFzeBFs5/huI vqcAn1MvTroQPKxI0u9Ht34Euq+Enkqj =WdP3 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080718214354.GA77685>
