Schedule Backups Based on Calendar Event

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to schedule a regularly occurring backup, that is, to create a backup using a calendar-based periodic event.

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

The procedure in this document 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

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To schedule a backup that is to occur regularly:

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

    >dn ManagedElement=<Node Name>,SystemFunctions=1,BrM=1,BrmBackupManager=USER_DATA,BrmBackupScheduler=USER_DATA

  2. Enter Config mode:

    (BrmBackupScheduler=USER_DATA)>configure

  3. Enter the event name, for example:

    (config-BrmBackupScheduler=USER_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