Hi Team,
We are using 5.26 community version.
In order to take the backup, we copy contents of "/data/neo4j/data/databases" directory.
We convert the DB to read-only mode take the copy of database files.
In order to confirm the backup files work in case to be restored, when we try to test it by clean up the contents of /database directory contents and copy from the backup we took.
when we started DB service and tried to connect using cypher-shell, it failed with "Connection refused" message.
@balait02
comments below in-line prefaced by my initials DMC:
2 Points to be clarified.
is the backup process we are using is correct? is there a better way to take backup in Community version?
DMC:> Backup and restore - Operations Manual describes all things backup. But as community edition does not have neo4j-admin database backup so as to take a online backup, and its counterpart neo4j-admin database restore you are thus left with the offline implementations and neo4j-admin database dump and neo4j-admin database load. See Back up an offline database - Operations Manual
copying of files in a manual method is not supported. A Neo4j database is not only at data/databases/<databaseName>. However using the described dump/load should obfuscate the need to know the file layout etc.
For this error, referred below link, but it's not relevant to the issue we encountered.
DMC:> is Neo4j running? Can you connect with the Neo4j Browser? cypher-shell typically connects over port 7687. Is this port open and listening? If you run cypher-shell with --verbose any further detail