Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Revisions Cleanup

Security covered Maintenance fixes only 256 sites

This module helps manage your database size by automatically deleting old content revisions while keeping a configurable number of recent revisions and a select few historical revisions per month. It also supports multilingual sites and removes associated paragraph revision data.

Deletes old revisions that you likely no longer need, keep newer revisions you likely need, and allows administrators to keep historic revisions, one/x per month, in order to keep your database from not growing large, and keep key revisions to future comparison.

You should use this module your database is too large due the high number of revisions your project is keeping, specially if you also use multiple languages in your site, and you want to reduce the database utilization.

Features

  • Keeps newer revision from the last X days
  • Retain X old revisions per month
  • Removes associated paragraphs revision data
  • Respects the different languages

Post-Installation - Usage

  1. Install the module as usual
  2. Configure the module at admin/config/system/revision-cleanup , changing the number of days to keep older revisions, and the amount of revisions per month to hold onto.
  3. Wait for cron to populate the queue processor
  4. Wait for cron to run in order to watch revisions disappear, or force the queue run via Drush:
    drush queue-run revision_cleanup_processor

Similar projects

There are many similar project that can be found at https://www.drupal.org/project/node_revision_delete
The main difference between this project and other modules is that "Revisions Cleanup" allows administrators to retain a configurable number of days of revisions, a configurable number of old revisions per month, and is prepared to work with multi-languages websites.

Supporting this Module

This module was originally developed for San Francisco Unified School District (SFUSD), and is maintained by Kalamuna

Drupal 8–11

Ask your assistant about Revisions Cleanup

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Jun 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0 Stable 8–11 Jan 30, 2025
1.0.0-alpha3 Pre-release 8–10 Aug 28, 2023
1.0.0-alpha2 Pre-release 8–10 Aug 21, 2023
1.0.0-alpha1 Pre-release 8–10 Jun 16, 2023
1.0.x-dev Dev 8–11 Jun 16, 2023