Scheduler

From ITOM Practitioner Info
Jump to: navigation, search

Data Protector 10.00 introduced a new web-based Scheduler with refined user interface, simplified and easy-to-use web controls, which provides easier schedule management. You can now set the schedule priority, data protection, recurrence pattern, and fix conflicts using a single Scheduler wizard.

Use the Scheduler to automate various operations such as, backup, media copy, object consolidation and copying, at periodic intervals. The unattended background execution of operations eliminates the need of manually repeating a schedule whenever you want to run an operation.

Important With Data Protector 10.00, the basic scheduler and advanced scheduler are obsoleted, and replaced by a new web-based Scheduler. During upgrade, all your existing schedules are migrated automatically to the new Scheduler.

How to access the Scheduler page?

To access the Scheduler page, click Home Context Menu in the GUI, and then click Scheduler in the left pane.

Use the following links to understand the Scheduler UI, and how to create and edit schedules in Data Protector.

Migrate schedules from previous versions

When you upgrade to Data Protector 10.03, all existing schedules are migrated automatically to the new web-based Scheduler. No manual intervention is required.

Important

  • Migration of schedules may take time depending on number of specifications and schedules configured in the customer environment.
  • Schedules that are scheduled using advanced scheduler will get paused during the time of upgrade. All these paused schedules and schedules of the day prior to migration will get triggered immediately after upgrade.
  • Disable the schedules before starting the upgrade, and enable these schedules after the upgrade is complete.
  • The deleted schedule instances will not be migrated during the upgrade.
  • The missed execution schedules will not be migrated during the upgrade.

During upgrade to Data Protector 10.03, all your existing schedule files are appended with .migrate suffix.

For example, in Data Protector versions prior to 10.03, if you had a backup specification schedule with the name WeeklyBackup, the file name will be modified as WeeklyBackup.migrate during upgrade. If migration fails, the files are not renamed.

If the schedules are not migrated correctly, you may be asked to provide these .migrate files to Support for troubleshooting.

The migrated schedule files are available at the following location:

Specification Type Schedule path
Backup schedules

Windows: Data Protector_program_data\OmniBack\Config\Server\schedules

UNIX: /etc/opt/omni/server/schedules

Media copy schedules

Windows: Data Protector_program_data\OmniBack\Config\Server\amoschedules

UNIX: /etc/opt/omni/server/amoschedules

Integration schedules

Windows: Data Protector_program_data\OmniBack\Config\Server\Barschedules

UNIX: /etc/opt/omni/server/Barschedules

Copy operation schedules

Windows: Data Protector_program_data\OmniBack\Config\Server\copylists\scheduled\schedules

UNIX: /etc/opt/omni/server/copylists/scheduled/schedules

Consolidation operation schedules

Windows: Data Protector_program_data\OmniBack\Config\Server\consolidationlists\scheduled\schedules

UNIX: /etc/opt/omni/server/consolidationlists/scheduled/schedules

Verification operation schedule

Windows: Data Protector_program_data\OmniBack\Config\Server\verificationlists\scheduled\schedules

UNIX: /etc/opt/omni/server/verificationlists/scheduled/schedules

Report group schedules

Windows: Data Protector_program_data\OmniBack\Config\Server\rptschedules

UNIX: /etc/opt/omni/server/rptschedules

Troubleshoot

If schedule migration fails during the upgrade process, you can manually run the following command to successfully migrate the existing schedules to the new Scheduler:

omnidbutil -migrate_schedules

Known Issues

  • The schedules added in previous versions of Data Protector did not have a name attribute associated with them. As a result, after migration, the name for the migrated schedules appears as ... (series of three dots/ellipsis symbol). You can edit these schedule and provide a name to the schedule.
  • During upgrade, yearly schedules configured in earlier versions of Data Protector will not be migrated to Data Protector 10.03 or later.
  • While upgrading to Data Protector 10.03, the start date is not replicated for recurring schedules. Instead, the new Scheduler in Data Protector 10.03, considers the migration date as the start date for the recurring schedules.
  • In versions prior to Data Protector 10.03, if the start date for a recurring schedule of the type Every x Day(s) was not set during the schedule creation; then, while upgrading Data to version 10.03, the new Scheduler considers the migration date as the start date for these recurring schedules.
  • The schedules with -exclude option are not migrated in the new scheduler. You have to recreate these schedules manually.

Schedule options

Based on the specification type, you can set the following schedule options:

  • Backup type: The type of backup, full or incremental.
  • Network load: The network load for the session. Setting this option to Medium or Low reduces the load on the network when running Data Protector. This prevents the data transmission from blocking the network for other users, but increases the time required for the session to complete.
  • Data protection: The time period of protection for the data you backup to prevent the backup from being overwritten.
  • Recurrence pattern: The frequency at which the schedule must run.

Additionally, the new Scheduler includes the following features:

Schedule exclusion during holidays

You can set different holidays by editing the Holidays file that resides in the default Data Protector server configuration directory.

By default, Data Protector runs backups on holidays. If you want to change the default behavior, consider the following example. If the date January 1 is registered as a holiday, Data Protector will not backup on that date. If you have scheduled a full backup for January 1 and an incremental for January 2, Data Protector will skip running the full backup on January 1 but will run the incremental backup scheduled for January 2. The incremental backup will be based on the last full backup.

