Date: Mon, 19 Aug 2002 17:26:38 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: freebsd-questions@freebsd.org Subject: Dump/restore to New HD over NFS Message-ID: <3.0.5.32.20020819172638.018b29d0@mail.sage-one.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020819172638.018b29d0>