Moodle Database Backup download

January 15, 2015 792 views

How do I get a backup of the database for an instance of Moodle installed on Digital Ocean Droplet?

1 comment
  • 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.

1 Answer

Execute the following command from terminal, replace username and database. with yours
```mysqldump -u username -p moodledb > moodledb.sql

Have another answer? Share your knowledge.