Consider the following when editing or adding new entries in the Holidays file:

  • The first number in each line indicates the consecutive day of the year. The value is ignored by Data Protector, but it must be set between 0 and 366. You can set it to 0 to indicate that the number does not correspond to the date that follows it.
  • The date is specified as Mmmdd, where Mmm is the three-letter abbreviation of the month and dd is day of month as a number (for example, Jan 1). Note that the month must be specified in English, regardless of your locale.
  • The description of the holiday is optional and is currently not used by Data Protector.

Regardless of the year specified at the top of the file, the holidays specified in the file are always used as-is and must be edited manually if the holidays do not occur on the same dates each year. If you are not using the Holidays option for the Scheduler, you can remove or comment out the entries in the Holidays file to prevent confusion in case of accidental use of a Holidays file that is out of date or has not been customized for your country or company specific requirements.

Use predefined schedules

The Data Protector Scheduler comes with a set of predefined schedules that help in simplifying the schedule configurations. You can modify these schedules later.

Handle schedule conflicts

When scheduling periodic backups, it can happen that the chosen backup start time is already occupied by another scheduled backup in the same backup specification. In that case, Data Protector Schedule wizard shows you that there are scheduling conflicts. You can either redefine the recurrence pattern, or allow the Scheduler to set the schedule on the days when the time slot is still free. Based on the time slot availability, the following values are set as schedule status:

  • Active: The schedule has no conflicts, and will run at the scheduled time.
  • Overlapped: The schedule is in conflicting state, but free time slots are available for the selected date, when the schedule can be run.
  • Inactive: The schedule is in conflicting state, and there are no free slots available on the selected date, when the schedule can run.
  • Disabled: The schedule has explicitly been disabled by the user.

Note If a scheduled backup specification is running, and the same backup specification is triggered again while the current schedule is already running, the second backup specification is ignored, and is not queued to be run later.

For example, if 50 backup specifications are running, and are still in queued state; and in a 15 minute interval, the same backup specifications are triggered again, the new triggers are ignored.

Prioritize schedules

You can set priority for each schedule using the Schedule wizard. In case multiple running sessions request access to a specific device at the same time, the priority determines the order in which the sessions will be queued. The priority can be set for each schedule.

  • You can specify that a scheduled session has the ability to pause other sessions if they are a lower priority than the selected session.

    Note The Schedule priority and Pause lower priority jobs options are not supported in the CMMDB environment.

  • The ability to pause and resume for filesystem, VMware and Oracle Server integration sessions. For other integrations, after being paused, the session restarts.

  • Backup sessions to Disk (B2D) devices cannot be paused.

  • For backup sessions that contain a mix of backup device types, for example, file library and B2D, the pausing functionality will only apply to the non-B2D devices.

  • The Scheduler maintains an internal job queue to manage the priorities. If multiple jobs are sharing the same file library as the target device, the Scheduler will only dispatch one job at a time, and will only dispatch the next one when the prior one completes and frees up the device. The highest priority job will be dispatched first. If multiple jobs have the same priority, then the one with the earliest schedule time will be dispatched first. If they have the same priority and schedule time, then one of them will be picked up randomly and dispatched.

Scheduling and priority example

The following is an example of how Scheduler handles the backup sessions based on priority and pausing.

There are three sessions to be scheduled, where:

  • Job1 has a priority of 2000 with the Pause lower priority jobs option enabled.
  • Job2 has a priority of 4000.
  • Job3 has a priority of 3000 with the Pause lower priority jobs option enabled.
  1. Job2 is currently running.

  2. Schedule Job1 and Job3 for the same time. The Job1 session has the option to pause other sessions enabled. Thus, the Job2 session will be paused in favor of Job1.

  3. Once the Job1 session completes, the Job3 session runs.

    The paused Job2 session will remain paused until it is able to run per the schedule and priority. This session may never get the opportunity to run, if there are other higher priority sessions.

Scheduler user interface

The following image shows the Scheduler UI and the various controls that appear on this page.

Scheduler UI.png

All controls are explained in the table below:

Control Description
Schedule View

Toggle to switch between the Month and Day view:

  • Month: Shows calendar view for the current month, where the number of schedules for each day are listed against each date. The small colored circles that you see with each date are a representation of the type of schedules available for that date. The legend at the bottom of the page shows the type of specification each color denotes. The Month view also displays the holidays for a particular month if a holiday calendar is uploaded in the Data Protector.

    Click a date to view all schedules on the selected date.

  • Day: Lists all schedules for the selected date, including disabled schedules. Click a schedule name in the Day view to view details of a specific schedule. The Day view or the agenda view also displays the holiday, if enabled.
Quick Access

A collection of icons, available for each schedule, which provides shortcuts to commonly used Scheduler operations.

  • Edit: Opens the Schedule wizard, and allows you to modify all settings available for the schedule.
  • Disable Instance: Disables the current instance, for the selected date. If this is a recurring schedule, only the selected instance is disabled. When you disable an instance, the schedule is deleted from that days agenda.
  • Disable Series: Disable all instances for the schedule. If you disable the schedule, the schedule appears in gray color. Disabling a schedule does not impact any currently running schedules.
  • Delete: Deletes the schedule.
