Knowledge Base

Articles tagged as backup

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…

Read more

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

(if using HA (High Availability, 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…

Read more

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

When running backup for example you may observe in the output of said command detail similar to and see that there is a long pause (i.e. 5+ minutes) from Start…

Read more

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…

Read more

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…

Read more

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…

Read more

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…

Read more

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…

Read more

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 more

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. Let’s explain why this message is showing…

Read more

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…

Read more

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…

Read more

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…

Read more

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…

Read more