Date: Tue, 12 Dec 2006 07:05:18 -0800 (PST) From: probsd org <probsdorg@yahoo.com> To: freebsd-questions@freebsd.org Subject: RE: FreeBSD Backup Message-ID: <20061212150519.65264.qmail@web52409.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
This is assuming you have another account on another freebsd/linux box with a significant amount of space. Works great on a live filesystem. I use /, /var, /tmp, and /usr as examples. dump -L -0f - /usr | ssh -C login@other-freebsd-server "cat > /usr/home/login/usr.dump" dump -L -0f - /tmp | ssh -C login@other-freebsd-server "cat > /usr/home/login/tmp.dump" dump -L -0f - /var | ssh -C login@other-freebsd-server "cat > /usr/home/login/var.dump" dump -L -0f - / | ssh -C login@other-freebsd-server "cat > /usr/home/login/root.dump" Then to restore: cd /usr ; ssh -C login@other-freebsd-server "cat /usr/home/login/usr.dump" | restore -rf - cd / ; ssh -C login@other-freebsd-server "cat /usr/home/login/root.dump" | restore -rf - cd /var ; ssh -C login@other-freebsd-server "cat /usr/home/login/var.dump" | restore -rf - cd /tmp ; ssh -C login@other-freebsd-server "cat /usr/home/login/tmp.dump" | restore -rf - michael --------------------------------- Want to start your own business? Learn how on Yahoo! Small Business.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061212150519.65264.qmail>