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

Have pgbackrest wrapper update the environment every so often. #109

Open
feikesteenbergen opened this issue Apr 28, 2021 · 0 comments
Open

Comments

@feikesteenbergen
Copy link
Member

Currently, the script relies fully on the environment in which it was started. This removes the possibility of updating a k8s secret, and having the update trickle down to the pgbackrest subcommand.

Possible solution:

  • allow a directory including environment variables as an argument to the script
  • do an envdir <directory> <command> for every pgbackrest call if the directory was set on the command line
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

1 participant