Navigation Buttons The Previous and Next navigation buttons that enable you to move the date back and forward, and view the agenda for the selected date.
Filter Options Enables you to filter schedules based on the specification type. To search for a specification schedule, select the specification type and application type, type the specification name, and then select a specification from result list. The search results are displayed based on the specified criteria.
Free-text Search Enables you to run a free text search in Day view. This option is not available in the Month view.
Scheduler Menu The Scheduler menu that gives you an option to create a new schedule. This is a floating button; you can drag and drop the button to the desired location on the scheduler page.
Calendar Displays the calendar. You can select a date in the calendar, and the agenda for that day is displayed.
Day View Lists all schedules for the selected date, including disabled schedules. Click a schedule name in the Day view to view details of a specific schedule.
Schedule Summary Provides a summary of the schedule. For example, you can see the specification name for which the schedule is created, the type of backup (Full/Incremental) that must be performed, and the type of schedule.
Legends Shows the color coding for different types of specifications.

Scheduler tasks

You can perform following tasks using the Scheduler.

Important You cannot reset schedules in the new web-based Scheduler. The reset schedule option was used to clear all the schedule settings for the current year in the specification.

Create a schedule

Complete the following steps to create a schedule.

The steps in this procedure show how to create a schedule for a backup specification. The options available to you in the schedule wizard are based on the types of specification you choose.

  1. In the Context Menu click Home, and then click Scheduler in the left pane. The Scheduler page opens.
  2. Click the Scheduler Menu icon scheduler menu.png in the top-right corner of the Scheduler page, and click the add icon add schedule.png to open the Schedule wizard. The Specification page opens.
  3. Select the type of specification for which you want create a schedule.

    Note To schedule a replication session, configure the object copy specification as Use Replication, and then schedule the copy specification.

    Click Templates if you want to add schedule to an existing template.

    You can then apply this template to a specification from the Backup context. After you apply a template, all schedules with-in the template are activated for the specification.

    Note You cannot use this wizard to schedule a template.

    Click Next. The Type page opens.

  4. Click the type of schedule.

    • Click Custom to create your own schedule.
    • Click Predefined to use one of the predefined schedules available with Data Protector. Select one of the following:
      • daily intensive: Data Protector runs a full backup at midnight and two additional incremental backups at 12:00 (noon) and 18:00 (6 P.M.) every day.
      • daily full: Data Protector runs a full backup every day at 21:00 (9 P.M.).
      • weekly full: Data Protector runs a full backup every Friday and Incr1 backups every day from Monday to Friday at 21:00 (9 P.M.).
      • fortnight full: Data Protector runs a full backup every second Friday. Between these backups, Data Protector runs Incr1 backups every Monday to Thursday, all at 21:00 (9 P.M.).
      • monthly full: Data Protector runs a full backup on the first of every month, an Incr1 backup every week, and an incremental backup every other day.

    Click Next. The Options page opens.

  5. Type a name for your schedule in the Schedule Name text box.

  6. Select the Type of backup, Full or Incremental.
  7. Select the protection level from the Data Protection box. Protection level determines how long the information about the backed up data is kept in the IDB. If there is no catalog protection, you can still restore your data, but you cannot browse for it in the Data Protector GUI. Select from one of the following options.

    • None: Provides no protection.
    • Default: The information about backed up data in the IDB is protected as long as the data is protected.
    • Until: The information in the IDB cannot be overwritten until the specified date. Protection for the information stops at midnight on the chosen day.
    • Days: The information in the IDB cannot be overwritten for the specified number of days.
    • Weeks: The information in the IDB cannot be overwritten for the specified number of weeks.
    • Permanent: The information in the IDB is available permanently.
  8. Enter the priority level in the Priority text box. The priority level is considered in case multiple sessions try to access a device at the same time. In such case, this option determines the order in which the sessions will be queued.

    If a low priority session is running when a high priority session starts queuing, the currently running session is allowed to finish. When more sessions request access to a device with the same priority, any of these sessions might acquire access first.

  9. Specify the Network Load. Setting this option to Medium or Low reduces the load on the network when running Data Protector. This prevents the data transmission from blocking the network for other users but increases the time required for the session to complete.

  10. Turn ON the Pause Lower Priority Jobs option, if the scheduled session must have the ability to pause other lower priority sessions on a busy device. This option is considered when multiple sessions try to access a device at the same time. In this case, the option specifies that the selected session can pause other sessions until it completes. Once this session is complete, the paused sessions will complete.

    Note This functionality is available only for filesystem, VMware and Oracle Server integration sessions. Backup sessions to Disk (B2D) devices cannot be paused. For backup sessions that contain a mix of backup device types, for example, file library and B2D, the pausing functionality will only apply to the non-B2D devices.

  11. By default, the schedule is enabled. Turn OFF the Schedule Enabled option to disable the schedule.
  12. Turn ON the Run on Holidays option if you want the operation to run on holidays. To specify different days as holidays, edit the Holidays file.

  13. Turn ON the Debug option if you want to enable the debug logs for this schedule. Specify the debug file name in the File Name text box. By default, the debug files are stored in the C:\ProgramData\OmniBack\tmp folder. Select the range for debug logs in the From and To text box; the maximum value can be set as 900.

    Click Next. The Recurrence page opens.

  14. Under Recurrence Pattern, specify how often the backups should occur. Select the pattern and frequency from the following options:

    • Once: The schedule runs on the specific date only once. You can select the start date, time zone, and time when the schedule must run.

    • Minute(s): The schedule runs recursively after selected minutes in the specified time range. You can select the schedule frequency from the Every <value> Minute(s) field. The available values are 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 minutes. For example, a recurrence value of 15 Minute(s) results in the schedule running every 15 minutes in the selected time range. You can also select the days on which this schedule must run.

    • Hour(s): The schedule runs recursively after selected hours in the specified time range. You can select the schedule frequency from the Every <value> Hour(s) field. The available values are 1, 2, 3, 4, 6, 8, 12 hours. For example, a recurrence value of 2 Hour(s) results in the schedule running every 2 hours in the selected time range. You can also select the days on which this schedule must run.

    • Day(s): The schedule runs regularly at the specified time. The schedules can be run on a weekday (Monday-Friday) or everyday. You can specify the schedule frequency using the Every <value> Day(s) field. For example, a recurrence value of 4 results in the schedule running every fourth day.

      You can select the start date, time zone, and time when the schedule must run.

    • Week(s): The schedule runs weekly on the specified day. You can specify the schedule frequency using the Every <value> Week(s) field. For example, a recurrence value of 2 results in the schedule running every two weeks on the selected day.

      You can select the start date, time zone, and time when the schedule must run.

    • Month(s): The schedule runs monthly on the specified day of the month. You can select the schedule frequency using the Every <value> month(s) field. The available values are 1, 2, 3, 4, 6, 12 months. For example, a value of 2 results in the schedule running every second month on the selected day. You can also set the schedule on a monthly day. For example, the schedule can be run every 1st Monday of the month. It can also run, for example, every 1st Monday of every two months.

      • Month(s): The schedule runs monthly on the specified day of the month. You can select the schedule frequency using the Every <value> month(s) field. The available values are 1, 2, 3, 4, 6, 12 months. For example, a value of 2 results in the schedule running every second month on the selected day. You can also set the schedule on a monthly day.

        For example:

        • The schedule can be run every 1st Monday of the month.
        • The schedule can be run every 1st Monday of every two months.
        • The schedule can also run on last Sunday of the month.

    You can select the start date, time zone, and time when the schedule must run.

  15. Select the End of Recurrence from one of the following options:

    • No End Date: Select if the backup is to recur indefinitely.
    • End Date: Select if the schedule must end on a specific date. The end date occurs in the same time zone as the start date.

    The End of Recurrence option is not available if you select Once.

  16. Specify the Estimated Duration. The value determines the order in which the schedules are displayed in the Agenda View.

    Click Next. The Summary page opens.

  17. Review all the schedule options. If there are schedule conflicts, the Conflicts Found option is shown as Yes, and you cannot complete the schedule creation task until you perform one of the following:

    • Redefine the schedule recurrence pattern. Click Previous to go back to the Recurrence page.
    • Turn ON the Fill free slots option. This option is available only if free time slots are available for the selected date. If there are no free time slots, you must redefine the schedule recurrence pattern.

    Click Finish to create the schedule.

