Feature Request: Backup Rotation per Schedule #5578
RobinBr26
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: Backup Rotation per Schedule
Problem
Currently, the backup limit in Pterodactyl is global per server.
All schedules share the same backup pool.
When the limit is reached, the oldest backups are removed, regardless of which schedule created them.
In practice, frequent backups (for example hourly ones) quickly push out daily or weekly backups.
Real-World Gaming Use Case
For a typical Minecraft or game server, a realistic setup would be:
This allows:
With the current global-only limit, this tiered retention model cannot be reliably achieved.
Possible Solutions
Option 1 (Simpler)
When the limit is reached, a schedule should rotate only its own backups.
Meaning:
This keeps the system simple while solving the core issue.
Option 2
Allow defining a retention limit per schedule (for example “retain 10 backups for this schedule”).
This would provide more flexibility, though it may require additional structural changes.
Contribution
I would be happy to implement this feature myself and open a Pull Request.
I understand that PRs require maintainer approval beforehand, so I am opening this discussion first to confirm that this direction would be accepted.
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions