From owner-freebsd-questions@FreeBSD.ORG Sat Feb 21 14:11:57 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 A8ECC1065673 for ; Sat, 21 Feb 2009 14:11:57 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 7E6998FC20 for ; Sat, 21 Feb 2009 14:11:57 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (pool-72-95-226-5.pitbpa.ftas.verizon.net [72.95.226.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 0C1CCEBC42; Sat, 21 Feb 2009 09:11:54 -0500 (EST) Date: Sat, 21 Feb 2009 09:11:51 -0500 From: Bill Moran To: Jos Chrispijn Message-Id: <20090221091151.99e3b526.wmoran@potentialtech.com> In-Reply-To: <49A00445.8080703@webrz.net> References: <49A00445.8080703@webrz.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions 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 14:11:57 -0000 Jos Chrispijn wrote: > > 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. Based on your description, I have no idea what your actual problem is. I mean, you're basically saying, "it doesn't work." Which doesn't give folks any way to help you, really. What error message do you see? What's in the logs? You're running the rsync client with -v, which should be pretty verbose, have you tried running the rsync server with the logging amped up? -- Bill Moran http://www.potentialtech.com