Hi Ajay
thanks for the imformation. I ran the script and got the following output.
root@vm-vcsa-01 [ / ]# /scripts/vpgsql-consistency-check.sh -a -b -f /tmp/ -v
amcheck extension is not installed
amcheck extension is not installed
05-10-2021T10:48:15 Starting the catalog diagnostic
05-10-2021T10:48:16 Successfully finished the catalog diagnostic
Taking a backup of the VCDB to: /tmp/
05-10-2021T10:48:16 Starting backup of the VCDB database.
05-10-2021T10:48:23 Successfully finished backup of the VCDB database.
05-10-2021T10:48:23 Starting backup of the AFD database.
05-10-2021T10:48:24 Successfully finished backup of the AFD database.
05-10-2021T10:48:24 Starting PSQL Instance Vacuum
vCenter is currently running.
05-10-2021T10:48:46 Finished PSQL Instance Vacuum
05-10-2021T10:48:46 Starting Consistency Check
05-10-2021T10:48:54 Finished Consistency Check.
Consistency Check PASSED. The database has been found to be consistent. No further action required.
However I am still getting the error when backing up the DB via the VAMI. I have attached the log file which mentions 3 circular foreign-key constraints on the following 3 tables - vpx_task, vpx_entity, pm_config_commits.
Thanks