Moodle/Update
Moodle Update - Software-Aktualisierung durchführen
Vorbereitung
- Version
- Download
$ wget https://download.moodle.org/download.php/direct/stable404/moodle-latest-404.tgz
Datensicherung
Konfiguration ermitteln
$ grep '$CFG->db' moodle/config.php $CFG->dbname = 'databaseName'; $CFG->dbuser = 'databaseUserName'; $CFG->dbpass = 'databasePassword';
Datenbank
$ mysqldump --user=$databaseUserName --password=$databasePassword $databaseName > backup/$databaseName_$(date -I).sql
$ mysqldump c1moodleFoxtomDe > backup/c1moodleFoxtomDe_$(date -I).sql
Dateisystem
$ tar -czf ../backup/seminareFoxtomDe_$(date -I).tar.gz moodle