Back up the mysql database in PHP

0

I need a backup button so I can select a folder where it will save my mysql data .. I've found some mysql dump codes but all with save location set via code and what I actually need is that it is possible to choose where to save it. Does anyone give me a light of how I implement this way of saving?

    
asked by anonymous 27.10.2016 / 19:16

1 answer

1

1st - Will it save the file on the user's machine or the server?

If it is on the user's machine, try to generate the dump and download it to the client by removing the dump after the download is complete. deleting the file after user download

In this way, the user will choose where to save the file. If it is server side, you can try the following link. PHP File Browser

    
27.10.2016 / 21:02