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

Support WAL-G encrypted backups #636

Closed
kamikazechaser opened this issue Sep 22, 2021 · 3 comments · Fixed by #649
Closed

Support WAL-G encrypted backups #636

kamikazechaser opened this issue Sep 22, 2021 · 3 comments · Fixed by #649

Comments

@kamikazechaser
Copy link
Contributor

kamikazechaser commented Sep 22, 2021

Allow wal-g to push encrypted backups with PGP (supported in v1.1). PGP requires only 1 (unless if passphrase is involved) env variable to be passed. A public key is enough for backups only and a private key can do both.

Would adding the WALG_PGP_KEY env variable to: https://github.com/zalando/spilo/blob/master/postgres-appliance/scripts/configure_spilo.py#L763 be enough?

@CyberDem0n
Copy link
Contributor

Would adding the WALG_PGP_KEY env variable to

Probably. I would recommend to build the image and check it.

@kamikazechaser
Copy link
Contributor Author

I'll try that out.

@stephan-breitrainer
Copy link
Contributor

stephan-breitrainer commented Oct 14, 2021

I've added the missing environment variables for WALG_LIBSODIUM_KEY, WALG_LIBSODIUM_KEY_PATH, WALG_PGP_KEY,WALG_PGP_KEY_PATH and WALG_PGP_KEY_PASSPHRASE according to the supported encryption methods in wal-g: https://github.com/wal-g/wal-g#encryption in #649

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

Successfully merging a pull request may close this issue.

3 participants