-> 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 20d6f4807ee067d9559ed976d381bc73setting controller status to 100loading backup infoloading controller plansetting controller status to 300applying restore defaultsUnknown setting: questionbanksetting controller status to 400checking plan securitysetting controller status to 600saving controller to dbcalculating controller checksum 73a6d0f7f8728fdd627cc0d1d2c1bd2floading controller from dbsetting controller status to 700saving controller to dbcalculating controller checksum 5be17cdcd3249544e7e6b89fdb2bbbfcloading controller from dbsetting controller status to 800saving controller to dbcalculating controller checksum 6f1e646f74dbee2d2e639b63e24826f6loading controller from dbPHP 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