跳转到主内容

是否可以从 Snapshot 策略轮换中删除快照?

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

适用场景

  • ONTAP 9
  • Snapshot

问题解答

可以,可以通过从 Snapshot 策略中定义的 Snapshot 名称重命名 Snapshot 来保留 Snapshot 。

示例:

  1. 重命名 Snapshot :
    Cluster1::> volume snapshot rename -vserver svm1 -volume rename -snapshot 5minS.2020-09-16_1815 -new-name 5minS.2020-09-16_1815_RENAMED
  2. 第二天,重命名的 Snapshot 将一直保留,直到手动删除为止:
    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.


 

追加信息

附加信息 _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.