problems making a daily backup via rsync.
mail at xa.bi
Tue Feb 22 03:41:35 MST 2011
thanks for your answer, but I can't run rsync as ad daemon on the machine. What it's amazing is error happens always in the same dir, and I have no problem with other ones. Any other possible solution?
Why other directories are syncing but this one? Why running the command from the command line (not from the cron) it works?
El 22/02/2011, a las 11:35, Paul Slootman escribió:
> On Tue 22 Feb 2011, Xabi Vazquez wrote:
>> [Tue Feb 22 02:51:34 CET 2011] /usr/bin/rsync -az --delete --numeric-ids --relative --delete-excluded --rsh=/usr/bin/ssh root at server1:/opt/clamav /data/backups/server1
>> ssh: connect to host mx2.ecliente.com port 22: Connection timed out
> ssh itself complains that it can't establish a connection, so rsync
> doesn't really come into it.
> Note that --rsh=/usr/bin/ssh is redundant, ssh has been the default
> "rsh" for a long time.
> I wonder if some firewall somewhere en route may be giving problems.
> If possible you could try running rsync as a daemon on mx2.ecliente.com
> and connecting directly to that; as long as you're not worried about
> eavesdroppers along the way.
More information about the rsync