From owner-freebsd-questions@FreeBSD.ORG Sat Feb 21 17:14:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C7E91065672 for ; Sat, 21 Feb 2009 17:14:26 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id BEFC78FC0C for ; Sat, 21 Feb 2009 17:14:25 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 4E96D509FE for ; Sat, 21 Feb 2009 18:14:25 +0100 (CET) Received: from [10.10.10.71] (unknown [10.10.10.71]) by webrz.xs4all.nl (Postfix) with ESMTP id 324ED508B0 for ; Sat, 21 Feb 2009 18:14:25 +0100 (CET) Message-ID: <49A03673.5080907@webrz.net> Date: Sat, 21 Feb 2009 18:14:27 +0100 From: Jos Chrispijn User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 CC: FreeBSD Questions References: <49A00445.8080703@webrz.net> <20090221091151.99e3b526.wmoran@potentialtech.com> In-Reply-To: <20090221091151.99e3b526.wmoran@potentialtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Subject: Re: Rsync | Push script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 17:14:26 -0000 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