vserver consistency-group snapshot restore
Restore a consistency group to a specified Snapshot copy
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver consistency-group snapshot restore command restores a snapshot of a specified consistency group. This replaces the current working copy of the volume in the consistency group with the snapshot that results in a loss of all changes made since the snapshot was created.
Parameters
- -vserver <Vserver Name>- Vserver Name
- 
This specifies the Vserver that contains the consistency group on which the specified snapshot to be restored is saved. 
- -consistency-group <text>- Consistency Group Name
- 
This parameter specifies the consistency group where a snapshot is to be restored. 
- -snapshot <snapshot name>- Snapshot Copy Name
- 
This parameter specifies the name of the snapshot that is to be restored. 
- [-parent-consistency-group <text>]- Parent Consistency Group Name
- 
This parameter specifies the parent consistency group where a snapshot is to be restored. 
Examples
The following example restores a snapshot named snap1 on a consistency group named childCG on parent consistency group parentCG and is located on a Vserver named vs0.
cluster1::> vserver consistency-group snapshot restore -vserver vs0 -consistency-group childCG -parent-consistency-group parentCG -snapshot snap1
      (vserver consistency-group snapshot restore)
    [Job 100] Job succeeded: Success
 PDFs
PDFs