Sicherungslocation einer aktuellen händischen Moodle-Sicherung
Hallo in die Runde,
wenn ich im Terminal eines Moodle-Servers via
eine Kurssicherung des Kurses 77 durchführe, erhalte ich
Wo wird die Datei erzeugt? In finde ich sie nicht.
Danke für Eure Hilfe
wenn ich im Terminal eines Moodle-Servers via
php /var/www/html/admin/cli/backup.php --courseid=77
eine Kurssicherung des Kurses 77 durchführe, erhalte ich
php /var/www/html/admin/cli/backup.php --courseid=77
== Performing backup... ==
instantiating backup controller f93a2baede7658ccb6762f9e7a122e51
setting controller status to 100
loading controller plan
setting controller status to 300
applying plan defaults
setting controller status to 400
setting file inclusion to
checking plan security
setting controller status to 500
setting controller status to 700
saving controller to db
calculating controller checksum cce318e292e7561a6623cfa17a938ee3
loading controller from db
setting file inclusion to 1
setting controller status to 800
saving controller to db
calculating controller checksum a32a4e95ec08f6670bd5947d846b8eda
loading controller from db
setting controller status to 1000
saving controller to db
Backup completed, the new file is listed in the backup area of the given course
Wo wird die Datei erzeugt? In
/data/moodlesic
Danke für Eure Hilfe
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 672733
Url: https://administrator.de/forum/sicherungslocation-einer-aktuellen-haendischen-moodle-sicherung-672733.html
Ausgedruckt am: 05.05.2025 um 14:05 Uhr
1 Kommentar
RTFM
https://docs.moodle.org/500/en/Course_backup#Backup_via_CLI_for_administ ...
Der User "www-data" muss im angegebenen Zielordner natürlich auch Schreibrechte besitzen!
https://docs.moodle.org/500/en/Course_backup#Backup_via_CLI_for_administ ...
--courseid=INTEGER (Course ID for backup.)
--courseshortname=STRING (Course shortname for backup.)
--destination=STRING (Path where to store backup file. If not set the backup will be stored within the course backup file area.)
-h, --help (Print out this help.)
sudo -u www-data /usr/bin/php /var/www/html/admin/cli/backup.php --courseid=7 --destination=/path/to/your/desired/backupfolder/
Wo wird die Datei erzeugt?
Click the “Files” link in the course's Administration block. Click the “backupdata” folder.