Skip to main content
NetApp Knowledge Base

Is it possible to modify retention of an existing snapshot stored in object-store?

Views:
121
Visibility:
Public
Votes:
2
Category:
cloud-manager
Specialty:
bluexp
Last Updated:

Applies to

  • Cloud Backup
  • BlueXP
  • Snapshot Management

Answer

No, Snapshot retention works based on the snapmirror policy's 'Label' and 'Keep' function. Snapshots has no expiry-date set on them.

Additional Information

  • Below output shows an example "snapmirror policy" with daily label and keep count of 7.

::> snapmirror policy show
Vserver Policy             Policy Number         Transfer
Name    Name               Type   Of Rules Tries Priority Comment
------- ------------------ ------ -------- ----- -------- ----------
test_vserver CloudBackupDefault vault      1     8  normal  Vault policy with daily rule.
  SnapMirror Label: daily                              Keep:       7
                                                 Total Keep:       7

  • After accumulation of 7 daily snapshots, next "snapmirror update" which replicates a new 'daily' snapshot will replace the oldest 'daily' snapshot present on the volume/object-store.
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.