Neo4j supports exporting whole databases via the backup and dump commands. It doesn’t have support for exporting sub graphs or exporting data into standard data formats, which is where the APOC library comes in.

APOC adds support for exporting data into various data formats, including JSON, CSV, GraphML, and Cypher script.

In addition to exporting data in these formats, we can choose to export the whole database, specified nodes and relationships, a virtual graph, or the results of a Cypher query.

For more information on how to use these procedures, see: