<?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: Restore Vcenter VM per SMVI without running vcenter? in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Restore-Vcenter-VM-per-SMVI-without-running-vcenter/m-p/114264#M10628</link>
    <description>&lt;P&gt;If you're using NFS, the easiest, but longest, way is to SSH to a vSphere host, cd into the datastore's .snapshot directory ("cd /vmfs/volumes/datastore_name/.snapshot/snapshot_name") and do a simple copy back into the volume...for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cp -f -R /vmfs/volumes/myFavoriteDatastore/.snapshot/weekly.0/MyvCenterVM/* /vmfs/volumes/myFavoriteDatastore/MyvCenterVM/&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the NetApp PowerShell Toolkit or the CLI you can create single file FlexClones pretty easily with NFS datastores. &amp;nbsp;You'll need to make sure there is a folder to restore the files into on the volume, then it's just creating FlexClones of the VMX and VMDKs from the snapshot...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$svmName = "mySVM"

$volumeName = "myFavoriteDatastore"
$sourceSnap = "weekly.0"

$files = @("vc.vmx", "vc.vmdk", "vc.vmdk-flat")
$sourceFolder = "/vc1/"
$destinationFolder = "/vc1_restored/"

$files | %{ 
    $sourcePath = "$($sourceFolder)$($_)"
    $destinationPath = "$($destinationFolder)$($_)"

    New-NcClone -Volume $volumeName -SourcePath $sourcePath -DestinationPath $destinationPath -SpaceReserved:$false -Snapshot $sourceSnap -VserverContext $svmName
}&lt;/PRE&gt;&lt;P&gt;After that you would simply need to browse the datastore and add the VM to inventory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do the same from the clustershell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;volume file clone create -vserver xxx -volume yyy -snapshot-name zzz -source-path /vm_name/vm_name.vmdk -destination-path /existing_folder/vm_name.vmdk&lt;/PRE&gt;&lt;P&gt;This is dramatically more difficult with block based storage since you have to do sub-LUN cloning and need to know the block ranges associated with the files. &amp;nbsp;This isn't something I'm familiar with doing, so it would be significantly easier to just create a volume FlexClone, mount it as a new datastore (remember to account for LUN resignature), and then add the VM to inventory and SvMotion it to a new datastore if desired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2016 02:26:57 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2016-01-05T02:26:57Z</dc:date>
    <item>
      <title>Restore Vcenter VM per SMVI without running vcenter?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Restore-Vcenter-VM-per-SMVI-without-running-vcenter/m-p/114262#M10627</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;How is it possible to restore vcenter-VM from SMVI-Snapshots?&lt;BR /&gt;In my opionion, the only way to restore VMs which a backup per SMVI, is to use VSC at the vcenter-Server.&lt;BR /&gt;But how can i do this, if vcenter-VM are failed / corrupted ?&lt;BR /&gt;&lt;BR /&gt;How can i restore the specific Vcenter-VM from SMVI-Snapshots without vcenter-VM ?? &lt;IMG id="smileymad" class="emoticon emoticon-smileymad" src="https://community.netapp.com/i/smilies/16x16_smiley-mad.png" alt="Smiley Mad" title="Smiley Mad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;kind regards&lt;/P&gt;&lt;P&gt;Gunnar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:24:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Restore-Vcenter-VM-per-SMVI-without-running-vcenter/m-p/114262#M10627</guid>
      <dc:creator>GUNNAR75</dc:creator>
      <dc:date>2025-06-04T22:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Vcenter VM per SMVI without running vcenter?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Restore-Vcenter-VM-per-SMVI-without-running-vcenter/m-p/114264#M10628</link>
      <description>&lt;P&gt;If you're using NFS, the easiest, but longest, way is to SSH to a vSphere host, cd into the datastore's .snapshot directory ("cd /vmfs/volumes/datastore_name/.snapshot/snapshot_name") and do a simple copy back into the volume...for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cp -f -R /vmfs/volumes/myFavoriteDatastore/.snapshot/weekly.0/MyvCenterVM/* /vmfs/volumes/myFavoriteDatastore/MyvCenterVM/&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the NetApp PowerShell Toolkit or the CLI you can create single file FlexClones pretty easily with NFS datastores. &amp;nbsp;You'll need to make sure there is a folder to restore the files into on the volume, then it's just creating FlexClones of the VMX and VMDKs from the snapshot...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$svmName = "mySVM"

$volumeName = "myFavoriteDatastore"
$sourceSnap = "weekly.0"

$files = @("vc.vmx", "vc.vmdk", "vc.vmdk-flat")
$sourceFolder = "/vc1/"
$destinationFolder = "/vc1_restored/"

$files | %{ 
    $sourcePath = "$($sourceFolder)$($_)"
    $destinationPath = "$($destinationFolder)$($_)"

    New-NcClone -Volume $volumeName -SourcePath $sourcePath -DestinationPath $destinationPath -SpaceReserved:$false -Snapshot $sourceSnap -VserverContext $svmName
}&lt;/PRE&gt;&lt;P&gt;After that you would simply need to browse the datastore and add the VM to inventory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do the same from the clustershell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;volume file clone create -vserver xxx -volume yyy -snapshot-name zzz -source-path /vm_name/vm_name.vmdk -destination-path /existing_folder/vm_name.vmdk&lt;/PRE&gt;&lt;P&gt;This is dramatically more difficult with block based storage since you have to do sub-LUN cloning and need to know the block ranges associated with the files. &amp;nbsp;This isn't something I'm familiar with doing, so it would be significantly easier to just create a volume FlexClone, mount it as a new datastore (remember to account for LUN resignature), and then add the VM to inventory and SvMotion it to a new datastore if desired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 02:26:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Restore-Vcenter-VM-per-SMVI-without-running-vcenter/m-p/114264#M10628</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-01-05T02:26:57Z</dc:date>
    </item>
  </channel>
</rss>

