Hi
i want to know how to make php script that backup my database.
Thanks
PHP + MySql
Moderator: General Moderators
-
alexmaster_2004
- Forum Commoner
- Posts: 35
- Joined: Wed Sep 14, 2005 8:44 am
Hi
No i want to do the backup process from a php script .
i have get to what seemed a solution but i don't know if it will
run or not.
i used exec()
to execute the following command:
exec("/usr/bin/mysqldump --user USER --password=PASS DATABASENAME> /PATHTOSAVE/BACKUP.SQL");
but i didn't get anything and don't know if the fuction had executed or not.
i hope anyone could help
Thanks
No i want to do the backup process from a php script .
i have get to what seemed a solution but i don't know if it will
run or not.
i used exec()
to execute the following command:
exec("/usr/bin/mysqldump --user USER --password=PASS DATABASENAME> /PATHTOSAVE/BACKUP.SQL");
but i didn't get anything and don't know if the fuction had executed or not.
i hope anyone could help
Thanks