Restoring a FlexGroup volume from a SnapVault backup
You can perform a full-volume restore operation of FlexGroup volumes from a Snapshot copy in the SnapVault secondary volume. You can restore the FlexGroup volume either to the original source volume or to a new FlexGroup volume.
Before you begin
You must be aware of certain considerations for restoring FlexGroup volumes.
Considerations for SnapVault restore operations for FlexGroup volumes
About this task
Any active quota rules on the destination FlexGroup volume are deactivated before the restore is performed.
You can use the volume quota modify command to reactivate quota rules after the restore operation is complete.Restore the FlexGroup volume: snapmirror restore -source-path src_svm:src_flexgroup -destination-path dest_svm:dest_flexgroup -snapshot snapshot_name
snapshot_name is the Snapshot copy that is to be restored from the source volume to the destination volume. If the Snapshot copy is not specified, the destination volume is restored from the latest Snapshot copy.
Example
vserverA::> snapmirror restore -source-path vserverB:dstFG -destination-path vserverA:newFG -source-snapshot daily.2020-07-15_0010
Warning: All data newer than Snapshot copy hourly.2020-11-16_0705 on volume vserverA:newFG will be deleted.
Export policies currently enforced on the qtrees of volume "vserverA:newFG" will not change during this operation. If the currently enforced export
policies are different from those in Snapshot copy "hourly.2020-11-16_0705", reassign the export policies of the qtrees on this volume after
this operation.
Do you want to continue? {y|n}:
Give documentation feedback