Date: Sat, 21 Feb 2009 19:28:49 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Jos Chrispijn <jos@webrz.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Rsync | Push script Message-ID: <20090221182848.GA45695@slackbox.xs4all.nl> In-Reply-To: <49A03673.5080907@webrz.net> References: <49A00445.8080703@webrz.net> <20090221091151.99e3b526.wmoran@potentialtech.com> <49A03673.5080907@webrz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 21, 2009 at 06:14:27PM +0100, Jos Chrispijn wrote: > Sorry for the confusion; the problem is in the rsync line: >=20 > rsync -avpog /var/db/mysql //root@10.10.10.50:123/usr/backup/ >=20 > 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=3D3.0= =2E5] >=20 > 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 --=20 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) --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmgR+AACgkQEnfvsMMhpyUKhQCfRBWSg20bYC4WqViOIJiswsMC PiIAmweDAjLsxnhGKntmxtMlVsbGb9wW =4hpb -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090221182848.GA45695>