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

Postgres backups #127

Merged
merged 12 commits into from Aug 15, 2017
Merged

Postgres backups #127

merged 12 commits into from Aug 15, 2017

Conversation

choliver
Copy link
Member

@choliver choliver commented Aug 15, 2017

This is structured as a K8S job that dumps all DBs from target Postgres, zips up to GCS bucket, and then does a test restore against a temp Postgres instance.

Sidecar containers in pods are currently noob (see kubernetes/kubernetes#25908), so we have to keep a permanent Postgres service running to perform the restores against.

TODO

  • Delete the example-postgres service once we have a real Postgres that we want to backup.
  • Convert to a cron job.
  • Figure out how to trigger alerts on job failure.

@choliver choliver merged commit 171eb87 into develop Aug 15, 2017
@choliver choliver deleted the feature/backups branch August 15, 2017 18:04
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 this pull request may close these issues.

None yet

2 participants