Reputation: 141
I had my all databases stored at a location C:\JATIN DATA\database\neo4jDatabases. How can I take the dump of all databases individually using neo4j Dekstop.
I had already tried neo4j-admin dump --database= --to= this command but getting errors like Neo.ClientError.Statement.SyntaxError: Invalid input 'n': expected (line 1, column 1 (offset: 0)) "neo4j-admin dump --database= --to=" ^
Upvotes: 4
Views: 11028
Reputation: 141
Thanks @cybersam and @logisima finally dump is taken successfully. This is the complete command .\bin\neo4j-admin.bat dump --database=graph.db --to=c:\dump\article_citation_graph.dump there was some admin privilege error.
Upvotes: 3
Reputation: 7478
Have you try this : .\bin\neo4j-admin.bat dump --database=graph.db --to=c:\
This should create a file named graph.db.dump
in your c:\
folder.
Upvotes: 0
Reputation: 67009
neo4j-admin
must be run from a terminal command line -- not from the neo4j Browser.
Since you are using the Desktop, you can open a terminal window to the appropriate directory by selecting your neo4j Project from the Projects panel on the left, click the Manage
button of the database you want to dump, And then select the Terminal
tab.
Once in the Terminal window, you can enter a command like the one suggested by @logisma:
bin/neo4j-admin dump --database=graph.db --to=c:\
Upvotes: 6