Skip to main content
NetApp Knowledge Base

Snapshots - changing the snapshot policy may result in losing snapshots in the next scheduled run

Views:
3,318
Visibility:
Public
Votes:
3
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9.x
  • Clustered Data ONTAP 8.3
  • Clustered Data ONTAP 8.2

Issue

When changing the snapshot policy of a volume, the following prompt is displayed:

vol modify -vserver <vserver_name> -volume <volume_name> -snapshot-policy <snapshot_policy_name>

Example:

::> vol modify -vserver smsql -volume smsqlpri -snapshot-policy Newpolicy
Warning: You are changing the Snapshot policy on volume smsqlpri to Newpolicy. Any Snapshot copies on this volume from the previous policy will not be deleted by this new Snapshot policy.
Do you want to continue? {y|n}:

  • The message implies that all current snapshots will remain, but this is not the case.
  • The message says that snapshots will not be deleted 'immediately'.
  • Once the new schedule starts, all snapshots will adhere to the new policy if the naming convention stays the same.

What can occur:

  • If the new retention rule allows more snapshots per hourly, weekly, or monthly schedule, then nothing will happen.
  • If the new retention rule decreases the number of snapshots, then upon the next scheduled run, you will lose the older snapshots based on the new retention limit.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.