From owner-freebsd-questions@FreeBSD.ORG Sat Jul 19 02:07:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F4AF1065679 for ; Sat, 19 Jul 2008 02:07:25 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id F1F328FC21 for ; Sat, 19 Jul 2008 02:07:24 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYEAOfogEh5LQ2Y/2dsb2JhbACBWq4O X-IronPort-AV: E=Sophos;i="4.31,214,1215354600"; d="scan'208";a="152753337" Received: from ppp121-45-13-152.lns10.adl2.internode.on.net (HELO alpha.home) ([121.45.13.152]) by ipmail01.adl6.internode.on.net with ESMTP; 19 Jul 2008 11:37:22 +0930 From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Sat, 19 Jul 2008 11:37:21 +0930 User-Agent: KMail/1.8 References: <48810956.5090905@boosten.org> In-Reply-To: <48810956.5090905@boosten.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807191137.21771.malcolm.kay@internode.on.net> Cc: Peter Boosten Subject: Re: dump and restore 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: Sat, 19 Jul 2008 02:07:25 -0000 On Sat, 19 Jul 2008 06:51 am, 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. > The time for dump/restore normally depends more on the occupancy of the partition than its actual size. This is one reason why we avoid using dd for this purpose as we must then copy the entire 74Gb rather than just that used. > Is it normal for a backup/restore to take this long? Or could > this be due to my failing disk? > > Peter Malcolm