<?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: Script that delete snapshots of volume by the number of the snapshots in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105717#M21686</link>
    <description>&lt;P&gt;yes,&lt;/P&gt;&lt;P&gt;i already manage my script &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks anyway!&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2015 20:09:41 GMT</pubDate>
    <dc:creator>HENHENHEN</dc:creator>
    <dc:date>2015-06-01T20:09:41Z</dc:date>
    <item>
      <title>Script that delete snapshots of volume by the number of the snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105694#M21680</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;i looking for a script that will go over all my volumes and delete all of my "weekly" snapshots of each volume only if that volume has more than 6 "daily" snapshots&lt;/P&gt;&lt;P&gt;if i have less than 6 "daily" snapshots dont delete any snapshot from the volume&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need to do this on 7 mode and C-mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it could save me a lot of work&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for help's!!&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.netapp.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:12:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105694#M21680</guid>
      <dc:creator>HENHENHEN</dc:creator>
      <dc:date>2025-06-05T04:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script that delete snapshots of volume by the number of the snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105698#M21681</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, are you familiar with the powershell toolkit. &amp;nbsp;This is something that you need to work on to get started. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How many controllers are we talking about and about how many volumes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 11:41:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105698#M21681</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2015-06-01T11:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Script that delete snapshots of volume by the number of the snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105717#M21686</link>
      <description>&lt;P&gt;yes,&lt;/P&gt;&lt;P&gt;i already manage my script &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks anyway!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:09:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105717#M21686</guid>
      <dc:creator>HENHENHEN</dc:creator>
      <dc:date>2015-06-01T20:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script that delete snapshots of volume by the number of the snapshots</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105994#M21772</link>
      <description>&lt;P&gt;Could you not just configure the snapshot retention period for each volume using system manager?&amp;nbsp; In CDOT you would just create a SnapShot Policy and assign the volumes to it.&amp;nbsp; In 7 mode just use set the retention to 6 daily and 1 weekly.&amp;nbsp; You would not have to run a script everyday for this.&amp;nbsp; If you have a lot of them you could use powershell to assign a policy to all of the or DFM "Run Command".&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2015 18:05:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Script-that-delete-snapshots-of-volume-by-the-number-of-the-snapshots/m-p/105994#M21772</guid>
      <dc:creator>CASTROJSEC</dc:creator>
      <dc:date>2015-06-09T18:05:08Z</dc:date>
    </item>
  </channel>
</rss>

