5502c19a5d6eb9ff950f29be0aa57d1e38c1162d
- Add RestoreEngine: extract ZIP, restore files, import DB, preserve configuration.php, clean up staging directory - Add FileRestorer: recursive file copy with protected file handling (skips configuration.php, .htaccess at root level) - Add DatabaseImporter: streaming line-by-line SQL execution with comment/multiline handling and error tolerance - Add Kickstart: standalone restore.php generator with web UI for restoring on blank servers (like Akeeba Kickstart Pro) - Pre-flight checks (PHP version, zip ext, writable) - Step-by-step: extract, import DB, update config, cleanup - Dark theme UI, CSRF protection, no dependencies - Add "Include Restore Script" toggle per profile — wraps backup as outer.zip containing restore.php + site-backup.zip - Add restore button to admin backups toolbar - Fix innerHTML XSS risk (use DOM methods instead) Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
- Download
pkg_mokobackup-*.zipfrom Releases - Joomla Administrator > Extensions > Install
- 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=1for 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 backupGET /api/index.php/v1/mokobackup/backups— List backup recordsGET /api/index.php/v1/mokobackup/backup/:id/download— Download archiveDELETE /api/index.php/v1/mokobackup/backup/:id— Delete backup recordGET /api/index.php/v1/mokobackup/profiles— List backup profiles
License
GPL-3.0-or-later
Author
Description
Full-site backup and restore for Joomla - database, files, and configuration
https://mokoconsulting.tech/support/products/mokojoombackup
Readme
1.9 MiB