On Jan 24, 2006, at 10:57 AM, Jeff wrote:
Hey guys.
I've got this big fat backup server with no space left on the hard
drive
to store a tar file. I'd like to pipe a tar through ssh, but not sure
what the command would be. Something to the effect of:
# cat /var/backup | ssh backup.homelan.com 'tar data.info.gz'
So that, the data is actually being sent over ssh, and then
archived on
the destination machine.
you have a tar file you want transferred, or a directory called
backup? if it's a directory, i'd (from the target machine) ssh
sourcemachine "tar /var/backup/* -" > data.info.gz
see the very long discussion we had on this list about this a few
months ago.
Help!
:-)
--
Luke Skywalker:
What a piece of junk!
Han Solo:
She'll make point five past lightspeed. She may
not look like much but she's got it where it counts,
kid. I've made a lot of special modifications myself.
--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list