Edit an existing schedule

Complete the following steps to edit an existing schedule.

Note If you modify any of the following options for a schedule, the schedule is deleted, and a new schedule is created with the new values. This new schedule is moved to the end of the queue, and based on the time slot availability, status is applied.

  • Start Date
  • End Date
  • Time zone
  • Recurrence Pattern
  • Every nth value
  • Holidays

The steps in this procedure show how to edit a schedule for a backup specification. The options available to you in the schedule wizard are based on the types of specification you choose.

  1. In the Context List, click Backup.
  2. In the Scoping Pane, expand Backup Specifications and then expand the appropriate type of backup specification (for example, Filesystem). All saved backup specifications are displayed.
  3. Right-click the appropriate backup specification and click Edit Schedule. The Scheduler page opens. All available schedules for the backup specification are listed in the right pane.
  4. On the Scheduler page, click Edit icon edit icon.png for the schedule, for which you want to change the configurations. The Options page of the Schedule wizard opens.
  5. Update the name for the schedule in the Schedule Name text box.

    Important For schedules that have been migrated from Data Protector versions prior to 10.00, the schedule name appears as ... (series of three dots/ellipsis symbol).

  6. Select the Type of backup, Full or Incremental.
  7. Select the protection level from the Data Protection box. Protection level determines how long the information about the backed up data is kept in the IDB. If there is no catalog protection, you can still restore your data, but you cannot browse for it in the Data Protector GUI. Select from one of the following options.

    • None: Provides no protection.
    • Default: The information about backed up data in the IDB is protected as long as the data is protected.
    • Until: The information in the IDB cannot be overwritten until the specified date. Protection for the information stops at midnight on the chosen day.
    • Days: The information in the IDB cannot be overwritten for the specified number of days.
    • Weeks: The information in the IDB cannot be overwritten for the specified number of weeks.
    • Permanent: The information in the IDB is available permanently.
  8. Enter the priority level in the Priority text box. The priority level is considered in case multiple sessions try to access a device at the same time. In such case, this option determines the order in which the sessions will be queued.

    If a low priority session is running when a high priority session starts queuing, the currently running session is allowed to finish. When more sessions request access to a device with the same priority, any of these sessions might acquire access first.

  9. Specify the Network Load. Setting this option to Medium or Low reduces the load on the network when running Data Protector. This prevents the data transmission from blocking the network for other users but increases the time required for the session to complete.

  10. Turn ON the Pause Lower Priority Jobs option, if the scheduled session must have the ability to pause other lower priority sessions on a busy device. This option is considered when multiple sessions try to access a device at the same time. In this case, the option specifies that the selected session can pause other sessions until it completes. Once this session is complete, the paused sessions will complete.

    Note This functionality is available for filesystem, VMware and Oracle Server integration sessions. Backup sessions to Disk (B2D) devices cannot be paused. For backup sessions that contain a mix of backup device types, for example, file library and B2D, the pausing functionality will only apply to the non-B2D devices.

  11. By default the schedule is turned ON. To disable the schedule, turn OFF the Schedule Enabled option.
  12. Turn ON the Run on Holidays option if you want the operation to run on holidays. By default, Data Protector runs scheduled operations on holidays as well. To specify different days as holidays, edit the Holidays file.

  13. Turn ON the Debug option if you want to enable the debug logs for this schedule. Specify the debug file name in the File Name text box. By default, the debug files are stored in the C:\ProgramData\OmniBack\tmp folder. Select the range for debug logs in the From and To text box; the maximum value can be set as 900.

    Click Next. The Recurrence page opens.

  14. Under Recurrence Pattern, specify how often the backups should occur. Select the pattern and frequency from the following options:

    • Once: The schedule runs on the specific date only once. You can select the start date, time zone, and time when the schedule must run.

    • Minute(s): The schedule runs recursively after selected minutes in the specified time range. You can select the schedule frequency from the Every <value> Minute(s) field. The available values are 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 minutes. For example, a recurrence value of 15 Minute(s) results in the schedule running every 15 minutes in the selected time range. You can also select the days on which this schedule must run.

    • Hour(s): The schedule runs recursively after selected hours in the specified time range. You can select the schedule frequency from the Every <value> Hour(s) field. The available values are 1, 2, 3, 4, 6, 8, 12 hours. For example, a recurrence value of 2 Hour(s) results in the schedule running every 2 hours in the selected time range. You can also select the days on which this schedule must run.

    • Day(s): The schedule runs regularly at the specified time. The schedules can be run on a weekday (Monday-Friday) or everyday. You can specify the schedule frequency using the Every <value> Day(s) field. For example, a recurrence value of 4 results in the schedule running every fourth day.

      You can select the start date, time zone, and time when the schedule must run.

    • Week(s): The schedule runs weekly on the specified day. You can specify the schedule frequency using the Every <value> Week(s) field. For example, a recurrence value of 2 results in the schedule running every two weeks on the selected day.

      You can select the start date, time zone, and time when the schedule must run.

    • Month(s): The schedule runs monthly on the specified day of the month. You can select the schedule frequency using the Every <value> month(s) field. The available values are 1, 2, 3, 4, 6, 12 months. For example, a value of 2 results in the schedule running every second month on the selected day. You can also set the schedule on a monthly day. For example, the schedule can be run every 1st Monday of the month. It can also run, for example, every 1st Monday of every two months.

    You can select the start date, time zone, and time when the schedule must run.

  15. Select the End of Recurrence from one of the following options:

    • No End Date: Select if the backup is to recur indefinitely.
    • End Date: Select if the schedule must end on a specific date. The end date occurs in the same time zone as the start date.

    The End of Recurrence option is not available if you select Once.

  16. Review all the schedule options. If there are schedule conflicts, the Conflicts Found option is shown as Yes, and you cannot complete the schedule creation task until you perform one of the following:

    • Redefine the schedule recurrence pattern. Click Previous to go back to the Recurrence page.
    • Turn ON the Fill free slots option. This option is available only if free time slots are available for the selected date. If there are no free time slots, you must redefine the schedule recurrence pattern.

    Click Finish to save the schedule.

