<?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 Netapp powershell | Restore file using snapshot in OpenStack Discussions</title>
    <link>https://community.netapp.com/t5/OpenStack-Discussions/Netapp-powershell-Restore-file-using-snapshot/m-p/157443#M417</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have Netapp powershell tool kit and trying to automate file restore operation using snapshot. I have found below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Restore-NcCifsShadowCopyDirectory&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Restore-NcSnapshotFile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I am not bale to successfully restore the file.&amp;nbsp; For example :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS C:&amp;gt; Restore-NcSnapshotFile&lt;/P&gt;
&lt;P&gt;cmdlet Restore-NcSnapshotFile at command pipeline position 1&lt;BR /&gt;Supply values for the following parameters:&lt;BR /&gt;(Type !? for Help.)&lt;BR /&gt;Path: /volume/text.txt&lt;BR /&gt;SnapName: weekly.2020-06-21_0015&lt;/P&gt;
&lt;P&gt;Restore file from snapshot&lt;BR /&gt;Are you sure you want to restore file /volume/test.txt from snapshot weekly.2020-06-21_0015?&lt;BR /&gt;[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y&lt;BR /&gt;Restore-NcSnapshotFile : Failed to restore file from Snapshot copy weekly.2020-06-21_0015 for volume&lt;BR /&gt;"volc1svm1_root" on Vserver "vserverc1svm1". Reason: Inappropriate file type or format.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Restore-NcSnapshotFile&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (10.181.209.22:NcController) [Restore-NcSnapshotFile], EONTAPI_&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.RestoreNcSnapshotFile&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 11:03:10 GMT</pubDate>
    <dc:creator>Khulbe</dc:creator>
    <dc:date>2025-06-04T11:03:10Z</dc:date>
    <item>
      <title>Netapp powershell | Restore file using snapshot</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Netapp-powershell-Restore-file-using-snapshot/m-p/157443#M417</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have Netapp powershell tool kit and trying to automate file restore operation using snapshot. I have found below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Restore-NcCifsShadowCopyDirectory&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Restore-NcSnapshotFile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I am not bale to successfully restore the file.&amp;nbsp; For example :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS C:&amp;gt; Restore-NcSnapshotFile&lt;/P&gt;
&lt;P&gt;cmdlet Restore-NcSnapshotFile at command pipeline position 1&lt;BR /&gt;Supply values for the following parameters:&lt;BR /&gt;(Type !? for Help.)&lt;BR /&gt;Path: /volume/text.txt&lt;BR /&gt;SnapName: weekly.2020-06-21_0015&lt;/P&gt;
&lt;P&gt;Restore file from snapshot&lt;BR /&gt;Are you sure you want to restore file /volume/test.txt from snapshot weekly.2020-06-21_0015?&lt;BR /&gt;[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y&lt;BR /&gt;Restore-NcSnapshotFile : Failed to restore file from Snapshot copy weekly.2020-06-21_0015 for volume&lt;BR /&gt;"volc1svm1_root" on Vserver "vserverc1svm1". Reason: Inappropriate file type or format.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Restore-NcSnapshotFile&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (10.181.209.22:NcController) [Restore-NcSnapshotFile], EONTAPI_&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.RestoreNcSnapshotFile&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:03:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Netapp-powershell-Restore-file-using-snapshot/m-p/157443#M417</guid>
      <dc:creator>Khulbe</dc:creator>
      <dc:date>2025-06-04T11:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Netapp powershell | Restore file using snapshot</title>
      <link>https://community.netapp.com/t5/OpenStack-Discussions/Netapp-powershell-Restore-file-using-snapshot/m-p/157447#M418</link>
      <description>&lt;P&gt;If you've already connected to the vserver using connect-nccontroller, try using the restore-ncsnapshotfile command like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;restore-ncsnapshotfile /vol/{volume_name}/test.txt weekly.2020-06-21_0015&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let me know if it works out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Adam&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 09:32:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/OpenStack-Discussions/Netapp-powershell-Restore-file-using-snapshot/m-p/157447#M418</guid>
      <dc:creator>aladd</dc:creator>
      <dc:date>2020-07-01T09:32:02Z</dc:date>
    </item>
  </channel>
</rss>

