Jonathan Miller 63997252bf
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
feat: dashboard widget (#18), differential backups (#19), JPA import (#20)
#18 — Dashboard Quickicon Widget:
- plg_quickicon_mokobackup: shows backup status on admin dashboard
- Displays: last backup time, total count, storage used
- Warning states: no backups, recent failures, stale (>7 days)
- Links to backup records view

#19 — Differential Backups:
- New backup_type: "differential" — only backs up changed/new files
- DifferentialScanner: builds manifest (path+size+mtime) on full backups
- Compares current filesystem against base manifest on differential runs
- Manifest stored in backup record (LONGTEXT column)
- Falls back to full backup if no base manifest exists
- Database is always fully dumped (no incremental DB)

#20 — JPA Format Import:
- JpaUnarchiver: parses Akeeba JPA binary format
- Handles: archive header, file entities, gzip decompression, permissions
- RestoreEngine auto-detects JPA vs ZIP by reading signature bytes
- Enables restoring from existing Akeeba .jpa backup files

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-02 18:56:21 -05:00

MokoJoomBackup

Full-site backup and restore for Joomla — database, files, and configuration.

Overview

MokoJoomBackup is a comprehensive backup solution for Joomla 4/5/6 sites. It creates complete site backups including the database, files, and configuration, packaged into downloadable ZIP archives. Supports multiple backup profiles, scheduled backups via CLI/cron, and a REST API for remote management.

Features

  • Full site backup (database + files + configuration)
  • Database-only backup mode
  • Files-only backup mode
  • Multiple backup profiles with independent configurations
  • File and directory exclusion filters
  • Table exclusion filters for database backups
  • Step-based backup engine (avoids PHP timeout on large sites)
  • CLI script for cron/scheduled backups
  • REST API (Joomla Web Services) for remote management
  • Backup record management (list, download, delete)
  • Automatic old backup cleanup (configurable retention)
  • Admin dashboard with backup history and storage usage

Installation

  1. Download pkg_mokobackup-*.zip from Releases
  2. Joomla Administrator > Extensions > Install
  3. System plugin enabled automatically on install

Configuration

  • Component: Administrator > Components > MokoJoomBackup
  • Profiles: Create backup profiles with different file/database filters
  • System Plugin: Configure scheduled backup triggers and notifications
  • CLI: php cli/mokobackup.php --profile=1 for cron-based backups

REST API

The webservices plugin exposes endpoints compatible with the MokoBackup MCP server:

  • POST /api/index.php/v1/mokobackup/backup — Start a backup
  • GET /api/index.php/v1/mokobackup/backups — List backup records
  • GET /api/index.php/v1/mokobackup/backup/:id/download — Download archive
  • DELETE /api/index.php/v1/mokobackup/backup/:id — Delete backup record
  • GET /api/index.php/v1/mokobackup/profiles — List backup profiles

License

GPL-3.0-or-later

Author

Moko Consultinghello@mokoconsulting.tech

S
Description
Full-site backup and restore for Joomla - database, files, and configuration
https://mokoconsulting.tech/support/products/mokosuitebackup Readme
2.7 MiB
Languages
PHP 95.3%
Shell 2.2%
Makefile 1.9%
HTML 0.6%