Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Site backup.
Those who didn't write the software might not understand what is going on - it's not obvious to people like me. Some questions that are worth keeping in mind:
what is the difference bewteen the data stored in the /moodledata file and the data stored in the database?
Where is the databased stored?