Skip to content

Backup & Restore

abystrixLicense includes an automatic backup system for the H2 database.

Automatic Backups

Configure backups from the admin dashboard under Settings > Backups:

  • Backup Interval (hours) — How often to create backups
  • Max Backups — Maximum number of backups to retain

Backups are stored in the backups/ directory as timestamped H2 SQL dump files.

Manual Backup

Backups can also be triggered manually from the dashboard.

Restore

To restore from a backup:

  1. Stop the application
  2. Locate the backup file in the backups/ directory
  3. Replace the current database file (data/abystrixLicense.mv.db) with the backup
  4. Restart the application

Alternatively, you can restore via the H2 console at /h2-console using the RUNSCRIPT FROM command.

Released under the MIT License.