Skip to main content
NetApp Knowledge Base

Can a snapshot be taken out of the Snapshot Policy Rotation?

Views:
88
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

Applies to

  • ONTAP 9.x
  • Snapshot Policy

Answer

Yes, you can rename the Snapshot to remove it out of the Rotation of the Volumes Snapshot Policy

  • Example:
  1. Rename the Snapshot:
    Cluster1::> volume snapshot rename -vserver svm1 -volume rename -snapshot 5minS.2020-09-16_1815 -new-name 5minS.2020-09-16_1815_RENAMED
  2. next Day, the renamed Snapshot remains until manually deleted:

cluster1::> volume snapshot show -vserver svm1 -volume rename
                                                                 ---Blocks---
Vserver  Volume   Snapshot                                  Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1     rename
                  5minS.2020-09-16_1815_RENAMED            196KB     0%   33%
                  5minS.2020-09-18_1330                    144KB     0%   26%
                  5minS.2020-09-18_1335                    144KB     0%   26%
                  5minS.2020-09-18_1340                    288KB     0%   42%
                  5minS.2020-09-18_1345                    144KB     0%   26%
                  5minS.2020-09-18_1350                    232KB     0%   36%
                  5minS.2020-09-18_1355                    236KB     0%   37%
7 entries were displayed.

 

Additional Information

additionalInformation_text