[CentOS] rsync from rescue boot
Ljubomir Ljubojevic
office at plnet.rs
Tue Jan 31 21:14:05 UTC 2012
On 01/31/2012 09:47 PM, Les Mikesell wrote:
> No, I'm trying to have rsync make an outbound connection over ssh from
> the rescue environment and getting what looks like an argument error
> from ssh. Ssh itself works and I can connect to the same target if I
> run it directly, and the exact same rsync command lines work from a
> normal host. Either rsync isn't setting up the remote command right,
> or ssh isn't allowing it and giving a bad error message.
How about something like
tar cvf - . | gzip -c -1 | ssh user at host cat ">" remotefile.gz
to get the filesystem across the ssh?
--
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe
Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
More information about the CentOS
mailing list