Unsolved
This post is more than 5 years old
12 Posts
0
517
August 24th, 2015 03:00
Retrieve disk during restore VMDK using Command Line
Hi Team,
We are trying to restore VMDK using recover command. Below the command we are trying to use for recovery. Need some clarification the same.
recover.exe -S 4088446651 -o VADP:host=x.x.x.x;VADP:transmode=NBD;VADP:datacenter=TEST;VADP:hostsystem=y.y.y.y;VADP:datastore="config=SAN-Datastore_ds8870-1#Hard disk 1=SAN-Datastore_ds8870-1#Hard disk 2=SAN-Datastore_ds8870-1";VADP:displayname=Test_target
As highlighted in above, what command is used to retrieve the list of datastore that needs to added in recover command. It is possible to see those disk manually from GUI. But is there any command that can be used for retrieving those details?
Please help.
Thanks and Regards
Shivashankar



sechm
1 Rookie
•
79 Posts
0
August 24th, 2015 10:00
I was facing the same challenge. How to dynamically add the correct number of hard disks to the command line for recovery when I didn't know the number of hard disks?
I implemented a scripted solution to log the number of hard disks at the time of adding the VM to NetWorker, as well as quering Virtual Center when doing a recovery test. Usually, the number of hard disks don't change that often and one of these numbers should be correct.
shivwaddankeri
12 Posts
0
August 25th, 2015 03:00
Thanks cmorrall,
Can u share the script with me
Regards,
Shivashankar