-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[Enhancement]: See and manage DB backups via API #5697
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
base: next
Are you sure you want to change the base?
[Enhancement]: See and manage DB backups via API #5697
Conversation
… version to 4.0.0-beta.414 in configuration files
…IPs in terminal server
Hi @andrasbacsai, I noticed the PR was closed without being merged, and the branch was deleted. I’d really appreciate a bit of feedback if possible, was there something wrong with the implementation, or was the feature no longer needed? Understanding what went wrong would help me improve for future contributions. Thanks a lot! |
It was a mistake, sorry. I recreated the |
Thanks for the PR and the video! Enjoyed reviewing it. I found a few things that needs to be fixed:
Can you please modify the code accordingly? |
Hi @andrasbacsai, Thanks a lot for the feedback! Just to confirm: Then I'll introduce a new route: |
…ckup ID; modify response to include backup id
Hey @andrasbacsai, here are the changes i have done right now.
|
Changes
GET /databases
API including weather backups are configured locally or via s3 bucket, cron schedule and last successful backup timestampGET /databases/:uuid/backups
PATCH /databases/:uuid
API. Right now you can configure all of the backup detail you see in the backup panel, including creating a backup, all via api.DELETE /databases/:uuid/backups/:backup_id
I also recorded a video showing a demo: https://www.youtube.com/watch?v=hbN-ygTPBRc
Also I wrote a python script show casing how it can be used via API: https://github.com/DanielHemmati/coolify-api-demo
Issues
/claim #5672