Antwort: BACKUP command & external script.

2001-02-09 Thread alexander . skwar
On 09.02.2001 11:35:27 T. Stephen Dachtera wrote: > I am wondering, if it is possible to use MySQL and create a shell script to > backup tables from a database on a cron? If anyone has an idea if this is > possible, and how I might go about it, it would be much appreciated! Create a cron job

Re: BACKUP command & external script.

2001-02-09 Thread Jonas Björklund
My script backuping up alla databases which is in my datadir. It's works for me. #!/bin/sh USER=root PASSWORD=somepassword BACKUPTYPE=daily if [ -x $BACKUPTYPE ] then echo "$0 " exit 0 fi for i in `ls /var/mysql|grep -E -v ".pid|.err"` ; do DB=$i ; DATE=$BACKUPTYPE ; r

BACKUP command & external script.

2001-02-09 Thread T. Stephen Dachtera
I am wondering, if it is possible to use MySQL and create a shell script to backup tables from a database on a cron? If anyone has an idea if this is possible, and how I might go about it, it would be much appreciated! Thank You - Tim -- Tim Dachtera - [EMAIL