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

Re: recovery of accidentally deleted courses (v.2.2.6)

$
0
0
by Rosario Carcò.  

Sue, Ken, thanks a lot. This is one point i criticised in the new file-system: admins have a lot more troubles restoring single files. In 1.9 I had plain file backups to tapes every night and automated backup-zip-files of Moodle. So things got twice on my tape, once as plain files and once neatly zipped. And when a teacher missed one file or a whole course was upset, e.g. by copying word-html or mac-html into a course text field, I simply could restore every single file or the whole course.

Now you just described the many steps you have to take, and again, backing up only the database is not enough, you have to do also a file-backup. And as I criticised, if you have not access to the Moodle database, you can not even guess the files that belonged to a course, or even worse, if the file records have gone from the database you have no clue and  can only rely on the trashdir or some other relict in the hashed directory structure. No problem in a worst case scenario where you have to restore OS, File-System, Database, etc. but in normal daily business you won't have to restore everything, you just have teachers missing one file or messing up their course for some reason. And this was easy to handle with in 1.9 (I never had a total system loss in 8 years, but a lot of tiny restores as described.)

So I have to change my backup and restore strategies for Moodle 2. OK. The only next best advice I can give and that I practiced in the last 4 years is NEVER DELETE COURSES. As you never delete records in databases, never delete ANYTHING from a Hard-Disk or from any information system like Moodle. SIMPLY COPY or MOVE it elswhere. I move courses to a TODELETE Category, I make the courses UNAVAILABLE FOR STUDENTS, remove the Teachers so that they can not even find those courses in their myCourses list. In 1.9 this had the advantage, that the courses still got backed up to tape, whilst automatic backup-zip-files were skipped on unavailable courses or courses that were not modified for a certain period. And of course in case of need I could simply reactivate such courses. After 6 months or so, depending on your academic year, I would even consider keeping them 12 months or longer, I really deleted them, relying on the tapes where the backup-zip-files were kept another 12 months after I delete the whole course.

Rosario


Viewing all articles
Browse latest Browse all 6543

Trending Articles



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