by Chris Lewis.
Hello, I am working on a backup problem in Moodle 2.2.4. We have a large amount of courses that are dormant for part of the year but get small changes almost daily. These courses do not have any students enrolled, only faculty members. I would like to skip these courses in the nightly automated backups but cannot seem to find a way to do it in the code (hiding the courses is not an option). I am working on /backup/util/helper/backup_cron_helper.class.php and adding a check in the foreach (around line 117) to set the skipped flag to true on the courses that I do not want backed up. The problem here is that this results in a completely failed automated backup. I am wondering if I am looking in the wrong area. Any thoughts or ideas?