From owner-freebsd-questions@FreeBSD.ORG Sat Feb 21 13:40:21 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 CDD551065672 for ; Sat, 21 Feb 2009 13:40:21 +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 3FAC28FC16 for ; Sat, 21 Feb 2009 13:40:21 +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 63DDA509FE for ; Sat, 21 Feb 2009 14:40:20 +0100 (CET) Received: from [10.10.10.71] (unknown [10.10.10.71]) by webrz.xs4all.nl (Postfix) with ESMTP id 47A92508B0 for ; Sat, 21 Feb 2009 14:40:20 +0100 (CET) Message-ID: <49A00445.8080703@webrz.net> Date: Sat, 21 Feb 2009 14:40:21 +0100 From: Jos Chrispijn User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Subject: 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 13:40:22 -0000 Just having made a backup script that should take care of nocturnal backup of my mySQL data from one server to my backup server. cd /backup DATE=`date "+%d%m%y"` DIR=backup.$DATE /letc/rc.d/mysql-server stop rsync -avpog /var/db/mysql //root@10.10.10.50:123/usr/backup/$DATE/ /letc/rc.d/mysql-server start It goes wrong when I run the rsync line; I run my backup thru port 123 (can be any portnumber). 10.10.10.50 is backup server on which I want to logon as root; during script run I will fill out root password myself. Can someone hint me in the right direction? rsync deamon is running. Jos Chrispijn