Great script - thanks.
The only problem I have with it is for the end user; when you click the link to run the script, the database is saved to the server fine, but the user is then faced with a blank page. Why is that? It would be useful if there was at least a message saying 'Backup saved to Server' (or whatever custom message I choose) AND a 'Back' link or button. A blank page seems a bit pointless.
Or have I missed something obvious? Should I just be adding a meta refresh/redirect (2 seconds) and my own html message?