dirroot . '/backup/util/includes/backup_includes.php'); $id = $_GET["id"]; $course = get_course($id); $replicationconfig = get_config('local_replication'); $directory = $replicationconfig->directory; $context = context_course::instance($id);