Skip to main content
Question

PostgreSQL WAL Backup failed with Error Code 94:13 POSTGRE_EXCEPTION Could not put the Cluster in backup mode

  • January 29, 2024
  • 4 replies
  • 1150 views

Forum|alt.badge.img+1

Hello.

We are using a postgresql single-node and the WAL backup is faling with Error Code 94:13 POSTGRE_EXCEPTION Could not put the Cluster in backup mode

Any idea how to fix it?

Thanks.

4 replies

Alex Deaconu
Vaulter
Forum|alt.badge.img+4

Hi Daniel,

 

--- What is the version of PostgreSQL running on the system?

--- Are there any other backups running on the system? This error typically shows up when a native backup is running. Sometimes a timeout statement might be configured inside PostgreSQL.

--- Have there been any random restarts, or has any previous backup job been killed before completion?

If you are certain that there are no backups running, you may ask a DBA to run ‘stop_pg_backup();

If you are not sure, can you post some log cuts from the client’s /var/log/commvault/Log_Files/PostGresBackupChild.log? Around the line ‘eRRoR --  PQresultStatus indicates failure for SELECT pg_start_backup(‘ you should see the actual error when we try to run pg_start_backup.


Just to address it before hand, in relation to the version of PostgreSQL running, we only support PG 15 since PR 2023e, known as SP 32. There have been some changes in the PG 15 APIs that change the syntax of the backups from pg_start_backup to pg_backup_start, and pg_stop_backup to pg_backup_stop, making it incompatible with older releases. The new Commvault release detects the version and runs the proper command accordingly.

SP 28 → support up to PostgreSQL 14.x.
https://documentation.commvault.com/2022e/essential/postgresql_agent_system_requirements.html

SP 32 → support up to PostgreSQL 15.x.
https://documentation.commvault.com/2023e/essential/postgresql_agent_system_requirements.html

API changes.
https://www.enterprisedb.com/blog/exclusive-backup-mode-finally-removed-postgres-15


Forum|alt.badge.img+5
  • Vaulter
  • 50 replies
  • January 29, 2024

Do you have the capability to open a support case? As this requires investigation and validation of the configuration. Once we have determined what was the problem, we can certainly post back on here with a summary for others to reference in the future


Meera
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • 70 replies
  • January 30, 2024

If you are using sp32, install hotfix pack 23 or greater and retry backup .


Forum|alt.badge.img+1
  • Author
  • Bit
  • 2 replies
  • February 1, 2024

Thank you everybody.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings