Exchange include() with require_once() for great good.
Switch to correct return value of course_copy_schedule_backup_launch_backup().
Add utility functions for constructing the path/filename for a given backup.
Make backuplib-hacks.php work.
Fix bug from reference to non-existent $url object.