Custom Calendars - Advanced

Table of Contents

Creating a Calendar with a Different Start Month and Number of Days

By default, the standard Gregorian calendar starts on the first day of January and each month have a defined set of days.

Use the following steps to define a custom calendar with a different starting month and different number of days for each month:

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, click Add.
  4. Specify the following calendar details:
    • In the Name box, type a name for the calendar.
    • In the Begin Month drop-down list, select the desired starting month of the year.
    • Click the Define Custom Months check box and select the year in which the calendar has to begin from the Begin Year drop-down list.
    • Click Define Months.

    See the image below for an example:

  5. For each month that you want to customize, double-click the days in the Days column and specify the new number of days for that particular month.

    Note that the number of days should not be less than 15 or greater than 45 for a month.

  6. Click Apply and then click OK.
  7. From the Add a new Calendar dialog box, click OK.

Configuring Existing Custom Calendars

The following sections describe the steps to perform additional configurations on your custom calendars.

Renaming a Custom Calendar

If needed, you can always change the name of your custom calendar. Use the following steps to rename a custom calendar:

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, select the calendar to be made as default and click Edit.
  4. In the Name box, type the new name for the calendar.
  5. Click OK.

Setting a Calendar as the Default

Initially, the standard calendar is set as the default calendar for the CommCell. Use the following steps to set an existing custom calendar as the default calendar for the CommCell:

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, select the calendar to be made as default and click Edit.
  4. Select the Make this calendar the default for all operations check box.
  5. Click OK.

Changing the Start Date of a Month

Once you create a custom calendar with a different start month, you can always change the starting date for the month at a later point in time.

The start date of a custom calendar must be within 15 days prior to or after day 1 of the selected Begin Month. For example, if you select January (2012) as the beginning month, then the start date of the custom calendar can be defined as any date from December 15th (2011) through January 15th (2012).

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, select the calendar to be made as default and click Edit.
  4. Click Update Custom Months.
  5. Select the starting date for the month from the Start Date option.
  6. Click OK.

Defining Customized Months

You can customize the months for the selected year in the calendar by changing the number of days in a month. However, note that the number of days should not be less than 15 or greater than 45 for a month.

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, select the calendar to be modified and click Edit.
  4. Click Update Custom Months.

Setting the Number of Days for a Month

  1. Click Define Months.
  2. For each month that you want to customize, double-click the days in the Days column and specify the new number of days for that particular month. The Start Date of each month adjusts accordingly based on the number of days specified on each month.

  3. Click Apply.

Applying the Custom Month Definitions to Multiple Years

  1. Click Next to scroll to the appropriate year to copy the custom months and then click Apply.

    Alternatively, you can also click Copy To and enter the year to which you want the custom months to be copied. Click OK and then click Apply.

    If there are some years with no custom month definitions in between the currently displayed year and the year specified in the Enter year to copy to window, the last defined year’s custom month definitions will be applied to those years without definitions.  For example; the last defined year is 2007, but the currently displayed year is 2006.  If 2010 is entered in the Enter year to copy to window, the 2007 custom month definitions will be copied to years 2008 - 2009, while the 2006 custom month definitions will be copied to year 2010.

  2. Click OK twice.

Associating a Custom Calendar to a Storage Policy Copy

Associating a custom calendar to a storage policy copy changes the time intervals by which data is copied to and aged from this copy. Selective storage policy copies associated with custom calendars will have data copied during auxiliary copy operations either monthly, quarterly, half yearly, or yearly based on the days defined in the calendar.

If a storage policy copy is re-associated with a different calendar, the auxiliary copy operation re-calculates the dates in which data is copied based on the time definitions set in the custom calendar.

Use the following steps to associate a custom calendar to a storage policy copy:

  1. Ensure that you have created a custom calendar using the Custom Calendars option in the Control Panel.
  2. From the CommCell Browser, navigate to Policies | Storage Policies  | <Storage_Policy>.
  3. Right-click the <Storage Policy Copy> and click Properties.
  4. Select a custom calendar name from the Calendar for Selective Copy and Extended Retention list.
  5. Click OK.

Associating a Custom Calendar to a Job Schedule

Custom calendars can be used to create weekly, monthly and yearly schedules. For example:

  • A monthly schedule for a custom calendar that defines months that are 32 days long will run every 32 days, starting on the starting day of the month as defined in the custom calendar.
  • Yearly schedule will run based on the yearly number of days defined in the custom calendar

The following sections describe how to create schedules using a custom calendar.

Creating a Monthly Schedule Using a Custom Calendar

Use the following steps to create monthly schedule using a custom calendar:

