Where Is Neo4j Data Stored?
Neo4j on Debian and RPM installs keeps graph data under /var/lib/neo4j/data. Config and logs are in system locations outside the install dir.
Last updated
Debian and RPM packages use /var/lib/neo4j/data for databases and transactions. Config is at /etc/neo4j/neo4j.conf with Log4j files in the same folder. Logs are in /var/log/neo4j/.
Tarball installs use <NEO4J_HOME>/data and <NEO4J_HOME>/logs instead. Confirm the live value in config with server.directories settings since admins change defaults.
Where Neo4j stores this, by platform
/var/lib/neo4j/data
Config is /etc/neo4j/neo4j.conf. Logs are /var/log/neo4j/ with neo4j.log viewed via journalctl on systemd. Import defaults to /var/lib/neo4j/import. Do not edit the data folder directly while running.
Frequently asked questions
How do I find the effective config and data dir?
Read /etc/neo4j/neo4j.conf and look for server.directories entries. Run SHOW SETTINGS on a running server to see active values. Confirm the live value in config since admins change defaults.
Where are logs and imports?
Package logs are in /var/log/neo4j/ with debug.log for support cases. CSV sources for LOAD CSV belong in /var/lib/neo4j/import. Custom log paths are set with server.directories.logs.
Notice an outdated path? Let us know.