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:
- Stop the application
- Locate the backup file in the
backups/directory - Replace the current database file (
data/abystrixLicense.mv.db) with the backup - Restart the application
Alternatively, you can restore via the H2 console at /h2-console using the RUNSCRIPT FROM command.
