Moodle/Update: Unterschied zwischen den Versionen
Zeile 17: | Zeile 17: | ||
==== Datenbank ==== | ==== Datenbank ==== | ||
$ '''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 1. Oktober 2023, 21:26 Uhr
Moodle Update - Software-Aktualisierung durchführen
Vorbereitung
- Version
- Download
$ wget https://download.moodle.org/download.php/direct/stable402/moodle-latest-402.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