Moodle/Update: Unterschied zwischen den Versionen
Zeile 6: | Zeile 6: | ||
; Download | ; Download | ||
$ '''wget <nowiki>https://download.moodle.org/download.php/direct/ | $ '''wget <nowiki>https://download.moodle.org/download.php/direct/stable404/moodle-latest-404.tgz</nowiki>''' | ||
=== Datensicherung === | === Datensicherung === |
Version vom 9. Mai 2024, 09:07 Uhr
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/seminareFoxtomDeWeb_$(date -I).tar.gz web