I am trying to figure out a way to preform a mysqldump command via a webpage. Does anyone know of any modules that might help?
At the moment I am running into permission problems when creating the output file as the www-data user doesn't have rights to write the file. Does anyone have a secure, trick for passing a parameter to make the www-data have the permissions? I was thinking of invoking the "su" command with a command line and password but I am unsure if this is the way to go.
Does anyone have any suggestions?