Hi,
In phpmyadmin there is a option were you can save the data from a table in a zipped file. You can then save the file anywhere on the harddrive when the browser asked you what to do with it.
Have somebody done a script to do that?
I don't want to use phpmyadmin since it's very slow and I can't acess it sometimes. The internet provider promised to make it better in time but for the moment it is not working and I need another solution....
Have you seen MySQL backup class
Thanks.
It seems great, but it looks like it's storing the backup-file at the server, but I want it to save it to my harddrive directly - e.g. I want the browser to ask me where to store it and then store it in my computer......
Don't think this class do that....Or?
I use this script http://codewalkers.com/seecode/46.html and get it to email me, or launch a download. It's a building block to a bigger solution.
Just checked the file and found it was different to my first recommendation.
Sarah
Have been trying to get the first code to work, but it gives me this error: "Cannot set time limit in safe mode" . I guess the php at the internet provider runs in safe mode.....
Great. The second choise seems much better. Will take a look at it....Thanks!
Great!
It works.
BUT: It gives me an output in the browser window.....I would like the browser to save the output to a file instead. Do you think this is possible?
Have you been able to choose which table in the database to backup?
I just call
mysqlbackup("localhost","dbname","dbuser","dbpass",$myPath, false);
and it works
however I've got some mods in there and I don't have time to compare the two, although winmerge does make it easy, so I've attached my version
Will take a look at it.
I have tried a lot of things, but still the output is comming into the browser window, but I would like to see the open/save dialog box and then save it to a file....
Anybody??