Skip to main content
pdf?stylesheet=default
Blackboard Help

Automated Backup Setup

Manage automated course backups

A course can be saved with some or all of its parts by using the course backup. Typically, site administrators set a schedule of automated course backups for the whole site.

It is best practice to create the backups through Site administration. Although instructors with editing privileges can create backups of course content, backups created through Site administration include user data.


Set up the automated backup

Steps: Administration > Site administration > Courses > Backups

After setting up the backup, backup files of all the courses are created on the server at the time you specified. Once the backup is complete, Moodle sends you an email describing the status of the backup.

More on backup status

You can also find the most recent execution log of scheduled course backups in Site administration, Reports, and Backups. It displays a list of all course backups made, the time taken to create them, their status, and the next scheduled automated backup execution time.

  1. From Site administration select Courses and Backups.
  2. Select Automated backup setup.
  3. Set the Active option for the Automated backup setup to Enabled.
  4. Select whether or not to Skip Non-Accessed Courses.

    Check the box to skip courses that have not been accessed or received enrollments since the last backup.

  5. Choose the days of the week to perform the automated backups.
  6. Select the time to run the backups in the Execute at drop-downs.

    Schedule backups when your server is not usually busy. Running backups over every course can be processor-intensive. You shouldn't run it when there are a lot of students attempting to access the server. You should always alert users with an announcement on the front page that if they log in during the backup hours, they may notice a decrease in performance.

  7. Select Specified directory for automated backups in the Automated backup storage menu.

    If you don't have a path directory for the archives, the course backups are saved in the courses themselves. If the course is accidentally deleted, the backup is then deleted.If you are saving archives to a single path, create an SFTP script to download the contents of that directory to a local destination for additional safe-keeping.

  8. Type the full path to the directory where you want to save the backup files.  The default is blank. If you’re unsure of the path, please submit a support ticket at Behind the Blackboard (available in English only).

    To access the course backups after they are backed up, please use your Moodlerooms SFTP credentials. If you don't know these, please create a support ticket on Behind the Blackboard.

  9. Select the number of backups you want to keep in the Maximum number of backups kept menu.
  10. Select Never in the Delete Backups older than menu. This gives you control over when the backups are deleted. When it is set to Never, you delete the backups manually.
  11. Select the minimum number of backups you want to keep for each course in the Minimum number of backups kept menu.
  12. Select Use course name in backup filename to turn it on. This makes it easier to identify course backups.
  13. Decide if you want to skip any courses.
    1. Select Skip hidden courses.
    2. Select the number of days since a course has changed in the Skip courses not modified since menu.
    3. Select Skip courses not modified since the last backup.
  14. Select the Automated backup settings you want to include in the backup. Read the information provided with each option carefully to help you decide.
  15. Select Save changes.

Backup status

  • OK: The course backup was successfully completed.
  • Skipped: The course was skipped (not backed up) because the course was unavailable to students and had not been changed in the last 31 days. This is not an error, but a feature designed to save process time.
  • Unfinished: The backup was not finished. This might have happened because the job to execute backups ran out of time or resources. For example, the cron running the backups ran out of time before finishing all the courses waiting. Unfinished jobs should be completed when the next scheduled backups are performed.
  • Error: There were errors in the backup process for the course, so a backup was not completed. For additional details about the error:
    • Check the backup log for the affected course (select the course name in the backups log).

      -OR-

    • Back up the course manually with debugging turned on to see what error message is displayed.