Configuring the SnapCenter repository

Backing up the SnapCenter repository helps protect it from data loss. You can back up the repository database 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. Protect 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 or VMDK is configured for repository protection.
    Specifies the NetApp destination disk path for storing MySQL dumps. iSCSI LUNs and VMDK are supported and RDM LUNs are not supported for repository protection.
    Specifies the backup schedule information.
    Options are as follows:
    Specifies the backup schedule type. Possible 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 database on a specific host in a specific location for hourly protection:

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