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

Workflows for Disaster Recovery #4868

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Workflows for Disaster Recovery #4868

wants to merge 1 commit into from

Conversation

neillturner
Copy link

@neillturner neillturner commented Jan 28, 2025

Context

add workflows required for disaster recovery

Changes proposed in this pull request

add 3 new workflows to to do database backup, restore and restore to point in time for qa and production environments

Guidance to review

see the successfully runs at:

https://github.com/DFE-Digital/publish-teacher-training/actions/runs/13071845733

https://github.com/DFE-Digital/publish-teacher-training/actions/runs/13034133027

you can test by checkout the branch and running

gh workflow run database-restore.yml -r dr-test -f backup-sanitise=false -f environment=qa (NOTE: This actually does a backup -))

gh workflow run postgres-ptr.yml -r dr-test -f environment=qa -f restore-time=2026-01-29T06:00:00

gh workflow run postgres-restore.yml -r dr-test -f environment=qa

Trello Card

Publish: Plan for DR test - Feb 2025

@neillturner
Copy link
Author

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.

2 participants