Backing up the SnapCenter repository

Backing up the SnapCenter Server database repository helps protect it from data loss. You can back up the repository by running the Protect-SmRepository cmdlet.

About this task

The command accomplishes the following tasks:


  1. Launch PowerShell.
  2. From the command prompt, enter the following command, and then provide credentials to connect to the SnapCenter Server: Open-SMConnection
  3. Back up the repository: Protect-SmRepository [-HostName] string[-Path] string[Schedule]Hashtable [[-RetentionCount] Int32] [[-CatalogBackupPath] string]

    The options are as follows:

    Specifies the SnapCenter Server host name. For standalone configuration, you must specify as localhost. For network load balancing (NLB) configuration, you must provide the host name of the SnapCenter Server where the iSCSI LUN, FC LUN, or VMDK is configured for repository protection.
    Specifies the NetApp destination disk path for storing MySQL dumps. iSCSI LUNs, FC LUNs, and VMDKs are supported; RDM LUNs are not supported for repository protection.
    Specifies the backup schedule information.
    Options are as follows:
    Specifies the backup schedule type; options are Hourly, Daily, Weekly, Monthly.
    Specifies the scheduled backup start time. The default is the current time.
    Specifies the scheduled end time.
    Specifies the number of backups to retain. By default, seven backups are retained.


The following command configures the SnapCenter repository on a specific host in a specific location for hourly backups:

Protect-SmRepository -HostName 
-Path E:\DBs -RetentionCount 7 -Schedule @{"ScheduleType"="hourly";"StartTime"="10/21/2016 5:18 PM"}