Forum Discussion

Vladimir_Vucini's avatar
14 years ago
Solved

How to start VM redirected restore job with latest backup set?

Hello, I have a daily backups of VMs from ESX A and I would like to have script or command line that would be able to start restore job of VM to other ESX B using latest availabe backup set. Does anyone have an idea how to do this, in Backup Exec 2010 R3? Thank, Vladimir Vucinic

6 Replies

  • Hi,

     

    You can try using becmd.exe, but there is no other way within BE itself to automate a restore...

     

    Thanks!

  • Hello,

    So, does anybody know how to get latest backup set (GUID) using bemcmd? Any script, sample?

    Best regards,

    Vladimir

  • Hi pkh, Thank you, this is the right way, now I need to create script that will parse the output to be ablo to get those GUIDs. Also, -o21 can be user with -e switch, so that only last job history info will be shown. Thanks, Vladimir
  • The problem is that AVVI is not supported by bemcmd. The only thing that you can do with bemcmd, even when you know job history, etc. is to start existing restore job or to create a new restore job but without redirection, just to restore where it was at the time of the backup.

    So, I can mannualy create restore job with redirectoin of VMs, but I can't change selection to the last available backup set. Any idea how to do this?