From owner-freebsd-questions Mon Aug 19 15:26:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 801E237B400 for ; Mon, 19 Aug 2002 15:26:41 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC90143E4A for ; Mon, 19 Aug 2002 15:26:40 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g7JMQdS53063 for ; Mon, 19 Aug 2002 17:26:40 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020819172638.018b29d0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 19 Aug 2002 17:26:38 -0500 To: freebsd-questions@freebsd.org From: "Jack L. Stone" Subject: Dump/restore to New HD over NFS Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am running 4.5-RELEASE-p18 I want to dump/restore the full file systems from a busy production box over NFS to a new HD on another machine without stopping or interrupting the box. The "other machine" is only used to house the new HD over the network which will be HD #ad1s1 and prepped with Fdisk & Disk Label before the dump/restore. I would think the procedure below should work. Does anyone see anything wrong or better way than this? Doing Full File Systems dump/restore over NFS /ROOT /sbin/mount host:/ /mnt2 # Mount host machine to dump/restore over NFS /sbin/mount -rw /dev/ad1s1a /mnt # Mount new Hard Disk partition cd /mnt # Change to new partition /sbin/dump -0f - /mnt2/ | /sbin/restore -rf - # Do dump/restore from host to new HD umount /mnt /VAR /sbin/mount host:/var /mnt2 # Mount host machine to dump/restore over NFS /sbin/mount -rw /dev/ad1s1e /mnt # Mount new Hard Disk partition cd /mnt # Change to new partition /sbin/dump -0f - /mnt2/ | /sbin/restore -rf - # Do dump/restore from host to new HD umount /mnt /USR /sbin/mount host:/usr /mnt2 # Mount host machine to dump/restore over NFS /sbin/mount -rw /dev/ad1s1f /mnt # Mount new Hard Disk partition cd /mnt # Change to new partition /sbin/dump -0f - /mnt2/ | /sbin/restore -rf - # Do dump/restore from host to new HD umount /mnt Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message