• Applicable Software: MokonyxBackup
  • Min Version Number: 01.19.00
  • Max Version Number: Not Applicable

What verification actually does

Verification is an automated test-restore. For the selected backup, MokonyxBackup extracts the archive to a throwaway temporary directory and imports the database dump into your current database under a unique random table prefix (for example a prefix like vrfy followed by random hex). Because that scratch prefix is random, it can never collide with your live prefix, so your live tables are never read or written. It then runs a set of health checks and, in a guaranteed cleanup step, drops only the scratch-prefixed tables and removes the temporary directory.

The result is a real answer to the only question that matters in a crisis: does this archive extract cleanly, and does its database import into a working schema with real data?

The checks it runs

Depending on the backup type, verification checks:

  • Archive extracts - the archive opens and unpacks (split / multipart backups are reassembled and checksum-verified first).
  • Database dump present - a non-empty database.sql is in the archive (for full, database, and differential backups).
  • Import is clean - the dump imports into the scratch prefix with no errors.
  • Users table restored - the restored users table actually contains rows.
  • Configuration present - the site configuration file is in the archive (full backups only).

The three verdicts

VerdictMeaning
VerifiedEvery applicable check passed. The backup test-restored successfully.
FailedA check failed - for example the archive would not extract, the dump was missing, the import errored, or the users table came back empty. This backup should not be trusted.
InconclusiveVerification could not reach a verdict. The most common cause is an encrypted archive: backup passwords are never stored, so verification cannot open it. A missing archive on disk or no writable temp space also reads as inconclusive rather than a false failure.

Running a verify

Open the Backups list. Each completed backup row shows a Verified column with a colour-coded badge (verified, failed, inconclusive, or not-verified), the relative time it was last verified, and the verdict reason as a tooltip. Click the per-row Verify button to run the test-restore over AJAX; the cell repaints in place with the new verdict when it finishes. The action is gated on the core.manage permission.

The verdict is also stored on the record (the verify time, status, and detail), so it persists across page loads and drives the dashboard card below.

The Last Good Restore dashboard card

The MokonyxBackup dashboard shows a read-only Last Good Restore stat card: the most recent backup whose automated test-restore passed, with its relative verify time and profile name. It is the at-a-glance answer to "when did I last have a backup I know is restorable?" If nothing has verified yet, the card shows an empty state. Clicking it opens that backup.

Failure notifications

A failed verdict can notify you - verified and inconclusive verdicts are silent. Notification reuses your default profile's existing notification settings and the shared Notify on failure preference:

  • Email - sent to the profile's notify email address plus the failure user groups (falling back to Super Users), with the record ID, description, type, archive name, and the failure reason.
  • ntfy - a high-priority push to your configured ntfy topic and server (with an optional bearer token), titled for the site and carrying the record and reason.

Notification is fail-open: a problem sending the alert can never change the verdict that was recorded. If you have not set Notify on failure or configured an email/ntfy target on the default profile, no alert is sent.

Notes

  • Verification never touches live tables - only the random scratch prefix is created and later dropped.
  • Encrypted backups report inconclusive, not failed, because the password is not stored.
  • Scheduled (automatic) verification is a planned follow-up; today you trigger verify on demand from the Backups list.