Backup mysql database in PHP

Asked

Viewed 483 times

0

I need a backup knob that I can select a folder where will save my mysql data.. I found some mysql dump codes but all with save location defined via code and what I really need is that it is possible to choose where to save. Someone give me a light on how I implement this way of saving?

1 answer

1

1º - Save the file to the user’s machine or server?

If it’s on the user’s machine, try generating the dump and providing the download to the customer by removing the dump after the download is complete. deleting a file after user download it

This way, the user will choose where to save the file. If you are on the server side, you can try the following link. PHP File Browser

  • I’ll try tomorrow with the result.. Thanks.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.