Rsync | Push script
    Frank Shute 
    frank at shute.org.uk
       
    Thu Feb 26 07:14:24 PST 2009
    
    
  
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 at 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 
    
    
More information about the freebsd-questions
mailing list