Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP and MySql database backup
October 11, 2004, 10:55 am
rate this thread
to make a database backup , after each actualization of data.
I know how should PHP code look like but I have no idea how to create
SQL command that will backup full database.
I know that this group does't concern MySql directly but lots of PHP
programmers have wide knowledge of MySql.
I will be grateful for help.
Re: PHP and MySql database backup
I run this script from cron every night:
$ more sql-backup.sh
declare test2=`date|cut -c 1-3`
/usr/local/mysql/bin/mysqldump --all-databases -ppassword |gzip >
but I found a lot of php based solutions at