Skip to main content

Create and delete snapshots manually

Contributors netapp-aherbin netapp-aaron-holt netapp-dbagwell netapp-lenida

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.

About this task

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.

System Manager
Steps
  1. Navigate to Storage > Volumes and select the Snapshot copies tab.

  2. Click Add icon.

  3. In the Add a snapshot window, accept the default snapshot name or edit it if desired.

  4. Optional: Add a SnapMirror label.

  5. Click Add.

CLI
  1. 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.

System Manager
Steps
  1. Navigate to Storage > Volumes and select the Snapshot copies tab.

  2. Locate the snapshot you want to delete, click Menu options icon, and select Delete.

  3. In the Delete snapshot window, select Delete snapshot.

  4. Click Delete.

CLI
  1. 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.
  2. 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 *