Restore a previously exported snapshot into the local database.
A .json file previously produced by exportDatabase.
.json
Uses bulkPut so existing records with matching IDs are overwritten. Accepts both v1 (with categories) and v2 snapshots — categoryId fields are stripped from question records transparently.
bulkPut
categoryId
If the file contains an unsupported snapshot version.
Restore a previously exported snapshot into the local database.