Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Course Reuse, Backup/Restore is not working, CLI and GUI Both

$
0
0
von dharmik dharmik.  

-> Yes 329 exists in database but it is big size course so I created new one 335 and tried. I found that if I give name to new backup like "newbackup.mbz" than it is saying destination is not exist, without name just '/var/www/moodledata/temp/backup/' backup works, 

during restore, newely created course works. but if tried with course that I want to copy (329) it gives error..

root@B4E1659:/var/www/html/moodle# php admin/cli/restore_backup.php --file=/var/www/html/moodledata/temp/backup/backup-moodle2-course-329-quests_a-20250727-2043.mbz --categoryid=4
== Extracting backup file to: /var/www/html/moodledata/temp/backup/ee5367f46bfc415f657e4d342e215afa ==
== Preprocessing backup file ==
instantiating restore controller 20d6f4807ee067d9559ed976d381bc73
setting controller status to 100
loading backup info
loading controller plan
setting controller status to 300
applying restore defaults
Unknown setting: questionbank
setting controller status to 400
checking plan security
setting controller status to 600
saving controller to db
calculating controller checksum 73a6d0f7f8728fdd627cc0d1d2c1bd2f
loading controller from db
setting controller status to 700
saving controller to db
calculating controller checksum 5be17cdcd3249544e7e6b89fdb2bbbfc
loading controller from db
setting controller status to 800
saving controller to db
calculating controller checksum 6f1e646f74dbee2d2e639b63e24826f6
loading controller from db
PHP Fatal error:  restore_qtype_combined_plugin::convert_backup_to_questiondata() has #[\Override] attribute, but no matching parent method exists in /var/www/html/moodle/question/type/combined/backup/moodle2/restore_qtype_combined_plugin.class.php on line 48


Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>