by palak mittal.
Thank you sir for the helpful response. I tried to restore the backup.mbz file using the command :
php restore_backup.php --showdebugging --file=/path/to/moodle-backup/backup-moodle2-course.mbz --categoryid=2
However it terminated with the following error:
== Extracting backup file to: /var/moodledata/temp/backup/48a8c99757e8af83f69b95c85d05bca6 ==
== Preprocessing backup file ==
instantiating restore controller 0049828e7ee4410dab2f04aa529851da
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 bec5cdce1663034d3650f67602ea04ff
loading controller from db
instantiating restore controller 02483828a5862da33f8020ae59e5ffe3
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 4895e59d7024885107c78e27f14072c6
loading controller from db
== Cleaning temp data ==
Default exception handler: Exception - error/restore_not_executable_awaiting_required Debug:
Error code: generalexceptionmessage
line 156 of /admin/cli/restore_backup.php: core\exception\moodle_exception thrown
!!! Exception - error/restore_not_executable_awaiting_required !!!
!!
Error code: generalexceptionmessage !!
!! Stack trace: * line 156 of /admin/cli/restore_backup.php: core\exception\moodle_exception thrown
!!
The backup .mbz file was created from Moodle having Following Environment :
Moodle Version : 4.1.6
PHP Version : 8.0.30
And I am trying to restore the file in the Moodle having Following Environment :
Moodle Version : 4.5.5
PHP Version : 8.3.22
Is this the reason of error. If no , why is my restore failing and how can i fix it ?
php restore_backup.php --showdebugging --file=/path/to/moodle-backup/backup-moodle2-course.mbz --categoryid=2
However it terminated with the following error:
== Extracting backup file to: /var/moodledata/temp/backup/48a8c99757e8af83f69b95c85d05bca6 ==
== Preprocessing backup file ==
instantiating restore controller 0049828e7ee4410dab2f04aa529851da
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 bec5cdce1663034d3650f67602ea04ff
loading controller from db
instantiating restore controller 02483828a5862da33f8020ae59e5ffe3
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 4895e59d7024885107c78e27f14072c6
loading controller from db
== Cleaning temp data ==
Default exception handler: Exception - error/restore_not_executable_awaiting_required Debug:
Error code: generalexceptionmessage
line 156 of /admin/cli/restore_backup.php: core\exception\moodle_exception thrown
!!! Exception - error/restore_not_executable_awaiting_required !!!
!!
Error code: generalexceptionmessage !!
!! Stack trace: * line 156 of /admin/cli/restore_backup.php: core\exception\moodle_exception thrown
!!
The backup .mbz file was created from Moodle having Following Environment :
Moodle Version : 4.1.6
PHP Version : 8.0.30
And I am trying to restore the file in the Moodle having Following Environment :
Moodle Version : 4.5.5
PHP Version : 8.3.22
Is this the reason of error. If no , why is my restore failing and how can i fix it ?