View a schedule

To view details of a specific schedule, click the schedule name in the agenda view.

To view all schedules for that specification, click show all schedule.png icon on the View schedule page. All schedules for that specification are shown in the right pane.

Note that you cannot disable a template schedule.

The View schedule page shows the following details about the schedule:

  • Specification: The specification type for which the schedule is created.
  • Recurrence: The recurrence pattern set for the schedule.
  • Priority: The schedule priority that determines the order in which the schedule will be run.
  • Network Load: The current values set for the load on the network when running Data Protector.
  • Status: The Status parameter shows the following values, based on the time slot availability:
    • Active: The schedule has no conflicts, and will run at the scheduled time.
    • Overlapped: The schedule is in conflicting state, but free time slots are available for the selected date, when the schedule can be run.
    • Inactive: The schedule is in conflicting state, and there are no free slots available on the selected date, when the schedule can run.
    • Disabled: The schedule has explicitly been disabled by the user.

Disable and enable a schedule

By default, the schedule is enabled when added, but you can disable it, leaving the schedule settings intact for later use.

Disabling backup schedules does not influence currently running backup sessions.

The steps in this procedure show how to disable and enable a single or multiple schedules for a backup specification. The options available to you in the schedule wizard are based on the types of specification you choose.

Perform the following steps to disable or enable schedules:

  1. In the Context Menu click Home, and then click Scheduler in the left pane. The Scheduler page opens.
  2. Click the Calendar icon in the top-right corner of the Scheduler page. The calendar is displayed.
  3. Select Day from the Schedule View toggle in the top-left corner of the Scheduler page. The calendar in day view or agenda view is displayed with all the schedules for the day arranged in a gird format.
  4. Select multiple schedules. You can select multiple schedules as below:
    • Select all schedules: Select the check box in the title row of the grid to select all the schedules.
    • Select multiple schedules: Select the check box for each of the schedules. You can select any or all of the schedules.
  5. Complete the following steps:
    • Disable Series: Click Disable Series at the top-right corner of the day view to disable all the selected schedules. The status for each of the selected schedule displays Disabled in the Status column.
    • Enable Series: Click Enable Series at the top-right corner of the day view to re-enable all the selected schedules. The status for each of the selected schedule displays Enabled in the Status column.

