On Dec 28, 2005, at 2:04 AM, Alexander Skwar wrote:

Mick schrieb:

Ideally I would like to connect and tar | scp the directories/ files from one
box to another in a single motion.

Use ssh instead:

tar | ssh [EMAIL PROTECTED] "cat > foo.tar"

or ssh sourcebox "tar -czvf - /path/to/be/backed/up" | dd of=target.tar.gz

this will ssh into the other box, create the tar to stdout, pipe stdout from the ssh stream to dd, who's default input is stdin, and output the file.
Alexander Skwar
--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list

Reply via email to