Schedule Backups Based on Calendar Event

Contents


1   Description

This instruction describes how to schedule a regularly occurring backup, which is to create a backup as a calendar-based periodic event.

A calendar-based periodic event can be used as follows:

The procedure in this instruction illustrates the latter case.

Note:  
When any of the following backup operations is in progress, a scheduled backup event that is triggered is postponed and retried at regular intervals later:
  • Manual backup creation
  • Scheduled backup creation
  • Backup deletion
  • Backup restore

2   Procedure

2.1   Schedule Backups Based on Calendar Event

Prerequisites

Steps

  1. Navigate to the BrmBackupScheduler managed object, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA,BrmBackupScheduler=SYSTEM_DATA

  2. Enter Config mode:

    (BrmBackupScheduler=SYSTEM_DATA)>configure

  3. Enter the event name, for example:

    (config-BrmBackupScheduler=SYSTEM_DATA)>BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314

  4. Create the calendar-based periodic event by setting the relevant attributes, for example:
    • (config-BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314)>dayOfWeek=SUNDAY

      dayOfWeek defines what day of the week the event is triggered once effective, in this case Sunday.

    • (config-BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314)>dayOfWeekOccurrence=FIRST

      dayOfWeekOccurence further specifies the value entered for dayOfWeek. In this case, the event is to be triggered only the first Sunday of the month once effective.

    • (config-BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314)>startTime=2014-06-31T23:59:59

      startTime defines the time in the future when the event becomes effective.

    • (config-BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314)>time=03:00:00

      time defines the time when the event is triggered once it becomes effective.

  5. Commit the calendar-based periodic event:

    (config-BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314)>commit

  6. Verify that the calendar-based periodic event was created:

    (BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314)>show

    The following is an example output of a calendar-based periodic event where backups are created every first Sunday of the month at 03:00 from 2014-06-31, 23:59:59 until the end of the century.

    BrmCalendarBasedPeriodicEvent=C_EVENT_20140428_314
       dayOfWeek=SUNDAY
       dayOfWeekOccurrence=FIRST
       startTime=2014-06-31T23:59:59
       time=03:00:00