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

Fix backup and restore scripts #2

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Conversation

mfisher87
Copy link
Contributor

dbuser is a Unix user in the Docker image, so it looks right. $DB_USER contains the username ("role") that's configured in the database itself.

Removed the ability to automatically restore from an unspecified backup file. That's dangerous. If we want this logic to find the latest backup file, we should be doing it in a calling script, not as a default behavior!

dbuser is a Unix user in the Docker image, so it looks right. $DB_USER
contains the username ("role") that's configured in the database itself.

Removed the ability to automatically restore from an unspecified backup
file. That's dangerous. If we want this logic to find the latest backup
file, we should be doing it in a calling script, not as a default
behavior!
@mfisher87 mfisher87 marked this pull request as ready for review September 27, 2024 23:11
@mfisher87
Copy link
Contributor Author

Tested backup in prod, restore in QA.

@mfisher87 mfisher87 merged commit f5019d2 into main Sep 27, 2024
@mfisher87 mfisher87 deleted the fix-backup-restore-scripts branch September 27, 2024 23:12
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.

1 participant