This script is designed to back up all Moodle files, data, and the database (in this case, MariaDB).
- A bash shell.
To have a full backup of your Moodle, follow these steps:
- Download the script on your Moodle server.
- Run the script followed by your Moodle directory, example
moodle_backup.sh /var/www/moodle
.
We welcome contributions from other developers! To contribute to Moodle Backup Script, follow these steps:
- Fork this repository.
- Create a branch.
- Make your changes and commit them.
- Push to the original branch.
- Create the pull request.
This script is based on the Devlionco's GitHub and has been modified.