Content plugin - auto-backup before extension updates #30

Open
opened 2026-06-04 17:09:32 +00:00 by jmiller · 0 comments
Owner

Summary

New plg_content_mokobackup plugin that automatically triggers a backup before extension installs or updates.

Behavior

  • Subscribes to onExtensionBeforeInstall and onExtensionBeforeUpdate
  • Configurable via plugin params:
    • Backup Before Install (default: off)
    • Backup Before Update (default: on)
    • Profile selector - which backup profile to use
  • Throttled to one auto-backup per hour via session to prevent repeated triggers during bulk updates
  • Non-fatal - if backup fails, the install/update proceeds with a warning message

Files

  • src/packages/plg_content_mokobackup/ (full plugin directory)
## Summary New `plg_content_mokobackup` plugin that automatically triggers a backup before extension installs or updates. ## Behavior - Subscribes to `onExtensionBeforeInstall` and `onExtensionBeforeUpdate` - Configurable via plugin params: - **Backup Before Install** (default: off) - **Backup Before Update** (default: on) - **Profile selector** - which backup profile to use - Throttled to one auto-backup per hour via session to prevent repeated triggers during bulk updates - Non-fatal - if backup fails, the install/update proceeds with a warning message ## Files - `src/packages/plg_content_mokobackup/` (full plugin directory)
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomBackup#30