Backing up the vCenter Server components
In order to recover the vCenter Server components in the event of an outage that results in data loss or data corruption, it is necessary to perform backups of the databases and the vCenter Server configurations. The vCenter SSO, the vCenter Inventory Service, and the vCenter Server each have specific configuration information that should be backed up.
The frequency of backups depends on the Recovery Point Objective (RPO) that has been defined for the management environment. The RPO defines the maximum period of data loss that can be tolerated as a result of an outage. If the RPO has been determined to be four hours, this means backups should occur at least every four hours.
How to do it…
If the VCSA with the embedded database is used, a backup of the database can be taken using the following procedure:
Secure Shell (SSH) into the vCenter Server virtual appliance.
Change the path to
/opt/vmware/vpostgres/1.0/bin
.Run
./ pg_dump EMB_DB_INSTANCE -U EMB_DB_USER...