Create the Custom Calendar

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, click Add.
  4. Specify the following calendar details:
    • In the Name box, type a name for the calendar.
    • In the Begin Month drop-down list, select the desired starting month of the year.
    • Click the Define Custom Months check box and select the year in which the calendar has to begin from the Begin Year drop-down list.
    • Type a date in the Start Date box. For example:

      If your custom calendar starts in 2011 form the 10th of February then enter 10 February 2011.

      The start date of a custom calendar must be within 15 days prior to or after day 1 of the selected Begin Month. For example, if you select January (2007) as the Begin Month, then the start date of the custom calendar can be defined as any date from December 15th (2006) through January 15th (2007).

  5. Click the Define Months check box.
  6. Type the number of days for each month in the Days column and then click Apply. By default it shows the actual number of days for the month as per the Georgian calendar.

    The start date for each month will adjust accordingly based on the number of days selected for each month.

  7. Click Copy To, specify the year to which you want the custom months to be copied and click OK.
  8. Click OK twice and close the Custom Calendars window.

Associate the Custom Calendar to a Job Schedule

The following steps configures an schedule for a File System backup as an example. You can associates the recently created calendar to any other operation that you can schedule.

  1. Right-click the File System subclient and click Backup. From the Backup Options dialog box, select Schedule and then click Configure.
  2. From the Schedule Details dialog box, type a name for the schedule in the Schedule Name box.
  3. Select Monthly on the left pane and specify the following details:
    • In the Start Time box, specify the schedule start time.
    • In the On Day box, specify the day of the month when you wish the schedule to start.
    • In the Every box, type or select the frequency of occurrence.

      You can also click Repeat Every to repeat the schedule every n hours and minutes.

  4. Select the customized calendar from the Calendar list.
  5. Click the Options button to specify the range of recurrence.
  6. In the Start box, type or select a start date.
  7. By default, the schedule is valid indefinitely. You can choose to
    • Specify an end date in the End By box, or
    • Maintain the schedule until a specified number in the End After box.
    • Click OK.
  8. Click OK to close the Schedule Details box.

Creating a Yearly Schedule Using a Custom Calendar

Use the following steps to create yearly schedule using a custom calendar:

Create the Custom Calendar

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, click Add.
  4. Specify the following calendar details:
    • In the Name box, type a name for the calendar.
    • In the Begin Month drop-down list, select the desired starting month of the year.
    • Click the Define Custom Months check box and select the year in which the calendar has to begin from the Begin Year drop-down list.
    • Type a date in the Start Date box. For example:

      If your custom calendar starts in 2011 form the 10th of February then enter 10 February 2011.

      The start date of a custom calendar must be within 15 days prior to or after day 1 of the selected Begin Month. For example, if you select January (2007) as the Begin Month, then the start date of the custom calendar can be defined as any date from December 15th (2006) through January 15th (2007).

  5. Click the Define Months check box.
  6. Type the number of days for each month in the Days column and then click Apply. By default it shows the actual number of days for the month as per the Georgian calendar.

    The start date for each month will adjust accordingly based on the number of days selected for each month.

  7. Click Copy To, specify the year to which you want the custom months to be copied and click OK.
  8. Click OK twice and close the Custom Calendars window.

Associate the Custom Calendar to a Job Schedule

The following steps configures an schedule for a File System backup as an example. You can associates the recently created calendar to any other operation that you can schedule.

  1. Right-click the File System subclient and click Backup. From the Backup Options dialog box, select Schedule and then click Configure.
  2. From the Schedule Details dialog box, type a name for the schedule in the Schedule Name box.
  3. Select Yearly on the left pane and specify the following details:
    • In the Start Time box, specify the schedule start time.
    • In the On Day box, specify the day of the month when you wish the schedule to start.
    • You can also click Repeat Every to repeat the schedule every n hours and minutes.
  4. Select the customized calendar from the Calendar list.
  5. Click the Options button to specify the range of recurrence.
  6. In the Start box, type or select a start date.
  7. By default, the schedule is valid indefinitely. You can choose to
    • Specify an end date in the End By box, or
    • Maintain the schedule until a specified number in the End After box.
    • Click OK.
  8. Click OK to close the Schedule Details box.

Deleting a Custom Calendar

A custom calendar that is currently being used for a schedule or a selective copy cannot be deleted. Re-assign the schedule or storage policy to another calendar (or the standard calendar) before deleting this calendar.

Use the following steps to delete a custom calendar:

  1. From the CommCell Console toolbar, click Control Panel.
  2. Under the Schedule section, click Custom Calendars.
  3. From the Custom Calendars dialog box, select the calendar to be deleted and click Delete.
  4. Click Yes in the Confirmation dialog box.

    The custom calendar is deleted from the Custom Calendars dialog box.

Related Reports

The following reports provide information on custom calendars:

  • CommCell Configuration Report

    This report identifies the schedules and/or storage policy copies that are using custom calendars.

    For more information on this report, see CommCell Configuration Report.

  • Job Schedule Report

    This report identifies the schedules that are using custom calendars.

    For more information on this report, see Job Schedule Report.

  • Storage Policy Report

    This report identifies the storage policy copies that are using custom calendars.

    For more information on this report, see Storage Policy Report.