From owner-freebsd-questions Fri Aug 4 15:16:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay.lppi.com (relay.lppi.com [208.49.169.66]) by hub.freebsd.org (Postfix) with ESMTP id 43CAB37B938 for ; Fri, 4 Aug 2000 15:16:13 -0700 (PDT) (envelope-from lew@lppi.com) Date: Fri, 4 Aug 2000 15:15:59 -0700 (PDT) Message-Id: <200008042215.PAA13937@relay.lppi.com> From: Lew payne To: Plamen Petkov Cc: freebsd-questions@freebsd.org Subject: Re: back up with dump|restore In-Reply-To: <398B3B41.2656E3DD@bgstore.com> References: <398B3B41.2656E3DD@bgstore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver 1.23 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > [weekly] > mount /mnt; cd /mnt; dump -1u -f - /usr | restore -ru -f - > > [daily] > mount /mnt; cd /mnt; dump -u -f - /usr | restore -ru -f - > > Well, am I right, concidering this will keep my second HD a good backup > of my first one? I mean, is it enough, is it safe, is it normal or .. > weird ?? In all my machines, I install two identical drives (EIDE, ATA/66). I configure each with FreeBSD so they're bootable, then to backup >from one drive to the other, I do: mount /dev/wd2a /mnt; cd / ; pax -rwX -pe . /mnt; umount /mnt mount /dev/wd2e /mnt; cd /var; pax -rwX -pe . /mnt; umount /mnt mount /dev/wd2f /mnt; cd /usr; pax -rwX -pe . /mnt; umount /mnt If my primary drive should fail, all I have to do is reboot the machine using the alternate drive. Uhh.. that's after editing fstab on the backup drive to point to the right controller, etc. But I could avoid even that, by not doing a /usr backup. --- Lew Payne Publishing, Inc. Dunn & Bradstreet listed 994 San Antonio Road DUNS # 055037852 Palo Alto, CA 94303 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message