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

Chore: Update DB restore script #7559

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

colinbruce
Copy link
Contributor

What

Allow us to pass in a named file to restore, this allows us to backup a UAT instance and restore it, it improves the instructions to make the new uses clearer.

Checklist

Before you ask people to review this PR:

  • Tests and rubocop should be passing: bundle exec rake
  • Github should not be reporting conflicts; you should have recently run git rebase main.
  • The standards in the Git Workflow document on Confluence should be followed
  • There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
  • The PR description should say what you changed and why, with a link to the JIRA story.
  • You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
  • You should have checked that the commit messages say why the change was made.

Allow us to pass in a named file to restore, this allows us to
backup a UAT instance and restore it, it improves the instructions
to make the new uses clearer.
@colinbruce colinbruce marked this pull request as ready for review December 30, 2024 14:28
@colinbruce colinbruce requested a review from a team as a code owner December 30, 2024 14:28
@colinbruce colinbruce added the ready for review Please review label Dec 30, 2024
rm ./tmp/production.anon.sql.gz

echo "Delete local zipped copy? This will leave the original, uncompressed file untouched"
select yn in "Yes" "No"; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! never used that before

Copy link
Contributor

@jsugarman jsugarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 but not tried

@colinbruce colinbruce merged commit 5886ba1 into main Jan 2, 2025
16 checks passed
@colinbruce colinbruce deleted the chore/update-restore-db-script branch January 2, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Please review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants