Forum Discussion

RiyasHussain's avatar
10 years ago
Solved

List Disk details with datastore name before Restore

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

  • This should do it: 

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

    (Im assuming you're using VMWare type policies)

2 Replies

  • This should do it: 

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

    (Im assuming you're using VMWare type policies)