<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: retention of primary On-demand Backup in NMC in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30672#M6311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Regis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What is the retention count ?&amp;nbsp; The retention count is only available via CLI use the following cli to find the same. Only when both duration and count is exceed PM deletes a snapshot or backup version. &lt;SPAN style="color: #454545; font-family: monospace; font-size: 12px; background-color: #ffffff;"&gt;Basically PM does a least aggressive deletion of snapshots.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: monospace; font-size: 12px; background-color: #ffffff;"&gt;dfpm policy node get -q &amp;lt;policy name-or-id&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-size: 12px; background-color: #ffffff; font-family: monospace;"&gt;Also below is the algorithm that PM uses to delete backup versions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not obvious how Protection Manager determines when to delete a Protection Manager-created snapshot.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Here is the algorithm for deleting PM (Protection Manager) created snapshots.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Each PM created snapshot is categorized by PM as either a daily, hourly, weekly, monthly or unlimited.&lt;BR /&gt;For each category except unlimited, there is a minimum retention count and a retention duration.&lt;BR /&gt;These settings are used to determine if old or expired snapshots will be deleted.&lt;/P&gt;&lt;OL style="color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;LI&gt;Are there more snapshots than the retention count?&lt;/LI&gt;&lt;SPAN style="margin: 0 0 10px;"&gt;No: Do not delete any snapshots. Exit&lt;BR /&gt;Yes: Continue to Step 2&lt;/SPAN&gt;&lt;LI&gt;Are there any snapshots older than the retention period?&lt;/LI&gt;&lt;SPAN style="margin: 0 0 10px;"&gt;No: Do not delete any snapshots. Exit.&lt;BR /&gt;Yes: Create list of candidate-to-be-deleted snapshots that exceed the retention period. Go to Step 3.&lt;/SPAN&gt;&lt;LI&gt;Loop through list of candidate-to-be-deleted snapshots. Is this snapshot busy?&lt;/LI&gt;&lt;P style="margin: 0 0 10px;"&gt;No: Delete it.&lt;BR /&gt;Yes: Do not delete it.&lt;/P&gt;&lt;/OL&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;This algorithm is started by the Protection Manager conformance checker and is run on all data sets that are not suspended.&lt;BR /&gt;The algorithm is run for all the snapshot categories except unlimited.&lt;BR /&gt;Unlimited snapshots do not ever get deleted by this algorithm.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Below is an example policy. There are retention counts and retention durations, per policy node, for hourly, daily, weekly and monthly.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;CODE&gt;&amp;gt; dfpm policy node get example_policy&lt;/CODE&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;CODE&gt;Node ID: 1&lt;BR /&gt;Node Name: Primary data&lt;BR /&gt;Hourly Retention Count: 2&lt;BR /&gt;Hourly Retention Duration: 86400&lt;BR /&gt;Daily Retention Count: 2&lt;BR /&gt;Daily Retention Duration: 604800&lt;BR /&gt;Weekly Retention Count: 1&lt;BR /&gt;Weekly Retention Duration: 1209600&lt;BR /&gt;Monthly Retention Count: 0&lt;BR /&gt;Monthly Retention Duration: 0&lt;BR /&gt;Backup Script Path: &lt;BR /&gt;Backup Script Run As: &lt;BR /&gt;Failover Script Path: &lt;BR /&gt;Failover Script Run As: &lt;BR /&gt;Snapshot Schedule Id: 0&lt;BR /&gt;Snapshot Schedule Name: &lt;BR /&gt;Warning Lag Enabled: Yes&lt;BR /&gt;Warning Lag Threshold: 129600&lt;BR /&gt;Error Lag Enabled: Yes&lt;BR /&gt;Error Lag Threshold: 172800&lt;/CODE&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;CODE&gt;Node ID: 2&lt;BR /&gt;Node Name: Backup&lt;BR /&gt;Hourly Retention Count: 0&lt;BR /&gt;Hourly Retention Duration: 0&lt;BR /&gt;Daily Retention Count: 2&lt;BR /&gt;Daily Retention Duration: 1209600&lt;BR /&gt;Weekly Retention Count: 2&lt;BR /&gt;Weekly Retention Duration: 4838400&lt;BR /&gt;Monthly Retention Count: 1&lt;BR /&gt;Monthly Retention Duration: 8467200&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Regards&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 May 2013 08:48:48 GMT</pubDate>
    <dc:creator>adaikkap</dc:creator>
    <dc:date>2013-05-26T08:48:48Z</dc:date>
    <item>
      <title>retention of primary On-demand Backup in NMC</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30667#M6310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing a strange behavior, that may be normal or not, but I don't know how to show &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IHAC who had to create a On-demand Backup in NMC before a maintenance Window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The protection policy used is DR Mirror then Backup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual schedule:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;Primary node: &lt;/SPAN&gt;some hourly and daily snaphots&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;retention in the policy are :&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;hourly: 1 day&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;daily: 1 week&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;weekly: 2 weeks (usually never used since there is no weekly backup scheduled)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Secondary Node:&lt;/SPAN&gt; 1 mirror per day&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Tertiary node:&lt;/SPAN&gt; some daily and weekly backups&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;retention in the policy are :&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;hourly: 1 day (never used)&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;daily: 1 week&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;weekly: 30 weeks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer decided to create an on-demand backup with retention &lt;STRONG&gt;weekly &lt;/STRONG&gt;since it should replace the scheduled remote weekly backup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After now nearly one month, the weekly on-demand backup is still on the tertiary node, which is OK but it's still on the primary node as well despite a policy retention of 2 weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if this is normal or not:&lt;/P&gt;&lt;P&gt;I thought about 2 reasons why the weekly backup on the primary node would not be deleted:&lt;/P&gt;&lt;P&gt;- The retention applied is the one of the remote node instead the one of the primary node. Why would that be ?&lt;/P&gt;&lt;P&gt;- The weekly snapshots are only deleted when new weekly snapshots are created and in normal use, no weekly snapshots are scheduled by this customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before opening a case, I would like to know if this is an expected behaviour and why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:02:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30667#M6310</guid>
      <dc:creator>REGIS_GARRUCHET</dc:creator>
      <dc:date>2025-06-05T06:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: retention of primary On-demand Backup in NMC</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30672#M6311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Regis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; What is the retention count ?&amp;nbsp; The retention count is only available via CLI use the following cli to find the same. Only when both duration and count is exceed PM deletes a snapshot or backup version. &lt;SPAN style="color: #454545; font-family: monospace; font-size: 12px; background-color: #ffffff;"&gt;Basically PM does a least aggressive deletion of snapshots.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: monospace; font-size: 12px; background-color: #ffffff;"&gt;dfpm policy node get -q &amp;lt;policy name-or-id&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-size: 12px; background-color: #ffffff; font-family: monospace;"&gt;Also below is the algorithm that PM uses to delete backup versions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not obvious how Protection Manager determines when to delete a Protection Manager-created snapshot.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Here is the algorithm for deleting PM (Protection Manager) created snapshots.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Each PM created snapshot is categorized by PM as either a daily, hourly, weekly, monthly or unlimited.&lt;BR /&gt;For each category except unlimited, there is a minimum retention count and a retention duration.&lt;BR /&gt;These settings are used to determine if old or expired snapshots will be deleted.&lt;/P&gt;&lt;OL style="color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;LI&gt;Are there more snapshots than the retention count?&lt;/LI&gt;&lt;SPAN style="margin: 0 0 10px;"&gt;No: Do not delete any snapshots. Exit&lt;BR /&gt;Yes: Continue to Step 2&lt;/SPAN&gt;&lt;LI&gt;Are there any snapshots older than the retention period?&lt;/LI&gt;&lt;SPAN style="margin: 0 0 10px;"&gt;No: Do not delete any snapshots. Exit.&lt;BR /&gt;Yes: Create list of candidate-to-be-deleted snapshots that exceed the retention period. Go to Step 3.&lt;/SPAN&gt;&lt;LI&gt;Loop through list of candidate-to-be-deleted snapshots. Is this snapshot busy?&lt;/LI&gt;&lt;P style="margin: 0 0 10px;"&gt;No: Delete it.&lt;BR /&gt;Yes: Do not delete it.&lt;/P&gt;&lt;/OL&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;This algorithm is started by the Protection Manager conformance checker and is run on all data sets that are not suspended.&lt;BR /&gt;The algorithm is run for all the snapshot categories except unlimited.&lt;BR /&gt;Unlimited snapshots do not ever get deleted by this algorithm.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Below is an example policy. There are retention counts and retention durations, per policy node, for hourly, daily, weekly and monthly.&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;CODE&gt;&amp;gt; dfpm policy node get example_policy&lt;/CODE&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;CODE&gt;Node ID: 1&lt;BR /&gt;Node Name: Primary data&lt;BR /&gt;Hourly Retention Count: 2&lt;BR /&gt;Hourly Retention Duration: 86400&lt;BR /&gt;Daily Retention Count: 2&lt;BR /&gt;Daily Retention Duration: 604800&lt;BR /&gt;Weekly Retention Count: 1&lt;BR /&gt;Weekly Retention Duration: 1209600&lt;BR /&gt;Monthly Retention Count: 0&lt;BR /&gt;Monthly Retention Duration: 0&lt;BR /&gt;Backup Script Path: &lt;BR /&gt;Backup Script Run As: &lt;BR /&gt;Failover Script Path: &lt;BR /&gt;Failover Script Run As: &lt;BR /&gt;Snapshot Schedule Id: 0&lt;BR /&gt;Snapshot Schedule Name: &lt;BR /&gt;Warning Lag Enabled: Yes&lt;BR /&gt;Warning Lag Threshold: 129600&lt;BR /&gt;Error Lag Enabled: Yes&lt;BR /&gt;Error Lag Threshold: 172800&lt;/CODE&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;CODE&gt;Node ID: 2&lt;BR /&gt;Node Name: Backup&lt;BR /&gt;Hourly Retention Count: 0&lt;BR /&gt;Hourly Retention Duration: 0&lt;BR /&gt;Daily Retention Count: 2&lt;BR /&gt;Daily Retention Duration: 1209600&lt;BR /&gt;Weekly Retention Count: 2&lt;BR /&gt;Weekly Retention Duration: 4838400&lt;BR /&gt;Monthly Retention Count: 1&lt;BR /&gt;Monthly Retention Duration: 8467200&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Regards&lt;/P&gt;&lt;P style="margin: 0 0 10px; color: #454545; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2013 08:48:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30672#M6311</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2013-05-26T08:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: retention of primary On-demand Backup in NMC</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30681#M6312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all these infos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I asked for the customer to have the results of the command you gave me. I will post them when I have them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time, I tried on my test platform with the default policy DR Mirror then Backup, &lt;/P&gt;&lt;P&gt;It says for Node 1 (Primary Data) that : &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;weeklyRetentionCount=1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess, it means that there should be always 1 weekly snapshot available on the primary node.&lt;/P&gt;&lt;P&gt;Is "1" the default value for weekly snapshots on Primary Data&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand well, (if the retention count for weekly snapshot is 1 as well on the customer site), in our case where this weekly&amp;nbsp; snapshot was a on-demand snapshot and there is no schedule for weekly snapshots, it means:&lt;/P&gt;&lt;P&gt;- it would stay forever unless we generate another snapshot or we change the retention count to 0 . Am I right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 14:03:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30681#M6312</guid>
      <dc:creator>REGIS_GARRUCHET</dc:creator>
      <dc:date>2013-05-27T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: retention of primary On-demand Backup in NMC</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30686#M6313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Regis,&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So I guess, it means that there should be always 1 weekly snapshot available on the primary node.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is "1" the default value for weekly snapshots on Primary Data&amp;nbsp; ?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Yes. Thats what my memory says.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If I understand well, (if the retention count for weekly snapshot is 1 as well on the customer site), in our case where this weekly&amp;nbsp; snapshot was a on-demand snapshot and there is no schedule for weekly snapshots, it means:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- it would stay forever unless we generate another snapshot or we change the retention count to 0 . Am I right ?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Yes. Even after you generate another weekly snapshot, or Set the count to 0. It would still remain until&amp;nbsp; 14 days since it was created as thats the duration count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 06:23:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/retention-of-primary-On-demand-Backup-in-NMC/m-p/30686#M6313</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2013-05-28T06:23:25Z</dc:date>
    </item>
  </channel>
</rss>

