Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 18:14:27 +0100
From:      Jos Chrispijn <jos@webrz.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Rsync | Push script
Message-ID:  <49A03673.5080907@webrz.net>
In-Reply-To: <20090221091151.99e3b526.wmoran@potentialtech.com>
References:  <49A00445.8080703@webrz.net> <20090221091151.99e3b526.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for the confusion; the problem is in the rsync line:

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

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A03673.5080907>