Restore the contents of a volume from a snapshot
-
PDF of this doc site
-
Cluster administration
-
Volume administration
-
Logical storage management with the CLI
-
-
NAS storage management
-
Configure NFS with the CLI
-
Manage NFS with the CLI
-
Manage SMB with the CLI
-
Manage file access using SMB
-
-
-
Security and data encryption
-
Data protection and disaster recovery
-

Collection of separate PDF docs
Creating your file...
You can recover a volume to an earlier point in time by restoring from a snapshot. You can use System Manager or the volume snapshot restore
command to restore the contents of a volume from a snapshot.
If the volume has SnapMirror relationships, manually replicate all mirror copies of the volume immediately after you restore from a snapshot. Not doing so can result in unusable mirror copies that must be deleted and recreated.
You can use System Manager or the ONTAP CLI to restore from an earlier snapshot.
-
Click Storage and select a volume.
-
Under Snapshot copies, click
next to the snapshot you want to restore, and select Restore.
-
List the snapshots in a volume:
volume snapshot show -vserver <SVM> -volume <volume>
CliThe following example shows the snapshot in
vol1
:clus1::> volume snapshot show -vserver vs1 -volume vol1 Vserver Volume Snapshot State Size Total% Used% ------- ------ ---------- ----------- ------ ----- ------ ----- vs1 vol1 hourly.2013-01-25_0005 valid 224KB 0% 0% daily.2013-01-25_0010 valid 92KB 0% 0% hourly.2013-01-25_0105 valid 228KB 0% 0% hourly.2013-01-25_0205 valid 236KB 0% 0% hourly.2013-01-25_0305 valid 244KB 0% 0% hourly.2013-01-25_0405 valid 244KB 0% 0% hourly.2013-01-25_0505 valid 244KB 0% 0% 7 entries were displayed.
-
Restore the contents of a volume from a snapshot:
volume snapshot restore -vserver <SVM> -volume <volume> -snapshot <snapshot>
CliThe following example restores the contents of
vol1
:cluster1::> volume snapshot restore -vserver vs0 -volume vol1 -snapshot daily.2013-01-25_0010