Re: Rsync backup to tar or gzip archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux