idx import for filesystem
Import idx state from disk.
Signature
> idx import {flags} (filepath)
Flags
--no-watch: Disable filesystem watching after import (watching is enabled by default).
Parameters
filepath: Path to a stored idx snapshot.
Input/output types:
| input | output |
|---|---|
| nothing | record |
Examples
Restore an idx index from a snapshot on disk.
> idx import ~/my-index.dbNotes
Reads a SQLite snapshot created by idx export and auto-initializes idx runtime for immediate queries.