Tags

, , , ,

 

    clip_image002

    Make backup_lin.py file as executable( we have to do it for both backup & restore files)

    clip_image003

    Now using below command we can back up our vcenter appliance embedded database( backup location/file

    Is /tmp/backup_VCDB.bak).If we want we can download this file using winscp

    clip_image004

    Before I run the restore process, im just removing one of the datacenter object from my vcenter web client

    clip_image005

    Same as backup_lin.py, we have to change restore_lin.py as executable

    clip_image006

    Before we start the restore process, we need to stop vpx & vdcs service. We can use below mention commnads

    clip_image007

    Using belwo command we can start restore process

    Python /tmp/restore_lin.py -f /tmp/backpu_VCDB.bak

    clip_image008

    clip_image009

    Once restart process completed. We have to start vpxd and vdcs services

    clip_image010

    Now we can re-login to the vcenter web client and check , deleted item has restored.

    clip_image011

    Reference links

    https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2091961

Advertisements