Rsync | Push script

Jos Chrispijn jos at webrz.net
Sat Feb 21 09:14:26 PST 2009


Sorry for the confusion; the problem is in the rsync line:

rsync -avpog /var/db/mysql //root at 10.10.10.50:123/usr/backup/

Running this line causes rsync to say:
Unexpected remote arg: root at 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?

Jos Chrispijn




More information about the freebsd-questions mailing list