If you are using MySQL, this should work:
echo exec("mysqldump -uUSERNAME -pPASSWORD DATABASE"
There is probably some other way to do it, but that should do what you want. //Daniel
Try executing your command from a console. If it does work there, make sure that the webserver user has the rights execute the mysqldump program. //Daniel
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.