[TriLUG] FTP as a stream endpoint

Steven Blanchard sgblanch at gmail.com
Fri Oct 7 15:45:20 EDT 2005


This is off the top of my head, so the syntax may not be exact. This assumes
shell access on the remote system.

tar -cj /some_path/to_backup | ssh user at host dd of=out.tar.bz2

~Steven

On 10/7/05, Brian Henning <brian at strutmasters.com> wrote:
>
> Hi Y'all,
> The subject may be a bad choice of words, but here's what I want to
> accomplish, in pseudo-shell code:
>
> tar -cj /some_path/to_backup > ftp user:pass at server put some_file
>
> In English, I want the stdout from tar to go across an ftp link as a PUT
> to a file on the ftp server...
>
> Or an SCP transfer (instead of FTP) would be fine too.
>
> This seems so simple, it probably is and I feel somewhat foolish
> asking.. Just have little time to go scouring, if someone can provide
> an answer, or pointer, more quickly. :-)
>
> Rock on,
> ~Brian
>
>
> --
> ----------------
> Brian A. Henning
> strutmasters.com <http://strutmasters.com>
> 336.597.2397x238
> ----------------
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



More information about the TriLUG mailing list