AES-256 Encryption
Encryption is per-profile and driven entirely by the profile's Encryption Password in Archive Settings - a blank value means no encryption, any non-empty value turns AES-256 on. Support depends on the archive format:
- ZIP - WinZip-compatible AES-256 applied per entry after the archive is written (requires PHP 7.2+ with libzip 1.2.0+). File contents are encrypted; filenames stay visible.
- 7z - native
7zCLI encryption with header encryption (-mhe=on), so filenames are hidden too (requires p7zip / 7-Zip on the server). - tar.gz - encryption is not supported; the backup completes unencrypted and logs a warning.
If encryption is configured but the encryption step fails, the plaintext archive is deleted and the backup is recorded as failed, so an unencrypted copy is never left behind.
Secrets Encrypted at Rest
MokonyxBackup no longer stores its sensitive settings as plaintext in the database. The per-profile Encryption Password and every destination transport credential (FTP/SFTP passwords, SSH key passphrases, S3 secret keys, Backblaze application keys, Dropbox app secrets and refresh tokens, and the like) are encrypted at rest with AES-256-GCM, wrapped with an enc:v1: version prefix (handled by the component's SecretCipher service, keyed from the site's application secret). Values are decrypted only in memory at the moment a backup or upload actually needs them. Legacy plaintext values still read transparently and are re-wrapped the next time the profile or destination is saved.
Data Sanitization
Independently of encryption, a profile can scrub the database dump before it is archived: sanitize passwords (with preserve super admin), sanitize emails, and sanitize sessions. Credentials in configuration.php are also stripped automatically. Use encryption and sanitization together when shipping backups off-site.
SHA-256 Integrity
A SHA-256 checksum is computed for every archive after creation (after encryption, when enabled) and stored on the backup record - it is also exposed on the backup record in the REST API. Use the Verify Integrity button to re-compute the archive's SHA-256 and detect corruption or tampering. Only backups created after this feature was added carry a stored checksum.
MokonyxRestore Restore Script
Self-contained restore.php with CSRF protection, pre-flight checks, and encrypted-archive support. Upload it to any PHP server for a bare-server restore. See Restore & MokonyxRestore.
Backup Directory
Protected with .htaccess (Deny from all) and index.html. The out-of-the-box default backup directory now resolves to a backups folder one level above the web root (a sibling of the site root), so archives are never web-accessible by default; legacy profiles and local destinations that still point at an old in-web-root default (such as administrator/components/com_mokonyxbackup/backups) are migrated to this safe location on update. For best security, keep the backup directory outside the web root.
Permissions & ACL
Every MokonyxBackup capability is a granular Joomla ACL action, set per user group and per site under Options → Permissions. Super Users inherit all actions via core.admin; delegate individual capabilities to other groups by granting the specific actions below (enforced server-side in the controllers and on the REST API).
mokonyxbackup.backup.run- start backups (incl. the pre-action backup)mokonyxbackup.backup.cancel/mokonyxbackup.backup.stall- cancel / mark-stalled a running backupmokonyxbackup.backup.restore- restore (admin, stepped, WAF re-apply)mokonyxbackup.backup.download- download archivesmokonyxbackup.backup.purge- purge / delete backup recordsmokonyxbackup.backup.compare- differential comparisonsmokonyxbackup.backup.browse- browse archives, snapshots and directories; view logsmokonyxbackup.remote.manage- manage backup destinations (remote storage)mokonyxbackup.tuning.manage- run / reset the Execution-Tuning wizardmokonyxbackup.setup.manage- run / reset the first-run Setup wizardmokonyxbackup.snapshot.manage- all content-snapshot operations
Backup Profiles use the core create / edit / delete actions.