Create and delete snapshots manually
You can create snapshots manually when you can't wait for a scheduled snapshot to be created, and you can delete snapshots when they are no longer needed.
This procedure applies to FAS, AFF, and ASA systems. If you have an ASA r2 system (ASA A1K, ASA A90, ASA A70, ASA A50, ASA A30, ASA A20, or ASA C30), follow these steps to create an on-demand snapshot. ASA r2 systems provide a simplified ONTAP experience specific to SAN-only customers.
Create a snapshot manually
You can manually create a snapshot using System Manager or the ONTAP CLI.
-
Navigate to Storage > Volumes and select the Snapshot copies tab.
-
Click
.
-
In the Add a snapshot window, accept the default snapshot name or edit it if desired.
-
Optional: Add a SnapMirror label.
-
Click Add.
-
Create a snapshot:
volume snapshot create -vserver <SVM> -volume <volume> -snapshot <snapshot_name>
Delete snapshots manually
You can manually delete a snapshot using System Manager or the ONTAP CLI.
-
Navigate to Storage > Volumes and select the Snapshot copies tab.
-
Locate the snapshot you want to delete, click
, and select Delete.
-
In the Delete snapshot window, select Delete snapshot.
-
Click Delete.
-
Use the
volume snapshot show
command to verify which snapshots you want to delete.volume snapshot show -vserver <SVM> -volume <volume>
In this example, the command shows the snapshots on the volume vol3 in the SVM vs3.
cluster::> volume snapshot show -vserver vs3 -volume vol3 ---Blocks--- Vserver Volume Snapshot Size Total% Used% -------- ------- ----------------------- ----- ------ ----- vs3 vol3 snap1.2013-05-01_0015 100KB 0% 38% snap1.2013-05-08_0015 76KB 0% 32% snap2.2013-05-09_0010 76KB 0% 32% snap2.2013-05-10_0010 76KB 0% 32% snap3.2013-05-10_1005 72KB 0% 31% snap3.2013-05-10_1105 72KB 0% 31% snap3.2013-05-10_1205 72KB 0% 31% snap3.2013-05-10_1305 72KB 0% 31% snap3.2013-05-10_1405 72KB 0% 31% snap3.2013-05-10_1505 72KB 0% 31% 10 entries were displayed.
-
Delete a snapshot:
If you want to… Enter this command… Delete a single snapshot
volume snapshot delete -vserver _svm_name_ -volume _vol_name_ -snapshot _snapshot_name_
Delete multiple snapshots
volume snapshot delete -vserver _svm_name_ -volume _vol_name_ -snapshot _snapshot_name1_[,_snapshot_name2_,...]
Delete all snapshots
volume snapshot delete -vserver _svm_name_ -volume _vol_name_ -snapshot *