Skip site navigation (1)Skip section navigation (2)
Date:      11 Jul 2003 15:36:35 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How do you transfer a file.
Message-ID:  <447k6oj1oc.fsf@be-well.ilk.org>
In-Reply-To: <5.2.0.9.0.20030711085656.00a2e410@127.0.0.1>
References:  <20030710210010.GD27617@teddy.fas.com> <5.2.0.9.0.20030711085656.00a2e410@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
Roger Merritt <mcrogerm@stjohn.ac.th> writes:

> This is helpful. I have a similar, but somewhat more complex
> problem. I want to backup the entire /usr/home directory to another
> machine on the network. FTP has not been disabled (yet) and I have
> NcFTP installed. ssh is also set up between the two machines, so scp
> is available. The first machine has very little disk space available,
> so I don't think I can tar the directory tree on the native
> machine. I've also installed the rsync port. I don't have a time
> problem, I could leave the job running overnight.
> 
> Any suggestions or recommendations would be welcome.

Doesn't sound very complex to me.
Something like 
        tar -cf - /path/to/back/up |ssh other-host 'cat > new.tar'
will do it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447k6oj1oc.fsf>