Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Recover SQL database with directories only
Somehow my DO backups of my working were all corrupt – I had to revert from a backup and none of them would complete. Not looking for reason why now.
Using DO’s tools, I was able to boot a generic instance with the backup as a drive. I was able to go to the MySQL folder and download all the directories of all my databases. But, I can find no way to get them, or one of them, into a new instances database, which requires a .sql file to import.
Any bright ideas to get these directories into the form that I can import them please? Thank you.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×