How can I download the site database?

Posted January 24, 2020 1.1k views

Our site crashed. We were advised to fix the error and we were thinking of backing up our database.

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.

Submit an Answer
1 answer


In case that you are using MySQL, you could do the following:

  • SSH to your Droplet

  • Then run the following command:

mysqldump -u your_user -p your_database > your_database.sql

This would create an SQL file which you could then download over SFTP.

Hope that this helps!