Scheduling a new snapshot set

You can use the Enterprise Vault Snapshot Scheduler Wizard to schedule the initial snapshot set and to set up the schedule for keeping it refreshed.

The scheduling of snapshots can be done at the EV farm, sites, Vault Store Groups, Vault Stores, Partitions, or any component level. The wizard can be launched from any component of EV configuration.

When the scheduled snapshots occur, the snapshot mirrors are detached from the original volumes, creating separate on-host snapshot volumes as well as an XML file to store the snapshot volume metadata. The scheduled process integrates with VSS to quiesce the database and then simultaneously snapshot the volumes for EV components. This snapshot is done while the EV components are online and without disrupting the operations. It also allows the Enterprise Vault PowerShell cmdlet to put Enterprise Vault into backup mode. Backup mode ensures that no writes happen on Enterprise Vault components.

Before you run the Enterprise Vault Snapshot Scheduler Wizard to schedule a snapshot set for a database, you must prepare a snapshot mirror for each of the volumes in the database.

See Preparing an EV snapshot mirror.

In addition, ensure that you have met the configuration requirements before running the wizard.

See Configuration requirements for snapshots.

To schedule a snapshot for a selected component

  1. On the VEA, navigate to the Storage Agent node on the left-hand pane and click to expand Applications. Right-click Enterprise Vault and select Schedule Enterprise Vault Snapshot from the context menu.
  2. Review the information on the Welcome page. Click Next.
  3. On the Select Components page, select the EV components you want to snapshot. Select the snapshot type and give it a name.

    Complete the information on the Select Components page as follows:

    Select component for snapshot operation

    Select the EV components you want to snapshot. You can select EV Farm, sites, Vault Store Groups, Vault Stores, partitions or any component.

    Additionally, you can also use the keyboard shortcuts to select EV components. Ctrl+ A selects the entire EV farm along with sites and components. Use Ctrl+Click to select EV components of your choice. Use Ctrl+Shift+Arrow Up, Down keys to select components located at the upper and lower hierarchies in the EV farm.

    Directory

    The XML file is stored by default in the directory shown on the screen.

    In a clustered server environment, the XML file must be saved on shared storage to be available from all nodes in the cluster.

    Note:

    The XML file for the snapshot must be stored separately from the volumes that are included in the snapshots, otherwise a restore will fail.

    The XML file location can be changed in the following two ways:

    • First, edit the directory path in the Directory field for this wizard screen.

    • Second, change the XML file location. Use a text editor to create a text file named redirect.txt. This text file should contain a single text line specifying the Universal Naming Convention (UNC) path to the location of the XML file, for example, \\ServerName\SharedFolderName. Save the redirect.txt file in the default directory C:\Program Files\Veritas\Veritas Volume Manager\VSSXML.

      If the product is installed on the D drive, then the path will be the same as above, but on the D drive

    Note:

    You must not use the volume name or volume path in the redirect.txt file that is involved in the snapshot. If the volume name or path for the snapshot is used, then a restore will fail.

    Snapshot set

    Enter a name for the snapshot set, for example, billing or accept the default name. The wizard generates a default snapshot set name that includes the term "SnapshotSet", component name, date, and time. Example: SnapshotSet.EV.20091001.124837.

    Note:

    If multiple components are selected, "EV" is used in the default snapshot set name instead of the component name.

    Select snapshot type

    You can specify that snapshots be created as either a Full backup or Copy backup type.

    • Full Backup

      A full snapshot affects the sequence of backups and is used when replay logs are needed while restoring.

      If you want to replay logs in SQL Server as part of restoring a database, a Full backup needs to have been created earlier. When replaying logs, you can replay from the time of the last Full backup.

    • Copy

      A Copy backup does not affect this sequence of log replay and therefore is often used as an "out of band" copy for purposes such as testing or data mining.

    Click Next.

  4. In the Schedule Information panel, specify Schedule information for snapshots. This panel has the General Options, Days of Week, Days of Month, and Specific Dates tabs.

    You can select either one of these or the combination of all these tabs in order to specify the scheduling information for snapshot sets. Complete the information on this page as follows:

    • Select the General Options tab and specify the following. Times entered on the General tab are times for the host.

      Name of this schedule

      Enter a unique name for the snapshot set schedule.

      This name identifies the snapshot schedule if you later want to view information about the snapshot status. A default name consists of the VSS writer name, the component name and a numbered suffix that increments with each schedule.

      Description of this schedule

      Optionally, enter a description to help you identify the schedule when you view information about the snapshot status.

      Start Time

      The time of the day to begin taking snapshots.

      End Time

      The time of day to end taking snapshots.

      If a snapshot is in progress it is completed but a new one is not started after the end time.

      Schedule takes effect on

      The date on which the specified schedule takes effect. The default is the current date.

      Restart task every

      The interval between snapshots, in minutes.

      For example, if the interval is 360 minutes and you schedule a snapshot start time of 12 P.M. and an end time of 7 P.M, the snapshot occurs twice. If no interval is specified the snapshot occurs once.

      Every

      Enable the Every option to have the snapshot schedule continue to occur. Otherwise the schedule applies only for one day.

      Specify the number of days before restarting the snapshot schedule.

      For example, 1 day would mean the schedule takes effect daily, 2 days would mean every other day.

      Start On

      If you enable the Every option, specify the starting date.

      Pre Command

      Optionally, specify the full path of a command script to run before the scheduled snapshot occurs.

      Post Command

      Optionally, specify the full path of a command script to run after the snapshot is complete.

    • Select the Days of the Week tab:

      Complete the information on this page as follows:

      Days of Week

      Select one or more days on one or more weeks of the month.

      You can click a button at the top of the column to select the entire column or a button to the left of a row to select the entire row. For example, clicking First schedules the snapshots to occur on the first occurrence of all the week days for the month.

      Selecting the Select All button to select all days in a week and number of schedules available.

      Deselect All option will disable all selections made on this tab.

    • Select the Days of Month tab on the Schedule Information page.

      Complete the information on this page as follows:

      Days of Month

      Select one or more days of the month.

      The Select All button selects all days in a month and schedules. Deselect All option will disable all selections.

      You can also check the Last Day checkbox to schedule the snapshot for the last day of each month.

      If two schedules overlap for the same snapshot set, only one snapshot is taken. For example, if you select every Thursday plus the last day of the month, and the last day of the month occurs on Thursday, only one snapshot is taken on Thursday

  5. Select the Specific Dates tab on the Schedule Information page.

    Complete the information on this page as follows:

    Specific Dates

    Select one or more specific dates to include or exclude from the schedule. The dates are available in yyyy-mm-dd format. Example: 2009-10-09

    Excluding a date takes precedence over days scheduled on the other tabs, i.e, the General Options, Days of Week, and Days of Month. For example, if you schedule every Monday on the Days of Week tab, and you exclude Monday October 9 on the Specific Dates tab, the snapshots are not taken on October 9.

    Include Dates

    Click Forward (>>) arrow keys to add the selected date/dates in the Include Dates box. To remove the selected dates, click the Backward arrow keys (<<)

    Exclude Dates

    Click Forward arrow (>>) keys to add the selected date/dates in the Exclude Dates box on the lower right corner. To remove the selected dates, click the Backward arrow keys (<<).

    Click Next.

  6. Review the schedule snapshot set specifications on the summary page. Click Finish to complete the schedule operation for selected snapshot sets.