On Wed, 2006-01-25 at 08:55 +0930, Iain Buchanan wrote: > On Tue, 2006-01-24 at 17:23 +0000, Francesco Riosa wrote: > > 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. > [snip] > > > > > > 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 > > wow, I am quite blown away - not only at the fact that I just tried the > above command (and it worked of course) but also that I've found a new > way of doing something that I never thought of before. > > This is one to remember!
In fact, I just added a gentoo wiki entry, under the backup "stub": http://gentoo-wiki.com/HOWTO_Backup#Securely_backing_up_a_filesystem_on_a_remote_machine -- Iain Buchanan <iain at netspace dot net dot au> Humor in the Court: Q: ...any suggestions as to what prevented this from being a murder trial instead of an attempted murder trial? A: The victim lived. -- gentoo-user@gentoo.org mailing list