Course Backup

Course Backup

by Sojiro Sato -
Number of replies: 1
I'm writing PHP page that takes in a course id and makes a backup of it, writing to where ever. This will be used on 1.8 but I'd like it to remain as compatible with future versions as possible. Keeping this in mind, which functions should I use and which should I try to avoid?
Average of ratings: -
In reply to Sojiro Sato

Re: Course Backup

by Sojiro Sato -
Rephrasing the question...

I've copied parts of /backup/backup_execute.html into my script but the course backups are missing things. The functions used in backup_execute depend on a $preferences var which has various settings for what to backup. Where can I get a complete list of $preferences I can use?