Rsync backup to tar or gzip archive
John Summerfied
debian at herakles.homelinux.org
Wed Jan 25 01:06:50 UTC 2006
Les Mikesell wrote:
> On Tue, 2006-01-24 at 16:18, Mikkel L. Ellertson wrote:
>
>>If you just want to
>>create an archive on the remote machine, then use:
>>
>>tar -cf - <some files> | ssh <remote machine> "tar -cf <archive>"
>
>
> You don't need tar on the other end - you just want to save
> the output to a file:
> tar -cf - . | ssh remote_machine 'cat >/path/to/file.tar'
"\ssh" please.
I have an alias set for ssh to expand ssh to "ssh -t" and that destroys
tarballs.
"\ssh" always works.
Howver, this sends everything every time. See my earlier post for a
better way.
--
Cheers
John
-- spambait
1aaaaaaa at computerdatasafe.com.au Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
More information about the fedora-list
mailing list