On Sat, Feb 21, 2009 at 06:14:27PM +0100, Jos Chrispijn wrote:
> Sorry for the confusion; the problem is in the rsync line:
> 
> rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/
> 
> Running this line causes rsync to say:
> Unexpected remote arg: r...@10.10.10.50:123
> rsync error: syntax or usage error (code 1) at main.c(1202) [sender=3.0.5]
> 
> On the server that I use this push script, I want to connect as root
> to the backup server; thru port 123 (can be any port). With rsync
> running I can't get this to work. Can someone tell me what I do wrong
> here?

You got the syntax for the rsync command wrong. Either remove the '//' in
front of the remote address or use 'rsync://'. See the rsync(1) manual page.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpL5uR37bpx6.pgp
Description: PGP signature

Reply via email to