Skip to main content
NetApp Knowledge Base

When does ONTAP delete Tamperproof Snapshot?

Views:
83
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Applies to

Answer

The tamperproof snapshot is auto-deleted when the next scheduled snapshot is generated after the retention period ends.
 
Example:
The retention period of Tamperproof Snapshot 5min.2024-07-31_1515  ended after 15:21:00 but  its auto-deleted occurred at 15:25:00 along with 5min.2024-07-31_1525's auto-creation.

ontap912::> volume snapshot policy show  -policy Tamperproof -ins

                  Vserver: ontap912
     Snapshot Policy Name: Tamperproof
  Snapshot Policy Enabled: true
             Policy Owner: cluster-admin
                  Comment: -
Total Number of Schedules: 1
    Schedule       Count  Prefix        SnapMirror Label    Retention Period
    -------------- -----  ------------- ------------------  ------------------
    5min               1  5min          -                   6 minutes 

ontap912::>  date;snapshot show  -vserver svm1_ontap912 -volume vol1_svm1
Node      Date                     Time zone
--------- ------------------------ -------------------------
ontap912-01
          Wed Jul 31 15:24:57 2024 Japan
ontap912-02
          Wed Jul 31 15:24:57 2024 Japan
2 entries were displayed.

                                                                 ---Blocks---
Vserver  Volume   Snapshot                                  Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1_ontap912
         vol1_svm1
                  ref_ss_volmove_7132_1719990827_9         144KB     0%    0%
                  ref_ss_volmove_7132_1719990921_10       4.40MB     0%    1%
                  weekly.2024-07-14_0015                  5.42MB     0%    1%
                  weekly.2024-07-21_0015                  7.85MB     0%    1%
                  daily.2024-07-25_0010                   1.81MB     0%    0%
                  daily.2024-07-26_0010                   9.36MB     0%    1%
                  hourly.2024-07-26_1105                   148KB     0%    0%
                  hourly.2024-07-26_1205                   152KB     0%    0%
                  hourly.2024-07-26_1305                  9.22MB     0%    1%
                  hourly.2024-07-26_1405                   152KB     0%    0%
                  hourly.2024-07-26_1505                   148KB     0%    0%
                  hourly.2024-07-26_1605                  4.43MB     0%    1%
                  snapmirror.2e3cb37b-64a9-11ed-b07f-005056959654_2150626468.2024-07-31_150500
                                                           148KB     0%    0%
                  5min.2024-07-31_1515                     148KB     0%    0%  
                  5min.2024-07-31_1520                     144KB     0%    0%
                  ref_ss_volmove_7152_1722407087_23164     144KB     0%    0%
16 entries were displayed.

ontap912::> date;snapshot show  -vserver svm1_ontap912 -volume vol1_svm1
Node      Date                     Time zone
--------- ------------------------ -------------------------
ontap912-01
          Wed Jul 31 15:25:00 2024 Japan
ontap912-02
          Wed Jul 31 15:25:00 2024 Japan
2 entries were displayed.

                                                                 ---Blocks---
Vserver  Volume   Snapshot                                  Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm1_ontap912
         vol1_svm1
                  ref_ss_volmove_7132_1719990827_9         144KB     0%    0%
                  ref_ss_volmove_7132_1719990921_10       4.40MB     0%    1%
                  weekly.2024-07-14_0015                  5.42MB     0%    1%
                  weekly.2024-07-21_0015                  7.85MB     0%    1%
                  daily.2024-07-25_0010                   1.81MB     0%    0%
                  daily.2024-07-26_0010                   9.36MB     0%    1%
                  hourly.2024-07-26_1105                   148KB     0%    0%
                  hourly.2024-07-26_1205                   152KB     0%    0%
                  hourly.2024-07-26_1305                  9.22MB     0%    1%
                  hourly.2024-07-26_1405                   152KB     0%    0%
                  hourly.2024-07-26_1505                   148KB     0%    0%
                  hourly.2024-07-26_1605                  4.43MB     0%    1%
                  snapmirror.2e3cb37b-64a9-11ed-b07f-005056959654_2150626468.2024-07-31_150500
                                                           148KB     0%    0%
                  5min.2024-07-31_1520                     144KB     0%    0%
                  ref_ss_volmove_7152_1722407087_23164     148KB     0%    0%
                  5min.2024-07-31_1525                     140KB     0%    0% 
16 entries were displayed.

Additional Information

additionalInformation_text
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.