postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Support backups from replica pod

Open turbra opened this issue 2 years ago • 1 comments

What is the motivation or use case for the change?

pgbackrest/pgdumps backups are taken against primary pod.

Describe the solution you'd like

Enable an option to selectively trigger backups on replica, instead of primary.

Please tell us about your environment:

Where is this running ( Local, Cloud Provider): Local

  • Storage being used: SAN
  • PostgreSQL Version: 13.4
  • Platform: Openshift
  • Platform Version: 4.8.35
  • Operator Version: 4.7.3
  • Additional context: We are not using pgbouncer or pgpool

turbra avatar May 12 '22 19:05 turbra

@turbra thank you for the feature request and for using PGO!

We have an enhancement in our backlog to support backups from replicas as you described.

andrewlecuyer avatar Jun 06 '22 15:06 andrewlecuyer