I have a struts 2 (jsp) web application with MySQL database.
Is it possible to take database backup from jsp/java page?
Is it possible to restore in the same way?
Please give me some tutorials or tips..
My actual need is to give a access to admin to take back up and restore it using gui itself, without accessing MySQL from server.
Thanks in advance..
If you are using mySQl you can do something like
But i believe until you have not any compelling/fancy reason to do this better user command line tools
You can use GUI tool being shipped with MySQL,more tested and more easy to use.
make sure that path
C:/datadumpshould exist or you can provide any other path of your choice.