Skip to content

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.adb

Programmatic compaction:

js
await db.compact()

Released under MIT License.