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

Question: Best Practices for Configuring Health Checks on DB Backups #314

Open
n8creator opened this issue Mar 29, 2024 · 3 comments
Open

Comments

@n8creator
Copy link

Hey there! I'm looking to set up automatic database backups on S3 for my applications (I have several of them), and I want to implement health checks to monitor if the database is being backed up according to the schedule. Typically, I make an HTTP GET request to an external service, like so:

curl -m 10 --retry 5 https://hc-ping.com/your-uuid-here

What would be the best way to trigger these calls after the backup-schedule command being executed, such as:

dokku postgres:backup-schedule lollipop "0 3 * * *" my-s3-bucket

Any suggestions or best practices would be greatly appreciated! Thanks in advance for any help.

@josegonzalez
Copy link
Member

There isn't a way to do what you're asking here unfortunately.

@n8creator
Copy link
Author

There isn't a way to do what you're asking here unfortunately.

Ok, thanks for quick answer!

@josegonzalez
Copy link
Member

I'm going to reopen this. It's a good suggestion, just not sure how we can implement it.

@josegonzalez josegonzalez reopened this Mar 31, 2024
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

No branches or pull requests

2 participants