Disable and enable schedules on holidays

By default, Data Protector runs schedules on holidays. You can change this behavior by selecting the Holidays option. The backup on holidays is not performed until you deselect this option.

The steps in this procedure show how to enable and disable a schedule for a backup specification on holidays. The options available to you in the schedule wizard are based on the types of specification you choose.

  1. In the Context List, click Backup.
  2. In the Scoping Pane, expand Backup Specifications and then expand the type of backup specification (for example, Filesystem). All saved backup specifications are displayed.
  3. Right-click the backup specification for which you want to disable or enable backup schedule during holidays and, then Edit Schedule. The Scheduler page opens. All schedules available for the backup specification are visible in the right pane.
  4. Click the schedule you want to edit, and then click the Edit schedule icon in the View schedule page. The Schedule wizard opens.
  5. In the Options page, turn OFF the Run on Holidays slider to prevent the operation from being performed on holidays. Turn ON the slider if you want the operation to be performed on holidays.
  6. Click Next. The Recurrence page opens.
  7. Verify the recurrence pattern, and click Next. The Summary page opens.
  8. Review the schedule options, and click Finish.

Set a schedule on a specific date and time

You can schedule your sessions to start automatically on a specific date at a specific time.

The steps in this procedure show how to set a schedule for a backup specification on a specific date and time. The options available to you in the schedule wizard are based on the types of specification you choose.

  1. In the Context List, click Backup.
  2. In the Scoping Pane, expand Backup Specifications and then expand the appropriate type of backup specification (for example, Filesystem). All saved backup specifications are displayed.
  3. Right-click the appropriate backup specification and click Edit Schedule. The Schedule page opens. All available schedules for the backup specification are listed in the right pane.
  4. Click the schedule you want to edit, and then click the Edit schedule icon. The Schedule wizard opens.
  5. Review the settings in the Options page, and click Next. The Recurrence page opens.
  6. Under Recurrence Pattern, select Once, and then specify the start date, time-zone, and the time when the backup must start. You can also specify the backup duration, and click Next.
  7. Review the schedule options in the Summary page, and click Finish.

If you schedule a backup in a time slot that is already occupied by a scheduled backup, the new scheduled backup overrides the previous one.

Set a schedule periodically

Periodic schedules are the schedules that run on timed intervals. For example, you may configure periodic backups so that a full backup is done on Sunday at 3:00 and repeated every two days. The next full backup would be at 3:00 the following Tuesday. Periodic backups simplify backup configuration for regularly scheduled backups.

You can set a periodic schedule while you are creating a new specification type by following the wizard, or you can modify the schedule of an existing specification, as is described in the following procedures.

The steps in these procedure show how to schedule a backup specification periodically. The options available to you in the schedule wizard are based on the types of specification you choose.

Using a predefined backup schedule

The predefined backup schedules can be used to simplify your configuration of filesystem backup specification. You can modify the schedules later.

Complete the following steps:

  1. In the Context List, click Backup.

  2. In the Scoping Pane, expand Backup Specifications, and then expand Filesystem. All saved backup specifications are displayed.

  3. Right-click the appropriate backup specification, and then click Edit Schedule. The Schedule wizard opens.

  4. In the Type page, select Predefined, and then select an appropriate schedule from the list of Predefined Schedules. Select one of the following:

    • daily intensive: Data Protector runs a full backup at midnight and two additional incremental backups at 12:00 (noon) and 18:00 (6 P.M.) every day.
    • daily full: Data Protector runs a full backup every day at 21:00 (9 P.M.).
    • weekly full: Data Protector runs a full backup every Friday and Incr1 backups every day from Monday to Friday at 21:00 (9 P.M.).
    • fortnight full: Data Protector runs a full backup every second Friday. Between these backups, Data Protector runs Incr1 backups every Monday to Thursday, all at 21:00 (9 P.M.).
    • monthly full: Data Protector runs a full backup on the first of every month, an Incr1 backup every week, and an incremental backup every other day.

    Click Next. The Options page opens.

  5. Specify the options in the Options page, and click Next. The Recurrence page opens.

  6. Specify the options in the Recurrence page, and click Next. The Summary page opens.
  7. Review the schedule options, and click Finish.

Configure a recurring schedule

You can create a schedule such that it starts at a specific time and date, and repeats as per the defined pattern. For example, you can schedule a full backup to take place every Friday at 21:00 for the next six months.

