>
> 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-
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
Just a small note which has nothing to do with the
actual rsync problem:
On Sat, 21 Feb 2009 14:40:21 +0100, Jos Chrispijn wrote:
> DATE=`date "+%d%m%y"`
In order to be able to sourt your backups by date,
you could use the form
DATE=`date "+%y%m%d"`
or
DATE=`date "+%Y%m%d"`
On Sat, Feb 21, 2009 at 06:14:27PM +0100, Jos Chrispijn wrote:
> Sorry for the confusion; the problem is in the rsync line:
>
> rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/
>
> Running this line causes rsync to say:
> Unexpected remote arg: r...@10.10.10.50:123
> rsync error: syn
Sorry for the confusion; the problem is in the rsync line:
rsync -avpog /var/db/mysql //r...@10.10.10.50:123/usr/backup/
Running this line causes rsync to say:
Unexpected remote arg: r...@10.10.10.50:123
rsync error: syntax or usage error (code 1) at main.c(1202) [sender=3.0.5]
On the server th
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//r...@10.10.10.
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//r...@10.10.10.50:123/usr/backup/$DATE/
/letc/rc.d/mysql