Backup and restore Course (programmatically)

Backup and restore Course (programmatically)

by Viktor Zimmermann -
Number of replies: 0

Hi,

i wrote some Plugins and i have to backup and restore a course in a php-script.
in version 1.9 my sourcecode looks like

define('BACKUP_SILENTLY', 1);
backup_course_silently(...);
...
import_backup_file_silently(...);

now i want to port my plugin to Moodle 2.4
could someone give me a hint how to do it in very simple way?

i get stuck after reading the backup.php

Average of ratings: -