Backup & Restore
bash
# Backup to file
aingdb backup --path ./app.adb --out ./app.bak
# Restore from file
aingdb restore --path ./app.adb --from ./app.bak
# Snapshot with timestamp suffix
aingdb snapshot --path ./app.adbProgrammatic compaction:
js
await db.compact()