PowerShell script exchange
Post Reply
esir
Novice
Posts: 8
Liked: never
Joined: Mar 29, 2019 2:52 pm
Full Name: Esir Kings
Contact:

Failed to find a disk with the specified name

Post by esir »

I am trying to do a backup restoration to Amazon EC2. I have the following command to create a disk configuration

Code: Select all

$config = New-VBRAmazonEC2DiskConfiguration -DiskName "c" -Include -DiskType "{{ disk_type }}"
then I try to start the restoration with the command

Code: Select all

Start-VBRVMRestoreToAmazon -RestorePoint $restorepoint -Region $region -LicenseType  "{{ license_type }}" -InstanceType $instance -VMName "{{ vm_name }}" -DiskConfiguration $config -VPC $vpc -SecurityGroup $sgroup -Subnet $subnet
this fails with the error "Failed to find a disk with the specified name". The specified disk name however exist. What could be resulting to this??
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Failed to find a disk with the specified name

Post by veremin »

You should include there name of virtual disk, not name of guest volume.

Check the screenshots here.

Thanks!
esir
Novice
Posts: 8
Liked: never
Joined: Mar 29, 2019 2:52 pm
Full Name: Esir Kings
Contact:

Re: Failed to find a disk with the specified name

Post by esir »

Thank you a lot for this.
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests