I don't know whether you got the answer. The other sub-thread contains a part of the answer. For Moodle Docs might want to ask in the Moodle community sites forum.
Installing and upgrading help
What folders in /moodledata are actually important to backup?
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.