We're running version 6 of vCenter Server Appliance, and I am trying to make a manual backup of our vPostgres db. However, following the instructions here (Backing up and restoring the vCenter Server Appliance 5.x vPostgres database (2034505) | VMware KB), I do not see an entry for "EMD_DB_PASSWORD" in /etc/vmware-vpx/embedded_db.cfg. I am asked for the password when I execute the command ./pg_dump VCDB -U vc -Fp -c > /tmp/VCDBackUp but do not have that password.
I know that I'm running version 6 but the instructions are for 5.X. Do the steps vary that much? Can anyone make any suggestions?
That KB will not work.
Refer this KB - Back up and restore vCenter Server Appliance/vCenter Server 6.0 vPostgres database (2091961) | VMwar...
Back Up the Embedded vCenter Server Appliance Database
Back up the embedded vCenter Server Appliance database to protect the data stored in your vPostgres database.
Prerequisite:
Create the folder in which you want to create the backup file and verify that you have read and write permissions on this folder.
Procedure:
When the backup completes, you see a message that the backup completed successfully.
-
Haridas
That KB will not work.
Refer this KB - Back up and restore vCenter Server Appliance/vCenter Server 6.0 vPostgres database (2091961) | VMwar...
Back Up the Embedded vCenter Server Appliance Database
Back up the embedded vCenter Server Appliance database to protect the data stored in your vPostgres database.
Prerequisite:
Create the folder in which you want to create the backup file and verify that you have read and write permissions on this folder.
Procedure:
When the backup completes, you see a message that the backup completed successfully.
-
Haridas
Thanks!! I had been looking for that version 6-specific documentation, but didn't realize that the Windows and the Linux instructions were both in the same article. I appreciate the help.