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

[Enhancement]: Delete old backups #4782

Closed
isokosan opened this issue Jan 9, 2025 · 5 comments · Fixed by #4598
Closed

[Enhancement]: Delete old backups #4782

isokosan opened this issue Jan 9, 2025 · 5 comments · Fixed by #4598

Comments

@isokosan
Copy link

isokosan commented Jan 9, 2025

Request Type

Improvement

Description

We must log in to multiple S3 storages or write custom scripts to clean up old backups.

The backup database to s3 option is great, but there is no way to delete old backups (older than x days) or apply the number of backups to keep (locally) also to remote storage s3.

I have multiple databases across different coolify cloud instances so this addition would be great.

@isokosan isokosan added ✨ Enhancement Issues requesting new features, new services or improvements. 🔍 Triage Issues that need assessment and prioritization. labels Jan 9, 2025
Copy link

algora-pbc bot commented Jan 9, 2025

💎 $20 bounty • denizar

Steps to solve:

  1. Start working: Comment /attempt #4782 with your implementation plan
  2. Submit work: Create a pull request including /claim #4782 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to coollabsio/coolify!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @peaklabs-dev Jan 13, 2025, 12:21:06 PM #4818

@algora-pbc algora-pbc bot added the 💎 Bounty Issues with a monetary reward for completion. label Jan 9, 2025
@TotalLag
Copy link

TotalLag commented Jan 9, 2025

You can apply object lifecycle policies to the bucket to help trim down old files: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html

@isokosan
Copy link
Author

isokosan commented Jan 9, 2025

Awesome didn't know this thank you! I do have a few clients who use non-aws s3 storages not sure if they have the same functions but I will check. But I understand this makes this feature quite useless.

I will keep the bounty though if anyone else thinks this feature is desired.

@peaklabs-dev peaklabs-dev self-assigned this Jan 13, 2025
@peaklabs-dev peaklabs-dev removed the 🔍 Triage Issues that need assessment and prioritization. label Jan 13, 2025
@peaklabs-dev
Copy link
Member

peaklabs-dev commented Jan 13, 2025

/attempt #4782

Algora profile Completed bounties Tech Active attempts Options
@peaklabs-dev 1 bounty from 1 project
PHP, MDX,
Rust
Cancel attempt

@peaklabs-dev peaklabs-dev added this to the v4.0.0 Stable Release milestone Jan 13, 2025
@github-actions github-actions bot removed 💎 Bounty Issues with a monetary reward for completion. ✨ Enhancement Issues requesting new features, new services or improvements. labels Jan 14, 2025
Copy link

algora-pbc bot commented Jan 17, 2025

🎉🎈 @peaklabs-dev has been awarded $20! 🎈🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants