mysqldump backup database using php

by Prakash 2013-07-22 16:23:13

We can take database backup using php script programmatically as follows :



exec('mysqldump --user=... --password=... --host=localhost dbname > dbname.sql');
?>

Tagged in:

509
like
0
dislike
0
mail
flag

You must LOGIN to add comments