Re: Best way to transfer data from one FreeBSD machine to another

From: Henrik Herranen (leopold_at_assari.cc.tut.fi)
Date: 07/15/04


Date: 15 Jul 2004 09:28:37 +0300

Jean-Yves Avenard <me@privacy.net> writes:
> Mike Tancsa wrote:
> > I find dump the best way to do it as it keeps permissions, copies
> > special file types and also does not message up the access time of
> > files.

> >Off the top of my head, something like
> >
> >/sbin/dump -0uan -f - /usr/home | /usr/bin/ssh -C -2 -c blowfish
> >rootuser@target.example.com "(cd /usr/home; restore -rf - )"

>
> This look like a really good solution. However it doesn't seem to
> efficiently use the network link as it doesn't compress the data (so it
> seems) is there a way to compress the data as it flows between the two
> servers?

That's what the "-C" option is for in ssh. It works of course only
if compression is allowed for ssh, and with older computers
compression might actually make things slower.

Kind regards,
        - Henrik

-- 
Blib


Relevant Pages