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

Database backup policy #27

Open
TheOriginalSoni opened this issue Feb 12, 2024 · 2 comments
Open

Database backup policy #27

TheOriginalSoni opened this issue Feb 12, 2024 · 2 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@TheOriginalSoni
Copy link
Collaborator

It would be nice to figure out some simple backup policy on Postgres end.

While some clearcut features are not established, SQL backend will be the only way to fix certain problems, like deleting test hunts.
Plus, Myus will become a single point of failure to multiple hunts this way.

Would be good to figure out some sort of "Daily/Weekly backups" automatically.

@TheOriginalSoni TheOriginalSoni added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Feb 12, 2024
@TheOriginalSoni
Copy link
Collaborator Author

Scheduled "a" backup using Heroku's daily backup system. Yet to test if it works. It will run at 1200 hrs UTC everyday.

heroku pg:backups:schedule DATABASE_URL --at '12:00 Etc/UTC' --app myus-prod

According to the instructions, this means we'll have backup running daily and then retained for 7 days.

@TheOriginalSoni
Copy link
Collaborator Author

Probably will be good to either set up some sort of monthly manual backup system, or a completely separate backup procedure using Supabase. That way we're kinda proofed against hunts vanishing or the data going poof for any more than a day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant