<?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: SnapCenter 4.5 SQL retention in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/169986#M13408</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thanks for your input.&lt;/P&gt;&lt;P&gt;It's a new installation of SC, I'm running a poc for it. So no old policies should be there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output of get-smpolicy shows a mix of everything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Daily
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Daily
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Hourly
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : None
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : None
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Daily
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Hourly
  RetentionCount      : 2
  RetentionDays       : 0


&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Hourly
  RetentionCount      : 2
  RetentionDays       : 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I open a case towards Netapp for that ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 06:24:23 GMT</pubDate>
    <dc:creator>MaGr</dc:creator>
    <dc:date>2021-09-15T06:24:23Z</dc:date>
    <item>
      <title>SnapCenter 4.5 SQL retention</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/169934#M13406</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;we are running SC 4.5 to backup SQL server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's installed and running well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Retention is set to 4 days for full and 4 day for UTM restore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that in the server log volume (where the TBD files are) the snapshots are piling up.&lt;/P&gt;&lt;P&gt;At the moment there are 452 snapshot in the volume.&lt;/P&gt;&lt;P&gt;It's mentioned to set the LOG_SNAPSHOT value using the CMDLET. But it seems it's no longer supported to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Set-SmPolicy -PolicyName 'test' -PolicyType 'Backup' -Description 'Full and log backup Policy' 
-scheduleType Hourly -retentionsettings @{"BackupType"="DATA";"RetentionDays"="4"}, @{"BackupType"="DATA";"ScheduleType"="HOURLY";"RetentionDays"="4"},@{"BackupType"="LOG";"RetentionDays"="4"},@{"BackupType"="LOG_SNAPSHOT";"RetentionCount"="3"} 
-pluginpolicytype 'SCSQL' -sqlbackuptype 'Fullbackupandlogbackup' -CreateLogFolderSnapshot&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If fails with the following output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WARNING: Providing on demand retention setting for Hourly policy is deprecated. On Demand retention setting will be ignored.
WARNING: Log_Snapshot value is non-configurable and hence value provided for LOG_SNAPSHOT retention will be ignored.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I fix that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:14:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/169934#M13406</guid>
      <dc:creator>MaGr</dc:creator>
      <dc:date>2025-06-04T10:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: SnapCenter 4.5 SQL retention</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/169947#M13407</link>
      <description>&lt;P&gt;Marcus,&lt;/P&gt;&lt;P&gt;As bad as it sounds, I'm happy I'm not the only person facing this problem since 4.5.&amp;nbsp; I also had TBD files/snapshots piling up across our SQL environment, and eventually ended up where you are, trying to configure log retention via Powershell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The resolution for me, which is just a workaround, is I found old policies for DB backups that had "hourly" set for LOG_SNAPSHOT, which was the default setting before 4.5.&amp;nbsp; I have been copying those policies and applying them, replacing these LOG_SNAPSHOT "none" policies.&amp;nbsp; Sadly, one has to be careful about editing these copied policies as SC will re-write the LOG_SNAPSHOT value to "none" even if that wasn't the item in the policy being edited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd have to dig for it, but there is even a KB article I found that states LOG_SNAPSHOT should be set to "hourly" and not "none".&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 13:19:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/169947#M13407</guid>
      <dc:creator>CSCOTTENO</dc:creator>
      <dc:date>2021-09-14T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: SnapCenter 4.5 SQL retention</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/169986#M13408</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thanks for your input.&lt;/P&gt;&lt;P&gt;It's a new installation of SC, I'm running a poc for it. So no old policies should be there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output of get-smpolicy shows a mix of everything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Daily
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Daily
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Hourly
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : None
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : None
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Daily
  RetentionCount      : 2
  RetentionDays       : 0

&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Hourly
  RetentionCount      : 2
  RetentionDays       : 0


&amp;gt; BackupType          : LOG_SNAPSHOT
  SchedulerType       : Hourly
  RetentionCount      : 2
  RetentionDays       : 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I open a case towards Netapp for that ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 06:24:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/169986#M13408</guid>
      <dc:creator>MaGr</dc:creator>
      <dc:date>2021-09-15T06:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: SnapCenter 4.5 SQL retention</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/170165#M13410</link>
      <description>&lt;P&gt;Its a confirmed bug.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 08:59:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapCenter-4-5-SQL-retention/m-p/170165#M13410</guid>
      <dc:creator>MaGr</dc:creator>
      <dc:date>2021-09-22T08:59:14Z</dc:date>
    </item>
  </channel>
</rss>

