vCenter

 View Only
  • 1.  How to automate vCenter restore

    Posted May 08, 2024 03:12 AM

    We have taken vCenter backup on FTP. We would like to know if there is a way to AUTOMATE the restore of vCenter Backup. The installer DVD has two option to restore the backup 

    1.  /vcsa-ui-installer      vCenter Server Appliance GUI installer

           2. /vcsa-cli-installer     vCenter Server Appliance CLI installer

     

     We can restore the backup manually from the UI installer but we would like to restore it from CLI. The CLI json templates are available for Install, Migrate and Upgrade but missing for restore. Please let us know if there is a way to restore vCenter through CLI.



  • 2.  RE: How to automate vCenter restore

    Broadcom Employee
    Posted 27 days ago

    You can automate the restore, but there's not CLI-based method to do so, not sure why but I suspect this is an infrequent operation but you can use VCSA API to do so https://developer.broadcom.com/xapis/vsphere-automation-api/latest/appliance/recovery/restore-job/

    The process to mirror what the UI workflow is to deploy VCSA (non-configured with just Stage 1, meaning it'll be generic appliance w/temp IP address) and then once the VAMI API endpoint is available, you can then use that to initiate the restore via API referenced



    ------------------------------
    ----
    William Lam
    https://williamlam.com/
    ------------------------------