How do I configure init and max java heap when running bin/neo4j-backup

When running $NEO4J_HOME/bin/neo4j-backup if a Java out of heap/memory error occurs you may want define the init and max Java heap to be used by neo4j-backup. The default behavior is to allow the JVM to define the init and max… Read more →

Explore:  


Stopping the Neo4j docker image in order to restore from a backup

In a neo4j docker installation, the neo4j-admin restore requires the neo4j service to be stopped as one can’t do a restore on a running database. Subsequently, running as a docker image, stopping neo4j server could be done using a Ctrl-C… Read more →

Explore:  


Requirement makes database unavailable: Database available — INITIALIZED diagnostics START —

When running neo4j-admin backup, the debug.log shows a message that appears to indicate that the database restarted; however, this is not the case. 2019-05-01 03:14:15.230+0000 INFO [o.n.k.AvailabilityGuard] Requirement makes database unavailable: Database available  2019-05-01 03:14:15.250+0000 INFO [o.n.k.i.DiagnosticsManager] — INITIALIZED diagnostics… Read more →

Explore:  


How to Setup Neo4j Backup Wrapper Script

For operators of Neo4j looking to implement regular hot backups of a Neo4j database using automated job scheduling, applying this wrapper around neo4j-admin backup will make your job easier. Simply read this guide, customize according to your environment, and set… Read more →

Explore:  


How to specify a separate debug.log for the backup process?

When running neo4j-admin backup on a running Neo4j instance the backup logs are also written into the existing Neo4j instance debug.log and can get confusing as to which line items in the debug.log is part of backup process and those… Read more →

Explore:  


Backup Failed. Unexpected error: Base directory for SSL policy with name ‘default’ does not exist.

This article is based on a defect report with a suggested workaround until a fix becomes available. When running backup (full or incremental) you may encounter the following error in the output, and as a result, the backup is not… Read more →

Explore:  


HA Proxy Configuration for Online Backup

What are we trying to achieve? Online backup should be scheduled to run periodically on a production cluster. You only need to run it on one instance, since each has its own full copy of the database. Because a full… Read more →

Explore:  


Four ways to check the consistency of a Neo4j graph

When it comes checking the inconsistencies in your graph, there are four methods to do. This article describes them below: 1. The easiest approach is it to utilize the check-consistency=true option with the backup command. With this approach your graph… Read more →

Explore:  


Sending Neo4j messages to a Slack channel

Although not specific to Neo4j and this knowledge base document is provided as a convenience, if your environment has a Slack implementation, then Slack provides an API to allow you to programmatically send messags to a specific channel. This can… Read more →

Explore:  


Understanding memory configurations for neo4j-admin backup

When using bin\neo4j-admin backup to backup a Neo4j database, Neo4j Support recommends explicitly defining the JVM heap size and pagecache memory to be used by the backup JVM process. If these are not defined then when neo4j-admin backup is executed,… Read more →

Explore:  


Retired: How can I skip Consistency Check during Backup?

Backups in Neo4j automatically run a consistency check against the backed-up store. The backup itself does not take overly long, but the consistency check can take much more time to complete, depending on the store. In some cases, you want… Read more →

Explore:  


How do I resolve inconsistency problems on an instance of a cluster

(if using version >= 3.1, please read Leader and Follower instead of Master and Slave respectively) Sometimes, when running a clustered Neo4j environment, a slave’s store may become inconsistent. On a normal day-to-day operation, if a slave becomes inconsistent, it… Read more →

Explore:  


Explantion of debug.log message of Commits found after last checkpoint

When running backup for example bin/neo4j-admin backup –backup-dir=/home/neo4j/backups/01172020/ –name=graph.db you may observe in the output of said command detail similar to 2020-01-17 12:54:06.767+0000 INFO [o.n.b.i.BackupOutputMonitor] Finish receiving store file /home/neo4j/backups/backups/01172020/graph.db/temp-copy/schema/index/lucene_native-2.0/5/native-1.0/profiles/index-5.708254.cacheprof 2020-01-17 12:54:06.767+0000 INFO [o.n.b.i.BackupOutputMonitor] Start receiving store file /home/neo4j/backups/backups/01172020/graph.db/temp-copy/schema/index/lucene_native-2.0/5/string-1.0/profiles/index-5.708254.cacheprof 2020-01-17… Read more →

Explore:  


How do I run Consistency Check Manually?

If you skip the Consistency Check part of neo4j-backup, or you want to check that all is well with a data store, you can run the tool against an offline store. $ java -cp ‘lib/*:system/lib/*’ org.neo4j.consistency.ConsistencyCheckTool /tmp/graph.db On a Windows… Read more →

Explore: