Re: Rsync backup to tar or gzip archive

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

 



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'
(sends the current directory)
Don't forget to quote the command or the > redirection would
happen locally.

-- 
  Les Mikesell
   lesmikesell@xxxxxxxxx



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

  Powered by Linux