Table of ContentsView in Frames

Preserving a Snapshot copy on the primary source volume

In a mirror-SnapVault cascade, you must preserve a Snapshot copy on the primary source volume until it transfers to the secondary volume of the SnapVault backup. For example, you want to ensure that application-consistent Snapshot copies are backed up.

Before you begin

You must have created the mirror-SnapVault cascade.

Steps

  1. Ensure that the Snapshot copy you want to preserve has a snapmirror-label by using the volume snapshot show command.
  2. If the Snapshot copy does not have a snapmirror-label associated with it, add one by using the volume snapshot modify command.
    Example
    The following command adds a snapmirror-label called "exp1" to the Snapshot copy called "snapappa":
    clust1::> volume snapshot modify -volume vol1 -snapshot snapappa 
    -snapmirror-label exp1
  3. Preserve the Snapshot copy on the source volume by using the snapmirror snapshot-owner create command to add an owner name to the Snapshot copy.
    Example
    The following command adds ApplicationA as the owner name to the snap1 Snapshot copy in the testvol volume on the vs1 Storage Virtual Machine (SVM):
    clust1::> snapmirror snapshot-owner create -vserver vs1 -volume vol1 
    -snapshot snapappa -owner ApplicationA
  4. Update the destination volume of the data protection mirror relationship by using the snapmirror update command.
    Alternatively, you can wait for the scheduled update of the data protection mirror relationship to occur.
  5. Update the secondary volume of the SnapVault relationship to transfer the specific Snapshot copy from the SnapMirror destination volume to the SnapVault secondary volume by using the snapmirror update command with the -source-snapshot parameter.
  6. Remove the owner name from the primary source volume by using the snapmirror snapshot-owner delete command.
    Example
    The following command removes ApplicationA as the owner name to the snap1 Snapshot copy in the testvol volume on the vs1 SVM:
    clust1::> snapmirror snapshot-owner delete -vserver vs1 -volume vol1 
    -snapshot snapappa -owner ApplicationA