Delete old data automatically #3230
Replies: 4 comments
-
This should be implemented as a cron job and is outside the scope of the app. The app has no concept of jobs. |
Beta Was this translation helpful? Give feedback.
-
How about add a background worker and expose a config, letting user choose how long the data should be stored? |
Beta Was this translation helpful? Give feedback.
-
Another idea would be to create a possibility to delete old data manually and expose that via a umami-cli or a local endpoint so admins can easily create a cronjob for that. |
Beta Was this translation helpful? Give feedback.
-
Also, please reopen this issue to discuss. |
Beta Was this translation helpful? Give feedback.
-
Originally posted by @ncovercash in #292
As this request got buried in another issue that was already merged I'd like to come back to this and open a separate issue for this.
I too am only interested in data from the last 2 month.
I'd appreciate a possibility to automatically truncate all data that's older than a specified time range. This could be a simple cronjob that deletes old data once a day.
Beta Was this translation helpful? Give feedback.
All reactions