#StackBounty: #azure #neo4j #load #dump How to Dump/Load Neo4j Database in Azure?

Bounty: 50

Searched the marketplace in Azure and installed Neo4j High Availability Cluster

and currently running cluster of 3 vm’s

Trying to test dump/load and I got the error:

~$ neo4j-admin dump --database=graph.db --to=graph.dump
org.neo4j.commandline.admin.CommandFailed: you do not have permission to dump the 
database -- is Neo4j running as a different user?
        at org.neo4j.commandline.dbms.DumpCommand.execute(DumpCommand.java:100)
        at org.neo4j.commandline.admin.AdminTool.execute(AdminTool.java:127)
        at org.neo4j.commandline.admin.AdminTool.main(AdminTool.java:51)
Caused by: org.neo4j.commandline.dbms.CannotWriteException: Could not write to: 
/var/lib/neo4j/data/databases/graph.db/store_lock
        at org.neo4j.commandline.dbms.StoreLockChecker.check(StoreLockChecker.java:84)
        at org.neo4j.commandline.dbms.DumpCommand.execute(DumpCommand.java:86)
        ... 2 more
command failed: you do not have permission to dump the database -- is Neo4j running 
as a different user?

Should I shutdown all three VM’s?
If so, how do I do that?

Dump/Load Manual doesn’t seem to explain how to shutdown the DB or which VM in the cluster (all three or just the primary) should be shut down.
https://neo4j.com/docs/operations-manual/current/tools/dump-load/


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.