Fields
volumes[]
Consistency values
Use the right consistency type for each database. Wrong consistency can produce corrupt snapshots.
Example
How autosave works
Whenautosave: true, the host app schedules a snapshot every autosaveDebounceSeconds seconds. Snapshots older than maxSnapshots are pruned automatically (oldest first). The current state is never deleted — only older snapshots are pruned.
Snapshots are content-addressed and deduplicated — unchanged data between snapshots is stored only once. Disk usage grows proportional to actual data changes, not linearly with snapshot count.
