Quantcast
Channel: VMware Communities : Discussion List - Backup & Recovery
Viewing all articles
Browse latest Browse all 1844

Import-vApp

$
0
0

Hi

We backup VMs with PS script.

When I shall try to restore a VM in Powershell with Import-vApp I just get athis error, what is the problem?

 

PS C:\Users\a-serveradmin1> $myCluster = Get-Cluster -Name "Shared Cluster"

PS C:\Users\a-serveradmin1> $vmHost = Get-VMHost -Name "na-vmware-019.comp.local"

PS C:\Users\a-serveradmin1> Import-vApp -Source "D:\DEMO-BACKUP_old\Backup Test Machine\Backup Test Machine.OVF" -VMHost $vmHost -Location $myCluster -Name "Backup Test Machine"

Import-vApp : 10/28/2020 6:09:52 AM     Import-VApp             The OVF descriptor does not match the hash from

the manifest.

At line:1 char:1

+ Import-vApp -Source "D:\DEMO-BACKUP_old\Backup Test Machine\Backup Te ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidArgument: (:) [Import-VApp], ViError

    + FullyQualifiedErrorId : ViCore_VappServiceImpl_ImportVApp_DescriptorHashManifestMistmatch,V

   Mware.VimAutomation.ViCore.Cmdlets.Commands.ImportVApp

 

 

PS C:\Users\a-serveradmin1>


Viewing all articles
Browse latest Browse all 1844

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>