When attempting to restore a vCenter Server from a file-based backup, the process fails at Step 2 and displays the following error message:RestoreManager encountered an exception.See logs for detail. https://<vCenter_IP>:5480/vami/backend/vc-support.cgi
Retrying the restore operation with the same backup file fails with the same error.
The /var/log/vmware/applmgmt/reconciliation.log shows a failure to start services:YYYY-MM-DDThh:dd:ss.sss [###-###-###] [MainProcess:PID-#####] [ReconciliationManager::main:ReconciliationManager.py:301] ERROR: Failed to complete reconciliation.Error Failed to start all services.
The /var/log/vmware/vmon/vmon.log indicates that the vpxd service crashed:YYYY-MM-DDThh:dd:ss.sssZ In(05) host-##### <vpxd> Service STARTED successfully.YYYY-MM-DDThh:dd:ss.sssZ In(05) host-##### <vpxd> Service is dumping core. Coredump count 0. CurrReq: 0YYYY-MM-DDThh:dd:ss.sssZ Wa(03) host-##### <vpxd> Service exited. Exit code 1YYYY-MM-DDThh:dd:ss.sssZ Wa(03) host-##### <vpxd> Service exited unexpectedly. Crash count 0. Taking configured recovery action.
The /var/log/vmware/vpxd/vpxd.log shows a VCDB error causing the crash:YYYY-MM-DDThh:dd:ss.sss error vpxd[#####] [Originator@6876 sub=Default opID=#####] An unrecoverable problem has occurred, stopping the VMware VirtualCenter service. Error: Error[VdbODBCError] (-1) "ODBC error: (23505) - ERROR: duplicate key value violates unique constraint "pk_n_vm_config_info"
VMware vCenter Server 8.0
This issue occurs due to database inconsistencies within the backup.
Retry the restore operation using a different backup file.