feat: Manual purge — delete all backup records older than a selected date #119

Closed
opened 2026-06-23 15:58:43 +00:00 by jmiller · 0 comments
Owner

Summary

Add a "Purge" toolbar button on the Backups list view that lets users delete all backup records (and their archive files) older than a user-specified date. Currently cleanup only runs automatically via retention settings — there's no manual bulk purge.

UI

  • Toolbar button: "Purge Old Backups"
  • Opens modal with date picker: "Delete all backups before: [date]"
  • Shows count of records that will be affected
  • Confirmation: "This will permanently delete X backups and their archive files"
  • Executes via AJAX, shows progress

Also applies to

  • Snapshots: similar purge on the Snapshots list view

Files

  • src/Controller/BackupsController.php — purge action
  • tmpl/backups/default.php — purge modal + AJAX
  • src/View/Backups/HtmlView.php — toolbar button
## Summary Add a "Purge" toolbar button on the Backups list view that lets users delete all backup records (and their archive files) older than a user-specified date. Currently cleanup only runs automatically via retention settings — there's no manual bulk purge. ## UI - Toolbar button: "Purge Old Backups" - Opens modal with date picker: "Delete all backups before: [date]" - Shows count of records that will be affected - Confirmation: "This will permanently delete X backups and their archive files" - Executes via AJAX, shows progress ## Also applies to - Snapshots: similar purge on the Snapshots list view ## Files - `src/Controller/BackupsController.php` — purge action - `tmpl/backups/default.php` — purge modal + AJAX - `src/View/Backups/HtmlView.php` — toolbar button
jmiller added the component: admin label 2026-06-23 15:58:43 +00:00
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteBackup#119