Complete the following steps:

  1. In the Context List, click Backup.

  2. In the Scoping Pane, expand Backup Specifications, and then expand the appropriate type of backup specification (for example, Filesystem). All saved backup specifications are displayed.

  3. Right-click the appropriate backup specification, and then click Edit Schedule. The Schedule wizard opens.

  4. In the Type page, select Custom, and click Next. The Options page opens.
  5. In the Schedule Name text box, enter a name for the new schedule. Select a backup type (Full or Incremental; some other backup types are available for specific integrations),backup protection, priority, and network load. Click Next. The Recurrence page opens.
  6. Under Recurrence Pattern, select the pattern and frequency from the following options:
    • Once: The schedule runs on the specific date only once. You can select the start date, time zone, and time when the schedule must run.

    • Minute(s): The schedule runs recursively after selected minutes in the specified time range. You can select the schedule frequency from the Every <value> Minute(s) field. The available values are 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 minutes. For example, a recurrence value of 15 Minute(s) results in the schedule running every 15 minutes in the selected time range. You can also select the days on which this schedule must run.

    • Hour(s): The schedule runs recursively after selected hours in the specified time range. You can select the schedule frequency from the Every <value> Hour(s) field. The available values are 1, 2, 3, 4, 6, 8, 12 hours. For example, a recurrence value of 2 Hour(s) results in the schedule running every 2 hours in the selected time range. You can also select the days on which this schedule must run.

    • Day(s): The schedule runs regularly at the specified time. The schedules can be run on a weekday (Monday-Friday) or everyday. You can specify the schedule frequency using the Every <value> Day(s) field. For example, a recurrence value of 4 results in the schedule running every fourth day.

      You can select the start date, time zone, and time when the schedule must run.

    • Week(s): The schedule runs weekly on the specified day. You can specify the schedule frequency using the Every <value> Week(s) field. For example, a recurrence value of 2 results in the schedule running every two weeks on the selected day.

      You can select the start date, time zone, and time when the schedule must run.

    • Month(s): The schedule runs monthly on the specified day of the month. You can select the schedule frequency using the Every <value> month(s) field. The available values are 1, 2, 3, 4, 6, 12 months. For example, a value of 2 results in the schedule running every second month on the selected day. You can also set the schedule on a monthly day. For example, the schedule can be run every 1st Monday of the month. It can also run, for example, every 1st Monday of every two months.

  7. Specify the range of recurrence from the following options, and click Next.
    • Start: The initial date of the schedule. Specify the date, time-zone, and time when the schedule must start.
    • End of recurrence: The date when the final schedule must run. Select No end date if the schedule must run indefinitely.

    Note If you set the recurring to 2 or more (for example, every 2 weeks on Saturday) without setting the starting date, the first backup may not be scheduled on the first possible date that matches your selection (for example, it will be scheduled on the second Saturday) due to the Data Protector scheduling algorithm.

  8. Review the schedule options in the Summary page, and click Finish.

If there are scheduling conflicts, Data Protector notifies you so that you can modify the schedule.

The following limitation exists with the Data Protector Scheduler:

  • The Data Protector Scheduler only supports the 12-hour time format.
  • When the timezone is set to Americas/Sao Paulo and DST is enabled, the schedule creation fails. As an immediate solution, you can disable DST and create the schedule.
  • For all type of specifications in the Scoping pane, the values for Scheduled and Backup Type column appear as n/a in the Results Area, even if the specification is scheduled.
  • All schedules are displayed in the calendar in the time zone of the Cell Manager system. If you specified a backup or object operation session for a different time zone than that of the Cell Manager, the session will run at the specified time in the specified time zone.
  • With the new Scheduler, you cannot schedule a backup specification of the type disk+tape as disk only. The Scheduler uses the backup type option that was specified during backup specification creation. Also, you cannot reconfigure the backup type during the schedule creation or schedule migration.

    However, during migration, the old schedules created using basic scheduler are migrated as-is. For example, in Data Protector 9.0x, if a backup specification was created as disk+tape backup, and scheduled as disk only; post-migration, the schedule runs as disk only, the way it was configured in the basic schedule file.

Create a maintenance job

Complete the following steps to create a one-time maintenance job.

  1. In the Context Menu click Home, and then click Scheduler in the left pane. The Scheduler page opens.
  2. Click the Scheduler Menu icon scheduler menu in the top-right corner of the Scheduler page, and click the maintenance icon maintenance-job. The Schedule Status window is displayed.
  3. Toggle the Current Status switch to Paused to pause all the scheduled jobs or Running to run the scheduled jobs.
  4. Set the maintenance job start time and specify the duration the maintenance job has to run.
  5. Toggle the Trigger Skipped Schedule switch to Yes to run the jobs paused during the maintenance job or No to skip running the jobs stopped during maintenance job.
  6. Click OK to create a new maintenance job.

Edit a maintenance job

Complete the following steps to edit the maintenance job.

  1. In the Context Menu click Home, and then click Scheduler in the left pane. The Scheduler page opens.
  2. Click the Scheduler Menu icon scheduler menu in the top-right corner of the Scheduler page, and click the maintenance icon. The Schedule Status window is displayed.
  3. Edit or change the following in the Scheduler Status window:
    1. Toggle the Current Status switch to Paused to pause all the scheduled jobs or Running to run the scheduled jobs.
    2. Edit the maintenance job start time and specify the duration the maintenance job has to run.
    3. Toggle the Trigger Skipped Schedule switch to Yes to run the jobs paused during the maintenance job or No to skip running the jobs stopped during maintenance job.
  4. Click OK to create a new maintenance job.

Delete a maintenance job

Complete the following steps to delete the maintenance job.

  1. In the Context Menu click Home, and then click Scheduler in the left pane. The Scheduler page opens.
  2. Click the Scheduler Menu icon scheduler menu in the top-right corner of the Scheduler page, and click the maintenance icon. The Schedule Status window is displayed.
  3. Click Delete to delete the maintenance job. The Delete option is enabled only after maintenance schedules are created.

