rafaelma / pgbackman

PostgreSQL backup manager

Home Page:https://e-mc2.net/projects/pgbackman/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pausing / resuming recovery process on PgSQL nodes running as slaves.

rafaelma opened this issue · comments

By default postgreSQL will kill any backup running against a slave node if the recovery process is running and the backup is taking too long to finish because the database is large.

This behavior can be controlled with max_standby_archive_delay and max_standby_streaming_delay but to be sure we can finish running our backups we need to pause the recovery process when running the backup and resume it when we are done if the PgSQL node is a slave/standby node