
Backing up and restoring vCenter configuration
About this task
This procedure provides steps for backing up an existing vCenter server and restoring the
configuration to a new server. See
https://kb.vmware.com/selfservice/microsites/search.do?
language=en_US&cmd=displayKC&externalId=2034505
for additional information about this
procedure.
Procedure
1. Deploy the new vCenter server.
2. Navigate to the new server using a web browser and the URL
https://
<vcenter_ip_address>:5480
.
3. Accept the certificate when prompted.
4. Log in to the new server.
5. Log in to the old server using PuTTY,
6. Stop the VMware vCenter Server service running on the old server using the command
vmware-vpxd stop
.
7. Navigate to the vPostgres utility directory on the old server using the command
cd /opt/
vmware/vpostgres/current/bin
.
8. Display the vPostgres database configuration file using the command
cat /etc/vmware-
vpx/embedded_db.cfg
.
9. Note the value of
EMB_DB_INSTANCE
and
EMB_DB_USER
.
10. Create the vCenter backup using the command
./pg_dump <EMB_DB_INSTANCE> -U
<EMB_DB_USER> -Fp -c > /tmp/VCDBBackupFile
where
<EMB_DB_INSTANCE>
and
<EMB_DB_USER>
are the values noted in the previous step.
11. Copy the
VCDBBackupFile
to the local system using SCP.
12. Create an SCP session with the new vCenter Server.
13. Copy the
VCDBBackupFile
to
/tmp
on new vCenter Server.
14. Create a SSH session to the new vCenter Server using PuTTY.
15. Display the new vPostgres database configuration file on new vCenter Server using the
command
cat /etc/vmware-vpx/embedded_db.cfg
.
16. Note the value of
EMB_DB_PASSWORD
and
EMB_DB_INSTANCE
.
17. Navigate to the vPostgres utility directory using the command
cd /opt/vmware/
vpostgres/current/bin
.
18. Stop the VMware vCenter Server service using the command
service vmware-vpxd
stop
.
Backing up and restoring vCenter configuration
October 2017
Troubleshooting the Avaya Pod Fx
™
41