Backup & Restore
Create a backup
Section titled “Create a backup”hmdb backup --out /backupsThis compacts the WAL first, then creates a hypermeshdb_YYYYMMDD_HHMMSS.tar.gz archive.
Restore
Section titled “Restore”hmdb restore /backups/hypermeshdb_20260409_120000.tar.gz --target /data/restoredVia REST API
Section titled “Via REST API”curl -X POST http://localhost:8000/v1/backup \ -H "X-API-Key: hmdb_adminkey" \ -d '{"backup_dir": "/backups", "compact_first": true}'