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
error/moodle/dmlwriteexception 0 kadir kılıç
Course Restore did not update video links 0 Lina El Sadek
Automated Course Backups Directly to Cloud Storage 3 Ken Task
Moodle course restore 1 Joseph Diarte
Automated Backup Database Table 4 Ken Task
Migrating active courses and users from Moodle 2.3.4 to 3.3 4 Ken Task
Course restore to localhost hangs 17 Ken Task
Error in Backup Logs 1 Séverin Terrier
recover deleted assessment activity with student data. 0 Corrie Emery
Restore course to new install - Files not found 2 Andrew Normore
Security copy moodle2 course eating lots of space 3 Dan Marsden
Error writing in database during course restoring 0 Павел Ломов
HELP: Backup an unreleated course is restoring previous activities in other courses! 15 Ken Task
Programmatic backup and restore 21 Ranil Peiris
Lost backup 2 Paul McCarthy
Restoring a course with a SCORM package 1 Emma Richardson
Contradiction in FAQ and Documentation wrt to automated backups 0 Bernhard Weichel
need help with automated backup - some courses are not backed up 0 Bernhard Weichel
restore unknown context mapping 2 Emma Richardson
Deleted question bank questions and categories should go to the course recycle bin 0 Urpo Karhula
"cannotfindassignablerole" warning when restoring backup without any user 2 Susana L.
Recover course from partially working Moodle 8 Philippe Decloitre
Problem with course start date at restore course 2 Sergio Comerón Sánchez-Paniagua
'Save to' field not working in Automated backup setup 3 Tony H
Backing up and restoring course eliminates gradebook categories and items 6 Blair F.
Advice on mass deleting backup files 3 Ken Task
backup hashfile not moving to trashdir 5 Ehsan Anwar
course backups 0 Fabienne Neveu
Can not restore a course [error/setting_by_name_not_found] 13 Nadav Kavalerchik
How can I restore courses to a new Moodle installation and a year old data backup not made with Moodle? 1 Visvanath Ratnaweera
The file you tried to upload is too large for the server to process. 4 John Jackson
Manual vs Auto File Size 0 Blair F.
Deploying database changes: dev --> test --> prod 14 Emma Richardson
Increasing space in disk in moodledata/temp/backup 2 Séverin Terrier
Importing D2L Course to Moodle 2 Lori Wendt
Backups fail: 500 Internal Server Error... Help! 15 Travis Mitchell
Issue with exporting (or importing IMSCC) 1 Helen Foster
Moodle course restore error 1 Emma Richardson
Work Downloads in Blank after Backup 0 Claudia Taveira
Backup created, moved to course but not working 0 Paul Ritchings
Bug - restore defaults nove working 0 Zvonko Martinović
Download mdl_files table via url 5 Emma Richardson
Large course backup will not restore 1 Ken Task
Restoring Moodle 1.9 course into 3.0 8 Mary Cooch
controller stops at 100 0 Bernat Martinez
Backup all codes'files 1 Emma Richardson
restore backups fails with setting_by_name_not_found 18 Séverin Terrier
Backup Error 1 Kodden Tech
recovery of accidentally deleted courses (v.2.2.6) 20 Pablo Barroso
Moodle 3.3 Restore course 2 Emma Richardson
Course Backup / Restore - Compatibility between Moodle versions 3 Matteo Scaramuccia
Migrating 2 James Steerpike
Can not restore course: error/setting_by_name_not_found 0 Eseosa I
Course backup will not restore 0 Rusty Hatchett
Timestamp after moving files to another server 2 Bente Olsen
Error reading from Database during course restore (dmlreadexception) in Moodle 3.3+ 0 Leon Schröder
Error "forum_user_enrolled() cannot be used any more" occurred during course restoration 1 Helen Foster
Error connecting to the server 3 William Winans
Import fails due to "Default exception handler: Can not find data record in database table files_reference." 5 Rebecca Trynes
The issue that disrupted all the plans! DISAPPOINTED! 1 Emma Richardson
Specifying location to save backup files 3 Ken Task
Restoring Course with Deleted Users 11 Séverin Terrier
Duplicate entry '1' for key 'PRIMARY' Restoring backup 0 Matias Eduardo Bordone Carranza
Course import fails 4 Emma Richardson
Course import fails 0 tamas erdelyi
how to restore same activity to many courses at once 6 Greg Rudl
My restore file is about 1 GB and can't upload 7 Simon Fraser
Backup test environment and restore to production environment 1 Emma Richardson
How to enable 'keeptempdirectoriesonbackup'? 6 Salim Al Waili
migrate to a new server using restore doesn't bring users 9 Ken Task
Backup Error processing archive file 1 Ken Task
Error Creating Backup - Moodle 3.2+ 1 Ken Task
How to restore all the courses I have backuped ? 5 Ken Task
IMS Common Cartridge Backup Fails 5 Angel Vander Steeg
I can't restore/find automated backups. 10 Ahmad ElGazzaz
PHP 7 64bit Restore issues 2 Ken Task
Issue in restoring course 1 Emma Richardson
Error error/cannot_finish_ui_if_not_setting_ui 2 Mary Evans
Restoring a backup gives an error Duplicate entry 'xxxxx' for key 'mdl_quizatte_uni_uix' 1 Emma Richardson
Change maximum number of backups kept!!! 9 Ken Task
Backup course by section via CLI 4 Carlo Ditan
Trying to restore user from backup file will cause conflict - solution 0 Susan Fleming
Course Restore on 3.2.1+ - Error Processing Archive File 6 Yogesh Nahar
Restore process just spins 2 Reed Sorensen
Problem with restore process 7 Ken Task
Using a moodle course on my own PC 3 ben reynolds
Backup 1 Quiz with users 1 Antoni Bertran Bellido
upload date for restored files 3 m question
Backup in a version 2.5.2 and restore in a version 3.1.2 3 Ken Task
Restoring a course...blank page 1 Jan Combrink
problem in start date of restored course 0 m question
Files table shows lots of backup.mbz files - I want them gone! 4 Ken Task
Backup and file extensions 9 Ken Task
moodle course backup 1 Stuart Mealor
cli backup.php: Backup completed, BUT the new file is NOT listed in the backup area of the given course 0 Krzys Mro
Update Forum Post / Restore 6 Helson C
Backup Moodle Site Without User Data? 5 Emma Richardson
Greedy time consuming backups 11 Bente Olsen
Legacy course files deleted in backup 4 Ken Task
msqldump from commandline 18 Bente Olsen