A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Scalable compute services.
Simple object storage.
Tools & Integrations
Automate your infrastructure.
Connect, share and learn
DevOps and development guides
Questions & Answers
Development and systems Q&A
by Justin Ellingwood
How do I get a backup of the database for an instance of Moodle installed on Digital Ocean Droplet?
Thanks Sianios. I had someone else set this up and do not have the database name or password. If you have ideas of how I can retrieve them, I would appreciate hearing about them.
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
Execute the following command from terminal, replace username and database. with yours
```mysqldump -u username -p moodledb > moodledb.sql