PHP and MySql database backup

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have an internet portal based on MySql database and what I need is
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

On 11 Oct 2004 05:55:06 -0700 (more or less), (Konrad) wrote:

Quoted text here. Click to load it

I run this script from cron every night:

$ more
export test2
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">

Site Timeline