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.
>   
tar -zcf - /var/backup | ssh backup.homelan.com "( cat > data.info.gz  )"

something similar, probably is possible to avoid the use of cat bat
don't came in mind at the moment
-- 
gentoo-user@gentoo.org mailing list

Reply via email to