Moodle/Update: Unterschied zwischen den Versionen
Zeile 18: | Zeile 18: | ||
$ '''mysqldump --user=''$databaseUserName'' --password=''$databasePassword'' ''$databaseName'' > backup/''$databaseName''_$(date -I).sql''' | $ '''mysqldump --user=''$databaseUserName'' --password=''$databasePassword'' ''$databaseName'' > backup/''$databaseName''_$(date -I).sql''' | ||
# '''mysqldump c1moodleFoxtomDe > backup/c1moodleFoxtomDe_$(date -I).sql''' | |||
==== Dateisystem ==== | ==== Dateisystem ==== |
Version vom 10. Juni 2024, 13:29 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/seminareFoxtomDe_$(date -I).tar.gz moodle