<?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: Trying to restore a VM with snap restore on NFS fails. in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Trying-to-restore-a-VM-with-snap-restore-on-NFS-fails/m-p/58664#M13766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does snap restore not see a folder as a file like Unix does? If not how can I restore a VM that has been deleted by by vSphere? It seems I must restore each file and create a destination/target source. As proof in point from my test from a snap create test2. I was hoping there was wildcard syntax. As what would you do if you required to restore an entire VM? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filer02&amp;gt; snap restore -t file -s test2 -r /vol/unixshare/atest/ /vol/unixshare/atest/atest2.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING! This will restore a file from a snapshot into the active&lt;/P&gt;&lt;P&gt;filesystem.&amp;nbsp; If the file already exists in the active filesystem,&lt;/P&gt;&lt;P&gt;it will be overwritten with the contents from the snapshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you want to do this? y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have selected file /vol/unixshare/atest/atest2.txt, snapshot test2&lt;/P&gt;&lt;P&gt;It will be restored as /vol/unixshare/atest/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed with restore? y&lt;/P&gt;&lt;P&gt;snap restore: Target directory does not exist in active file system.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;filer02&amp;gt; snap restore -t file -s test2 -r /vol/unixshare/junk/atest2.txt /vol/unixshare/atest/atest2.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING! This will restore a file from a snapshot into the active&lt;BR /&gt;filesystem.&amp;nbsp; If the file already exists in the active filesystem,&lt;BR /&gt;it will be overwritten with the contents from the snapshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you want to do this? y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have selected file /vol/unixshare/atest/atest2.txt, snapshot test2&lt;BR /&gt;It will be restored as /vol/unixshare/junk/atest2.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed with restore? y&lt;BR /&gt;filer02&amp;gt; It worked as expected...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2013 20:35:04 GMT</pubDate>
    <dc:creator>DRUMDUDESAN</dc:creator>
    <dc:date>2013-12-23T20:35:04Z</dc:date>
    <item>
      <title>Trying to restore a VM with snap restore on NFS fails.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Trying-to-restore-a-VM-with-snap-restore-on-NFS-fails/m-p/58656#M13760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note:&lt;STRONG&gt;VM folder-name (b9131474-2624-4b48-b6ef-8e23a4747d96)&lt;/STRONG&gt; is the original VM folder name&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Environment: NetApp 3140 ONTAOP 8.01 7-mode filers exported to ESXi server via NFS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem:&amp;nbsp; Cannot restore a VM that was deleted in vSphere from snapshot&lt;/P&gt;&lt;P&gt;Syntax: filer&amp;gt; snap restore -t file -s nightly.3 "/vol/silver07/&lt;STRONG&gt;VM folder-name (b9131474-2624-4b48-b6ef-8e23a4747d96)&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;WARNING! This will restore a file from a snapshot into the active filesystem.&amp;nbsp; If the file already exists in the active filesystem,it will be overwritten with the contents from the snapshot.&lt;/P&gt;&lt;P&gt;Are you sure you want to do this? y&lt;/P&gt;&lt;P&gt;You have selected file /vol/silver07/&lt;STRONG&gt;VM folder-name (b9131474-2624-4b48-b6ef-8e23a4747d96)&lt;/STRONG&gt;, snapshot nightly.3&lt;/P&gt;&lt;P&gt;Proceed with restore? y&lt;/P&gt;&lt;P&gt;snap restore error: Inappropriate file type or format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what I am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:46:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Trying-to-restore-a-VM-with-snap-restore-on-NFS-fails/m-p/58656#M13760</guid>
      <dc:creator>DRUMDUDESAN</dc:creator>
      <dc:date>2025-06-05T05:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to restore a VM with snap restore on NFS fails.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Trying-to-restore-a-VM-with-snap-restore-on-NFS-fails/m-p/58660#M13762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only plain files can be restored, not directories.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Dec 2013 06:11:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Trying-to-restore-a-VM-with-snap-restore-on-NFS-fails/m-p/58660#M13762</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2013-12-22T06:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to restore a VM with snap restore on NFS fails.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Trying-to-restore-a-VM-with-snap-restore-on-NFS-fails/m-p/58664#M13766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does snap restore not see a folder as a file like Unix does? If not how can I restore a VM that has been deleted by by vSphere? It seems I must restore each file and create a destination/target source. As proof in point from my test from a snap create test2. I was hoping there was wildcard syntax. As what would you do if you required to restore an entire VM? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filer02&amp;gt; snap restore -t file -s test2 -r /vol/unixshare/atest/ /vol/unixshare/atest/atest2.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING! This will restore a file from a snapshot into the active&lt;/P&gt;&lt;P&gt;filesystem.&amp;nbsp; If the file already exists in the active filesystem,&lt;/P&gt;&lt;P&gt;it will be overwritten with the contents from the snapshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you want to do this? y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have selected file /vol/unixshare/atest/atest2.txt, snapshot test2&lt;/P&gt;&lt;P&gt;It will be restored as /vol/unixshare/atest/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed with restore? y&lt;/P&gt;&lt;P&gt;snap restore: Target directory does not exist in active file system.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;filer02&amp;gt; snap restore -t file -s test2 -r /vol/unixshare/junk/atest2.txt /vol/unixshare/atest/atest2.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING! This will restore a file from a snapshot into the active&lt;BR /&gt;filesystem.&amp;nbsp; If the file already exists in the active filesystem,&lt;BR /&gt;it will be overwritten with the contents from the snapshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you want to do this? y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have selected file /vol/unixshare/atest/atest2.txt, snapshot test2&lt;BR /&gt;It will be restored as /vol/unixshare/junk/atest2.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed with restore? y&lt;BR /&gt;filer02&amp;gt; It worked as expected...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 20:35:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Trying-to-restore-a-VM-with-snap-restore-on-NFS-fails/m-p/58664#M13766</guid>
      <dc:creator>DRUMDUDESAN</dc:creator>
      <dc:date>2013-12-23T20:35:04Z</dc:date>
    </item>
  </channel>
</rss>

