From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 15:14: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 AE9E51065691 for ; Thu, 26 Feb 2009 15:14:21 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id EEDD48FC17 for ; Thu, 26 Feb 2009 15:14:20 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LchwG-0006pm-6J; Thu, 26 Feb 2009 15:14:16 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n1QFEFne001741; Thu, 26 Feb 2009 15:14:15 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 20536FCA4DB; Thu, 26 Feb 2009 15:14:10 +0000 (GMT) Date: Thu, 26 Feb 2009 15:14:10 +0000 From: Frank Shute To: Jos Chrispijn Message-ID: <20090226151410.GA94057@melon.esperance-linux.co.uk> Mail-Followup-To: Jos Chrispijn , FreeBSD Questions References: <49A00445.8080703@webrz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49A00445.8080703@webrz.net> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Thu, 26 Feb 2009 15:14:16 +0000 (GMT) Cc: FreeBSD Questions Subject: Re: Rsync | Push script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 15:14:24 -0000 On Sat, Feb 21, 2009 at 02:40:21PM +0100, 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. > > Jos Chrispijn Your script looks like it's got some typos in it (marked above). Don't think that has anything to do with your problems by the sounds of it. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html