A Snapshot Copy is the secondary copy created for a IntelliSnap backup. The snapshot copy stores the meta data information related to the IntelliSnap backup. The IntelliSnap backup enables you to create a point-in-time snapshot of the data. It provides an effective way to backup live data.
If you want to perform the snap vault or snap mirror operations using NetApp filers, you must create a primary snap copy in a storage policy. When you create a storage policy associated with a OnCommand Unified Manager, the primary snapshot copy is automatically created. A primary snapshot copy can also be created for a storage policy that is not associated a OnCommand Unified Manager. Use the following steps to create a primary snapshot copy:
-
Download the sp_copycreation.xml file and save it on the computer from where the command will be executed.
-
Execute the following command from the software_installation_directory/Base folder after substituting the parameter values.
Primary Snapshot Copy
qoperation execute -af downloaded location\sp_copycreation.xml -storagePolicyName xxxxx -copyName xxxxx -libraryName xxxxx -mediaAgentName xxxxx -isSnapCopy 1Vault Copy
qoperation execute -af downloaded location\sp_copycreation.xml -storagePolicyName xxxxx -copyName xxxxx -libraryName xxxxx -mediaAgentName xxxxx -resourcePoolsList/operation 'ADD' -resourcePoolsList/resourcePoolName xxxxx -provisioningPolicyName xxxxx -sourceCopy/copyName 'primary' -isSnapCopy 1Mirror Copy
qoperation execute -af downloaded location\sp_copycreation.xml -storagePolicyName xxxxx -copyName xxxxx -libraryName xxxxx -mediaAgentName xxxxx -resourcePoolsList/operation 'ADD' -resourcePoolsList/resourcePoolName xxxxx -provisioningPolicyName xxxxx -sourceCopy/copyName 'primary' -isSnapCopy 1 -isMirrorCopy 1Array Vault/Replica Copy
qoperation execute -af downloaded location\sp_copycreation.xml -storagePolicyName xxxxx -copyName xxxxx -libraryName xxxxx -mediaAgentName xxxxx -sourceCopy/copyName xxxxx -isSnapCopy 1 -extendedFlags/arrayReplicaCopy 1 -extendedFlags/useOfflineArrayReplication 1Array Replica Mirror Copy
qoperation execute -af downloaded location\sp_copycreation.xml -storagePolicyName xxxxx -copyName xxxxx -libraryName xxxxx -mediaAgentName xxxxx -sourceCopy/copyName xxxxx -isSnapCopy 1 -extendedFlags/arrayReplicaCopy 1 -isMirrorCopy 1 extendedFlags/useOfflineArrayReplication 1