When attempting to run an NCM backup, the operation fails. Error observed on console:
ERROR: unexpected chunk size -4 (expected 380) in chunk [ID] of [ID] for toast value [ID] in pg_toast_[ID]pg_dump: error: Dumping the contents of table "cm_config_file" failed
All Supported NCM Versions
This issue occurs due to index corruption within the voyence.cm_config_file table or its associated TOAST. If these pointers or chunks become corrupted, the backup process (pg_dump) will fail when it tries to read the affected records.
To resolve the corruption, you must reindex the affected tables and analyze them to refresh the database statistics.
Upon successfully completing reindex and analyze, backup will work.