cancel
Showing results for 
Search instead for 
Did you mean: 

List Disk details with datastore name before Restore

RiyasHussain
Level 4

Hi Team,

We are working on restoring VM using command line. For this we are quering whether backup for the source client is available and then restore those backed up disks into new VM. Everything we are trying to do in command line.

We end up in an issue where we are not sure what command can be used to query for back in order to get list of disks in below format.

/datastore name/vmname/vm diskname.vmdk

Restore works when we give the above format of vmdk path in command.

Please help me with command that query backup and returns full vmdk path as above mentioned

Thanks and Regards

Riyas Hussain A

1 ACCEPTED SOLUTION

Accepted Solutions

areznik
Level 5

This should do it: 

bplist -flops 33554432 -C <client> -s <startdate> -e <enddate> -R -t 40 /

(Im assuming you're using VMWare type policies)

View solution in original post

2 REPLIES 2

areznik
Level 5

This should do it: 

bplist -flops 33554432 -C <client> -s <startdate> -e <enddate> -R -t 40 /

(Im assuming you're using VMWare type policies)

RiyasHussain
Level 4

Hi Areznik,

That works perfectly fine. Thanks for your help.