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

Re: Course backup and Moodle version

$
0
0
by Ken Task.  

I have several sandbox sites and have tested restoring a 4.2.highest backup to a 3.11.highest site.

In attempting to restore a 4.2.highest course backup to a 3.11.highest version, the error below appeared while in first step of restore ... backup details.

 
Invalid get_string() identifier: 'rootsettingxapistate' or component 'backup'. Perhaps you are missing $string['rootsettingxapistate'] = ''; in lang/en/backup.php?

    line 353 of /lib/classes/string_manager_standard.php: call to debugging()
    line 7336 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
    line 164 of /backup/util/ui/renderer.php: call to get_string()
    line 384 of /backup/util/ui/restore_ui_stage.class.php: call to core_backup_renderer->backup_details()
    line 163 of /backup/restore.php: call to restore_ui_stage_confirm->display()


After stepping through each screen of restore routine, just before the restore process to begin, this notice:

This backup file has been created with Moodle 4.2.1+ (Build: 20230728) (2023042401.08) and it's newer than your currently installed Moodle 3.11.15+ (Build: 20230616) (2021051715.01). This could cause some inconsistencies because backwards compatibility of backup files cannot be guaranteed.

Restore role mappings:
student to student

It did restore!!!! (yes, I am surprised!)

BUT ... the course I was restoring was a no user backup and contained only links to mp4 videos and .txt files.  Other modules may not work!

Best of luck to ya!
'SoS', Ken




Viewing all articles
Browse latest Browse all 6815

Trending Articles



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