...

View Full Version : Backup MySql DB with PHP



phantom007
12-12-2008, 12:09 PM
Hi,

Is there any PHP script available that would take a complete backup of my database?

I have googled for this several times and everytime either I come up with a script that only takes data backup and not the db structure OR a script that uses mysqldump command (since my client is on a shared server, hence he is not authorized to run the execute command on his server),

So was wondering if there is a script that actually takes a complete backup of the db and not using the mysqldump command?


Thanx so much for your help.

mic2100
12-12-2008, 12:31 PM
hi,

http://www.phpclasses.org/browse/package/1560.html

might be worth a look

:)

phantom007
12-12-2008, 12:40 PM
Question:

Q1) Does phpmyadmin uses exec() command when you export backup?

Q2) My client has phpmyadmin running on his hosting account, does that mean he is allowed to use the exec() command?


Thanx

mic2100
12-12-2008, 12:43 PM
u shud be able to run exec() as long as

disable_functions = exec (in php.ini)

isn't set

phantom007
12-15-2008, 06:08 AM
Hey,

Apart from a FULL backup script, I also want a script that takes incremental backups. Any such available?


Sorry for asking too much :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum