I would like to be able to use PHP to create a local copy of my remote DB.
I can use phpMyAdmin to do this manually but would like to be able to execute the backup from a single php file. I have searched high and low to find a solution but without any luck!
Its a command line function, also doesnt that command put the backup on the SQL server ?
Whilst its theroretically possible to access the command through PHP with the exec() or system() functions most hosted solutions I have found block these methods.