Backup and restore

Including all aspects of backup and restore, and course reset.

Documentation: Backup and Backup and restore FAQ
Forum moderator: Emma Richardson

Before starting a new discussion topic, please check the Backup and restore FAQ and try a forum search.


DiscussionStarted byRepliesLast post
Possible to Backup a Course Removing Questions/Categories? 1 Jon Fila
Exclude legacy files from a backup 1 Jon Fila
MIgrating moodle using course backup/restore, then changing domain name 1 Lawrence N
How to import a course correctly 2 Karen Marshall
backup with uer data 1 Helen Foster
Restoring course backup in ZIP format from URL 4 Jairo Andrés Franco
Restore a Backup Keeping User Attempts 4 Colin Fraser
Merging two databases for users, grades etc into one 1 Rob Skeet
Migrating a course manually without mbz moodle backup 8 Peter Kowski
Scripted (Automated) Bulk Backup and Restore in 2.3 8 Ignacio Villagran
Import courses from MNet peers - Developing Addon 0 Asaf Ohaion
Moodle 2.3 Error - Error writing to database when backing up a course 10 Eric Kuang
No images when I restore course 2 andy emerine
Delete the backup files of the teachers 2 erika alarcon
Course Backup Errors (fileinfo extension and cannot_finish_ui_if_not_setting_ui) 2 Rich Solomon
PHP Error message - HELP! 2 Colin Fraser
course restore failed from 1.9.12 to 2.4.1+ 7 Emma Richardson
Delete a backup file with no permission in moodle/restore:uploadfile 0 erika alarcon
Batch backup and restore (Moodle 2.3) 1 Neobe Velis
Course backup not working 2 Visvanath Ratnaweera
Overwriting a broken course restore - no legacy repository available 2 Hanaa Aboushahla
Backup and Restor 1.96 to 2.3 does"t show users 9 Ken Task
restoring course with user data 2 Jason [Moodle Enthusiast]
Is there a simple way to download every course document? 6 Randy Thornton
Automated course backup "Save to" directory 3 Ken Task
Moodle 2.4 won't backup outside of the Moodledata folder 7 Leonard Houx
Share anonymized data 1 Patrick Masson
Pls help understanding Restore debugging message 24 Mary Cooch
Backup will not run with exams selected 0 Annette Powell
limiting destinations on restore 0 john saylor
"Could not restore modules" with Nanogong 3 Yann D.
Restoring a course into 2.3 from 2.4 Course Format Error 2 Ken Task
Is it possible to restore Glossary xml files on their own ? 2 Simon Hall
Backup stopped working after PHP upgrade 0 Victor Balakine
Hacking the Moodle 2.0 database transfer script to convert a Moodle 1.9 site 0 Visvanath Ratnaweera
Automatic Backup stopped working 18 Ken Task
Automatic backup not starting 0 Heather P
Last Access information wrong after restore 0 CoreDev Develop
Restored Course 'cache module information' error 9 Heather Williams
Where do I find the backup-files? 3 Lawrence N
Moodle 2.4.3 green tick - does it mean yes or no? 0 Heather P
course restore fails with Error code: file_invalid_path 0 Heather P
Backup / restore & < > 1 Helen Foster
Common Cartridge 1 Helen Foster
import_course call error: Invalid parameter value detected: Only arrays accepted. 0 Alan Zaitchik
Error restoring backup 1 Denilton Silveira de Oliveira
Restore of course .mbz recover everything 1 Ken Task
Confirm that restore of "non-manual" enrolment methods only works in 2.4+ and above? 2 John Reese
Restoring/Moving huge course(3 gigs) from 1.9 to 2.2 13 Jackie Toth
Backup and restore Course (programmatically) 0 Viktor Zimmermann
cannot enable automatic course backups 3 Doug Moody
Backup Screen Does Not Appear for 1 Course - Moodle 2.4.1 0 Dan O'Reilly
Problem restoring some courses from 1.9+ to 2.3 4 Stephen Liseo
Restore with user's data fails in 2.4+ 5 Ken Task
Need student data but cannot get any data- restore fails bug 1 Lawrence N
Critical failure: Cannot restore course and all backup files lost in restore area 17 Lawrence N
I hope this helps moodle users to locate their moodle 2.x data 0 Lawrence N
Coding error detected, it must be fixed by a programmer: PHP catchable fatal error 0 Terra Graves
2.3.3 - Automated Backups working, but not displaying in Restore section 3 Ceri Richards
Strangely shrinking sql dump after upgrade to 2.4 1 Carol Booth
get all submission files from moodledata 1 Andreas Panagiotopoulos
Moodle 2.4 Windows which user 0 Heather P
Restore never opens all the way 3 John R
I need cron help plz - disk space used up overnight 12 Ken Task
Backup Error 1 Cory Chamberlain
MySQL restores & expanding Moodle Data directory 4 Rob Pare
Broken image and video links 5 Ken Task
Restore courses automatic procedure with cron ? 1 Visvanath Ratnaweera
Restore 1.9 into Moodle2.4 - Database Error 1 Ken Task
[1.9] Cron courses' backup error - categories and questions 0 Eder dos Santos
Duplication Error 1 Simon Bertoli
Error code: cannot_finish_ui_if_not_setting_u STILL...... 2 g k
moodle/backup/restorefile.php?contextid=2 3 mike mattocks
Mass deleting Course Backups 7 JF Bill
Backup lost 2 Lienq Van Rooyen
Can't do manual backup 20 Ernesto Rapetti
backup.php missing 1 Visvanath Ratnaweera
back up fail due to "locked by dependencies" 1 Visvanath Ratnaweera
Automatic backup and restore to other moodle instence 0 chathuri Gunathunga
cannot import activities 6 Gisele Brugger
Automatic backup work once then stop working, why? 14 Mark Jones
Course backup fails on SOME courses 2 Tim Hunt
Can't delete user backup files 8 Mike Hanratty
moodle 2.2 error tryin to restore a course 0 Javier Jauregui
How can I move topic 3 from Course A to become topic 6 of Course B? 2 Trevor Hughes
Moodle 1.9 to 2.4 Course Import Error 4 Benjamin St.Germain
Error when restoring course backup (only one course) 0 Sven Laudel
restore 1.9 backups in 2.2 including user data 19 Ibra Melhem
error: Could not restore modules 33 Yann D.
Problem with enrolled users after database restore, auth/db 1 Fadi Mansour
How do you backup moodle on MSSQL and Server 2008R2 2 Benjamin St.Germain
Error Restoring Moodle 1.9 backup to Moodle 2.4 9 Benjamin St.Germain
Can't enrol users to restored course backup (1.9 to 2.4) 4 Marc Couture
Import / Restore course problem Moodle 2.3 1 Colin Fraser
Restoring a course in moodle 2.2 1 James Watt
restore files don't show up, 404 error 4 Mary Cooch
permisos del dataroot 0 ruddy argenis
Re-using Courses via Backup/Restore or Import 4 Donna Hrynkiw
Moodle 2.2 Restore won't ... erm Restore 2 Dave Emsley
mdl_backup_ids table missing in moodle 1.9.9 7 Anil Karwankar