Well, the reason why I would need this is maybe when the host is down... Ofcourse, its not for x10hosting, but I have another host on which a script is running and I would not want that to be down even when my other host is down.
Your method works just perfectly but the problem would be what if the script was not written by me? I mean, if there are 100's of SQL Inserts and Updates, then I'll have to replicate all the statements everywhere isn't it?
Lol... You're right but then its not practical to edit all that. I mean, I use tonnes of other scripts that werer programmed for the original script. Even if the original author did something like that, I wouldn't expect the whole thing to run flawlessly.
Ok, I have another idea, when I click on a Full Backup, it creates a complete backup of the site. But is there any way I could actually ask it to just create a sql backup so that I can download that alone instead of the whole site everytime?