Data Keeper
Data Keeper shows how much your Craft site stores and how fast it grows: database, saved versions, change records, deleted elements, backups, logs and files. Retention rules remove what is too old – but only after you switch them on and confirm a run.
Store only what you need. The less a site keeps, the less can leak, the smaller backups get, and the shorter the list of retention periods in your privacy policy.
What you get
- Overview – a card per key figure with a level (OK, Keep an eye on it, Act now) and the change since the last measurement, the largest database tables, the folders and the course over the months.
- Measuring on request – from the control panel, the console or the queue. The measurements live in one small file
in
storage/, not in your database. - Retention cleanup, opt-in – rules for saved versions, database backups, log files, Craft’s change records and any other table with a date column. Every rule is off by default.
- See before you delete – the Cleanup page shows what every rule would remove. Removing needs a confirmation, runs in the queue and is refused if the numbers changed since you looked.
- Clear saved versions per entry – keep the newest N, optionally the very first one, optionally only by age.
- Notifications – as a notice in the control panel, by e-mail or webhook, and at a status endpoint for monitoring tools.
- For your privacy policy – the retention periods of all active rules, ready to copy.
- Console commands, a queue job, permissions. Interface in English, German, French and Italian.
Requirements
Craft CMS 5.0 or later, PHP 8.2 or later, MySQL, MariaDB or PostgreSQL.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
0
License
MIT
Last release
November 13, 2026



