Scheduling a Backup

To ensure that your databases and logs are regularly backed up, you can use SQL Enterprise Manager to schedule backups. Scheduled backups can be set to occur one time or on a recurring basis. Recurring backups can be set to occur hourly, daily, weekly, or monthly.

    To schedule a backup
  1. Define the backup as described in Backing Up a Database or Transaction Log, earlier in this chapter.
  2. From the Database Backup/Restore window, choose the Schedule button.

    The Schedule Backup dialog box appears.

  3. If appropriate, change the task name and/or the SQL command.
  4. Set the schedule.
  5. Choose OK.
    To set a recurring backup schedule
  1. Open the Schedule Backup dialog box as described in the previous procedure, select the Recurring option, and choose the Change button.

    The Task Schedule dialog box appears.

  2. Set a frequency.
  3. Under Daily Frequency, specify the frequency with which the task will occur.

    On days that the backup runs, the time(s) it runs will run based on this setting. This can be either once a day at a specified time, or repeated at a specified interval within a specified range of hours.

  4. Under Duration, set a start date and an end date.
  5. Choose OK.

    The recurring schedule is set. The Schedule Backup dialog box returns.

You can also schedule a backup from the Task Scheduling window. For more information, see Chapter 16, Scheduling Tasks. Also see Monitoring, Managing or Canceling a Scheduled Backup, later in this chapter.