# Imports and exports

[Wiki](../README.md)

Choose the interface by source format and transaction boundary. File paths are
resolved by the process executing the query, usually the Bolt server, not your laptop.

| Input or task | Interface | Commit boundary |
|---|---|---|
| Small CSV | [LOAD CSV](csv.md) | One statement |
| Large CSV | [CALL IN TRANSACTIONS](interchange.md) | Independent batches; earlier batches survive a later failure |
| Application row data | [UNWIND over Bolt](bolt-batches.md) | One batch per statement |
| APOC JSON/JSONL | [apoc.import.json](interchange.md) | One atomic statement; input is materialised |
| Cypher script | [gdb.cypher.import](../operations/backups.md) | Each statement commits; failures are counted and skipped |
| Neo4j 4.x/5.x `.dump` | [gdb.neo4j.import](../integrations/neo4j-dumps.md) or Explorer Import | One atomic statement; empty target required |
| Native GDB snapshot | [gdb.restore](../operations/backups.md) | Replaces the selected database |
| Logical JSON/Cypher export | [apoc.export.*](interchange.md) | Text output is materialised; file effects do not roll back |

Use `gdb.restore` for native GDB snapshots and `gdb.neo4j.import` for supported
Neo4j record-store dumps. Unsupported store formats and property encodings need
a [logical export](interchange.md). Validate schema and endpoint counts before
a live migration.

## Articles

- [Native Neo4j 4.x/5.x dump imports](../integrations/neo4j-dumps.md): supported standard/aligned stores, empty targets and atomic rollback.

- [Batching imports over Bolt](bolt-batches.md)
- [Loading CSV](csv.md)
- [Batched subqueries and logical interchange](interchange.md)

## Related articles

[Backup, restore and transfer](../operations/backups.md) · [Transactions and concurrency](../operations/transactions.md) · [Server configuration](../operations/configuration.md)
