snapmirror snapshot-owner create
Add an owner to preserve a Snapshot copy for a SnapMirror mirror-to-vault cascade configuration
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The snapmirror snapshot-owner create command adds an owner on the specified snapshot. A snapshot can have at most one owner. An owner can only be added to a snapshot on a read-write volume. The snapshot must have a valid SnapMirror label.
|  | Refer to the ONTAP Data Protection Guidefor valid use cases to add an owner on a snapshot. | 
Parameters
- -vserver <vserver name>- Vserver Name
- 
This parameter specifies the Vserver on which the volume is located. 
- -volume <volume name>- Volume Name
- 
This parameter specifies the name of the volume. 
- -snapshot <snapshot name>- Snapshot Copy Name
- 
This parameter specifies the name of the snapshot. 
- [-owner <owner name>]- Snapshot Copy Owner Name
- 
This parameter specifies the name of the owner for the snapshot. The owner name can be made up of the characters A to Z, a to z, 0 to 9, and "_". The name can be up to 32 characters in length. When not specified, an owner will be added with a system-generated default name. 
Examples
The following example adds owner app1 on snapshot snap1 on volume vol1 in Vserver vs0.example.com .
cluster1::> snapmirror snapshot-owner create -vserver vs0.example.com
         -volume vol1 -snapshot snap1 -owner app1
The following example adds a default owner on snapshot snap2 on volume vol1 in Vserver vs0.example.com .
cluster1::> snapmirror snapshot-owner create -vserver vs0.example.com
         -volume vol1 -snapshot snap2
 PDFs
PDFs