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

Automate cron jobs configuration for WAL-G and minor fixes #395

Merged
merged 5 commits into from
Jul 5, 2023
Merged

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Jul 5, 2023

  1. If wal_g_install: true, configure cron jobs for WAl-G
  2. Added a cron job to delete backups and WAL archives (older than 30 days by default)
  3. Change the WAL-G config example to use with AWS S3
  4. Add the ability to pass AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, WALG_S3_PREFIX variables via --extra-vars
  5. Move "cron_jobs" variable to vars/system.yml
  6. Add the local replication rule to pg_hba.conf for WAl-G
  7. Add the path to the data directory for the wal-g backup-push command

New variable "wal_g_cron_jobs"

1. If wal_g_install: true, setting up cron jobs for WAl-G.
2. Change the WAL-G config example to use with AWS S3
3. Move "cron_jobs" variable to vars/system.yml

New variable "wal_g_cron_jobs"
@vitabaks vitabaks added the enhancement New feature or request label Jul 5, 2023
@vitabaks vitabaks self-assigned this Jul 5, 2023
@vitabaks vitabaks changed the title Automate the configuration of WAL-G cron jobs Automate cron jobs configuration for WAL-G Jul 5, 2023
@vitabaks vitabaks changed the title Automate cron jobs configuration for WAL-G Automate cron jobs configuration for WAL-G and minor fixes Jul 5, 2023
@vitabaks vitabaks merged commit a2f3196 into master Jul 5, 2023
20 checks passed
@vitabaks vitabaks deleted the wal-g branch July 8, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant