Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disaster Recovery Management #22

Open
2 tasks
ChakshuGautam opened this issue May 13, 2023 · 8 comments
Open
2 tasks

Disaster Recovery Management #22

ChakshuGautam opened this issue May 13, 2023 · 8 comments

Comments

@ChakshuGautam
Copy link
Collaborator

ChakshuGautam commented May 13, 2023

  • Define DR Management strategy for this.
  • Implementation.

References:

  1. https://github.com/EnterpriseDB/barman
  2. https://github.com/pgbackrest/pgbackrest
@PiyushRaj927
Copy link
Collaborator

Hi @ChakshuGautam, could you please provide more information on this issue? Thank you!

@nitishmalang
Copy link

Hi @ChakshuGautam, could you please provide more information on this issue? Thank you!

yes @ChakshuGautam please

@PiyushRaj927
Copy link
Collaborator

@ChakshuGautam, I would like your input on this suggestion. My suggestion is to use pgBarman (https://pgbarman.org/) in a separate container alongside our PostgreSQL installation. It enables Point-in-Time Recovery (PITR) for efficient data restoration during emergencies. Do you think this solution meets our requirements?

cc: @jayanth-kumar-morem @singhalkarun

@ChakshuGautam
Copy link
Collaborator Author

ChakshuGautam commented Jun 5, 2023

@PiyushRaj927 This is exactly what I was looking for. We have used Barman before and it works as expected. The wal logs are a bit too much in size so look for compression.

@jayanth-kumar-morem
Copy link
Collaborator

Hey @ChakshuGautam ,

PGSQL has built-in support for compressing WAL.
We can control this using the wal_compression configuration parameter in the postgresql.conf file. When this parameter is set to on, PostgreSQL will try to compress WAL data when a full page image is written to the WAL. This can significantly reduce the amount of WAL data.

@jayanth-kumar-morem
Copy link
Collaborator

@PiyushRaj927 Have you started working on this? If not I can take this one up.

@PiyushRaj927
Copy link
Collaborator

No @jayanth-kumar-morem, I have not started working on the issue.

@jayanth-kumar-morem
Copy link
Collaborator

Alright, I'll get on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants