Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Purge Old Variable Database Backups

Open NotSoDelayed opened this issue 2 years ago • 4 comments

Suggestion

Implement a new configurable core feature which purges old variables database backups after X days old.

Why?

Old backups are piled up after a long run overtime where beginners may have it unnoticed, and this system may come in handy to remove old backups as configured.

Other

No response

Agreement

  • [X] I have read the guidelines above and affirm I am following them with this suggestion.

NotSoDelayed avatar Mar 02 '23 10:03 NotSoDelayed

I'm open to this, but I think it should be disabled by default.

Pikachu920 avatar Mar 02 '23 17:03 Pikachu920

I think this be ultra nice because if you have a lot of auto restarts with a lot of variables you can rack up a huge file size pretty fast

ExtraSmartMiner avatar Mar 04 '23 19:03 ExtraSmartMiner

I'm open to this, but I think it should be disabled by default.

This shouldn't be disabled by default. This should be set to 7 days or 14 days and the player can change it to however long they want it to be.

EquipableMC avatar Jan 26 '24 16:01 EquipableMC

Even if the option is enabled by default, 7 or 14 days is consider short, and there are those people who are unaware of certain changes / features in Skript or any other plugins out there, which then I believe they will make their way to the generated files / configs to discover them, and in this topic we're talking about backups which may be crucial when the time comes. You knew that they can change the duration of how long backups last, so I vouch for having this option disabled by default, then have users configure it.

NotSoDelayed avatar Jan 26 '24 16:01 NotSoDelayed

Note PR available #6851

NotSoDelayed avatar Jul 18 '24 06:07 NotSoDelayed