View holidays

You can view a list of holidays in a month in the calendar. During a holiday, none of the scheduled and maintenance jobs are run.

Perform the following steps to view holidays in calendar:

  1. In the Context Menu click Home, and then click Scheduler in the left pane. The Scheduler page opens.
  2. Click the Calendar icon in the top-right corner of the Scheduler page. The calendar is displayed.
  3. Select Month from the Schedule View toggle in the top-left corner of the Scheduler page. The calendar in monthly view is displayed.
    • If you already have loaded the calendar file in the Data Protector, the calendar displays all the holidays in a month.
    • You can select a date in the calendar, and the agenda for that day is displayed with holiday enabled.

Manage Missed Executions

Missed executions are the sessions, scheduled using Scheduler, that failed due to a Cell Manager downtime, schedule not being configured properly, or backup specification being removed.To manage missed executions, you need the Start backup specification permission.

To list all the missed executions, complete the following steps:

  1. In the Context List, click Home and then click Scheduler in the left pane. The Scheduler page opens.

  2. Click the Scheduler Menu icon scheduler menu in the top-right corner of the Scheduler page and select the Manage Missed Executions icon missed-job.

    A table is displayed listing all the missed executions.

Note The sessions that failed to execute due to maintenance mode are not treated as missed jobs, so they do not appear in the table.

Troubleshoot

This section lists the known Scheduler issues and workarounds.

Scheduler jobs are not triggered

Problem
The Scheduler jobs stop responding, or "hang".
Action

To resolve this issue, redeploy the jce-dispatcherwar file using the following steps:

  1. Launch the WildFly Management Console: Open your web browser and navigate to http://localhost:9990/console/App#home.
  2. Log on using the WildFly management user credentials.
  3. Click Deployments tab.
  4. Redeploy the jce-dispatcher.war file: Redeployment is a two-step process, where you first disable, and then enable the war file.
    1. Disable the war file: In the left pane, select the jce-dispatcher.war file and select the Disable option.
    2. Enable the war file: In the left pane, search for the jce-dispatcher.war file and select the Enable option.

Note After you redeploy the war file, the previous job queue is cleared, and only the next batch of scheduled jobs are run.

Scheduler page shows inconsistent data

Problem
If Data Protector application crashes during installation, or if you restart Data Protector service immediately after upgrading from Data Protector version 10.00 to 10.03, inconsistent scheduler data is seen in the Scheduler page.
Action
No user action is required. The Scheduler nightly job will fix any inconsistencies found in the schedule data. The Scheduler nightly job runs daily at 3:00 AM.

Debugging

You can enable the debug logs for a schedule using the Schedule wizard.

The steps in the following procedure show how to enable debug logs for a schedule that is set for a backup specification. The options available to you in the schedule wizard are based on the types of specification you choose.

  1. In the Context List, click Backup.
  2. In the Scoping Pane, expand Backup Specifications and then expand the appropriate type of backup specification (for example, Filesystem). All saved backup specifications are displayed.
  3. Right-click the appropriate backup specification and click Edit Schedule. The Scheduler page opens. All available schedules for the backup specification are listed in the right pane.
  4. On the Scheduler page, click Edit icon edit icon.png for the schedule, for which you want to enable the debug logs. The Options page of the Schedule wizard opens.
  5. Turn ON the Debug option to enable the debug logs for this schedule. Specify the debug file name in the File Name text box. By default, the debug files are stored in the C:\ProgramData\OmniBack\tmp folder. Select the range for debug logs in the From and To text box; the maximum value can be set as 900.

    Click Next. The Recurrence page opens.

  6. Review the options, and then click Next. The Summary page opens.

  7. Review all the schedule options. Click Finish to save the schedule.

Scheduling tips

Use the following tips while creating schedules:

  • When a schedule starts, Data Protector tries to allocate all needed resources, such as licenses, devices, and access to the IDB. If one of the needed resources is not available, the session is queued while Data Protector is trying to get the needed resources for the queued session every minute until the time-out period is reached. The time out can be modified by changing the SmWaitForDevice global option.

    When Data Protector gets the resources, the queued sessions are started. The queued sessions may not be started in the order they are displayed.

  • To prevent Cell Manager overload, the number of concurrent sessions in a cell is conservatively limited by default. If more sessions than the effective limit are scheduled at the same time, and the effective limit is lower than the maximum configurable limit, the overflow sessions are queued. The limit can be modified using the MaxBSessions global option.

    On the other hand, the concurrently invoked sessions that fall above the maximum configurable limit are not started, and relevant errors are logged into the Data Protector Event Log.

  • To simplify scheduling, Data Protector provides backup specifications for group clients. All clients configured in one backup specification are backed up at the same time in a single backup session.

  • Make sure you have sufficient media and devices to run unattended backups smoothly.

  • When applying a backup template, the schedule settings of the template override the schedule settings of the backup specification. After applying the template, you can still modify the backup specification and set a different schedule.

  • When Backup and Copy sessions are started, they require memory to be allocated as they are resource intensive, especially on the Media Agent servers. So, you need to ensure that multiple backup and copy sessions do not start at the same time. For example, if you need to start nine backup specifications at approximately 6 PM, you need to start the first three backups at 5.45 PM, the next three at 6 PM, and the last three backups at 6.15 PM. Instead of scheduling all the nine backup specifications to start at 6 PM.