Too much data
FZDNSZYT opened this issue · 5 comments
Is it possible to add a function to periodically clean up old data, the amount of data is getting bigger and bigger, I am worried that the server disk will not be able to hold it. Because I'm running a survival server and I've added some custom components.
@vacla It is tedious to purge by hand, because you don't always think about it and it can result in large amounts of data. Above a certain size, purge is almost impossible because it takes forever. And not everyone has a freely configurable server on which they can create cron jobs themselves.
We forgot about it for a few months and ended up with a database size of almost 40GB. For example, if you can set it to automatically delete all data older than 30 days when the server is started, this would be much easier and more useful.
@FZDNSZYT you can purge the database from time to time, check https://docs.coreprotect.net/commands/#co-purge for more info, you can also make a cron command if needed.
Duplicate of #176