跳转到主内容

如何确定快照的保留时间?

Views:
17
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

  • ONTAP 9
  • Snapshot 策略

问题解答

  • 计划快照策略创建的快照的保留取决于策略的配置方式。
  • 通过以下默认快照策略的输出、我们可以看到每个策略schedulecount""都与""关联。
  • 此值 count 表示为关联计划保留的快照数量。
  • 以每小时计划为例、将保留6个快照、这意味着将保留6小时的每小时快照。
Cluster1::> snapshot policy show
Vserver: SVM1
                         Number of Is
Policy Name              Schedules Enabled Comment
------------------------ --------- ------- ----------------------------------
default                          3 true    Default policy with hourly, daily & weekly schedules.
   Schedule              Count    Prefix                 SnapMirror Label
    ---------------------- -----     ---------------------- -------------------
    hourly                     6     hourly                 -
    daily                      2     daily                  daily
    weekly                     2     weekly                 weekly
  • 请注意、快照将根据上面显示的"前缀"进行删除。
  • 因此、如果重命名快照并删除前缀、则不会根据快照策略"COUNT"删除该快照。

 

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.