<?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: Wildcards for Snapshot names in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wildcards-for-Snapshot-names/m-p/103538#M4246</link>
    <description>&lt;P&gt;I have been trying to figure out how to pick the most recent snapshot created by SMO to make a clone out of. This might work if I can get the DBAs to add a job that is monthly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It would be nice to have some sort of option to do wildcards and most recent for chosing a snapshot to back a clone, that would make things even easier.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2015 01:20:18 GMT</pubDate>
    <dc:creator>SomeGuy</dc:creator>
    <dc:date>2015-04-22T01:20:18Z</dc:date>
    <item>
      <title>Wildcards for Snapshot names</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wildcards-for-Snapshot-names/m-p/66096#M3302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the ONTAP powershell toolkit support the use of wildcards when specifying a snapshot name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg - if i want to create a flexclone from a SME snapshot with a time/date included in the name.&amp;nbsp; There will only ever be one snapshot per volume that ends _Weekly.&lt;/P&gt;&lt;P&gt;So I was wondering if i could use a wildcard like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New-NaVolClone -CloneVolume vol_Server_DB1_NDMP -ParentVolume vol_Server_DB1 -ParentSnapshot &lt;/P&gt;&lt;P&gt;&lt;SPAN class="filepath"&gt;&lt;SPAN class="filepath"&gt;exchsnap__Server_DB1_*_Weekly &lt;/SPAN&gt;&lt;/SPAN&gt;-SpaceReserve none &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="filepath"&gt;&lt;SPAN class="filepath"&gt;*the wildcard is replacing the time and date within the snapshot name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="filepath"&gt;&lt;SPAN class="filepath"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="filepath"&gt;&lt;SPAN class="filepath"&gt;cheers&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:59:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wildcards-for-Snapshot-names/m-p/66096#M3302</guid>
      <dc:creator>gavin_meadows</dc:creator>
      <dc:date>2025-06-05T05:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcards for Snapshot names</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wildcards-for-Snapshot-names/m-p/66100#M3303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution to this myself using a variable in case anyone was wondering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$Weeklysnapshot = Get-NaSnapshot VOLUME | Where-Object {$_.Name –match “Weekly”}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New-NaVolClone -CloneVolume VOLUME_CLONE-ParentVolume VOLUME -ParentSnapshot $Weeklysnapshot -SpaceReserve none &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although this will serve my needs it is relient on there only ever being 1 snapshot per volume with "weekly" in its name.&amp;nbsp; I'm making good headway with passing the actual snapshot names from SME into a similar script - a much more elegant solution me thinks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:35:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wildcards-for-Snapshot-names/m-p/66100#M3303</guid>
      <dc:creator>gavin_meadows</dc:creator>
      <dc:date>2013-07-10T14:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcards for Snapshot names</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wildcards-for-Snapshot-names/m-p/103538#M4246</link>
      <description>&lt;P&gt;I have been trying to figure out how to pick the most recent snapshot created by SMO to make a clone out of. This might work if I can get the DBAs to add a job that is monthly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It would be nice to have some sort of option to do wildcards and most recent for chosing a snapshot to back a clone, that would make things even easier.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 01:20:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wildcards-for-Snapshot-names/m-p/103538#M4246</guid>
      <dc:creator>SomeGuy</dc:creator>
      <dc:date>2015-04-22T01:20:18Z</dc:date>
    </item>
  </channel>
</rss>

