Date: Tue, 12 Dec 2006 17:11:20 +0000 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Backup Message-ID: <457EE2B8.1030900@dial.pipex.com> In-Reply-To: <457EDB44.5010808@mac.com> References: <20061212150519.65264.qmail@web52409.mail.yahoo.com> <457EDB44.5010808@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter A. Giessel wrote: >On 2006/12/12 6:05, probsd org seems to have typed: > >> dump -L -0f - / | ssh -C login@other-freebsd-server "cat > /usr/home/login/root.dump >> > >The handbook also suggests something to the effect of: >/sbin/dump -0uaL -f - / | gzip -2 | ssh login@other-freebsd-server dd >of=/www/dumpdir/dump-root.gz > If you want to offload the gzip to the other server (if it's faster, for example) then /sbin/dump -0uaL -f - / | ssh login@other-freebsd-server "gzip -9 > /usr/home/login/root.dump" would also fly. Obviously gzip compression can be tweaked as you see fit, but personally I've never found any reason to use anything but 9 :-) I did tests with the subtly different cat and dd methods of naming the remote file and found no discernible timing difference. I find it handy to encode the dump level (e.g. .0 .1) in the remote name. --Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?457EE2B8.1030900>