From owner-freebsd-hackers Wed Mar 10 10:59:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id E78AF15253 for ; Wed, 10 Mar 1999 10:59:14 -0800 (PST) (envelope-from babolo@aaz.links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.1a/8.8.8) id WAA25960; Wed, 10 Mar 1999 22:03:49 +0300 (MSK) (envelope-from babolo) Message-Id: <199903101903.WAA25960@aaz.links.ru> Subject: Re: using dd to make backup of disk? In-Reply-To: <199903101524.KAA01521@cc942873-a.ewndsr1.nj.home.com> from "Crist J. Clark" at "Mar 10, 99 10:24:41 am" To: cjclark@home.com Date: Wed, 10 Mar 1999 22:03:49 +0300 (MSK) Cc: pete@bowtie.nl, hackers@FreeBSD.ORG From: "Aleksandr A.Babaylov" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Crist J. Clark writes: > Peter Weijmarshausen wrote, > > Before you all start mailing me about how stupid it > > is to use dd as a backup mechanism: I use this in > > order to maintain an instant bootable backup. > > So if the primary disk crashes I unplug it, reboot the > > system and I have a working system again. > > Why is, > > # cd backupfs > # dump -0af - origfs | restore -rf - > > Any less 'instant?' And 'dump' is meant to handle live filesystems. dd is much faster. boot codes and disk labels are not copied by dump|restore only ufs (and ext2fs) can be copied by dump|restore -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message