Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-13-2021 11:04 AM
Hi,
I cannot understand how to backup my DBMS from Neo4j desktop.
The Operations Manual is very confusing
Here: Neo4j Admin - Operations Manual
Neo4j Admin is located in the bin directory and is invoked as: neo4j-admin <command>
But from where "invoke" the command?
And here: Back up an offline database - Operations Manual
"The command can be run only locally from an online or an offline Neo4j DBMS. "
" The target directory /dumps/neo4j must exist before running the command and the database must be offline."
These two sentences are on the same page!
Please help!
Thanks, Elisabeth
11-13-2021 03:16 PM
11-14-2021 12:38 AM
Hi Koji, thank you so much for your help. Unfortunately it did not work.
11-14-2021 01:01 AM
Hi @ekaske
My Neo4j Desktop version is 1.4.9.
In the terminal, you can write the dump command as follows.
Please modify <Backup Directory> and <File Name>.
If your Neo4j version is earlier than 4.0 you have to rewrite the database name from "--database=neo4j" to "--database=graph.db".
bin/neo4j-admin dump --database=neo4j --to=/<Backup Directory>/<File Name>.dump
11-14-2021 01:47 AM
Hi, this worked, after I changed slash / to backslash . Thanks for help. I appreciate it. Best, Elisabeth
11-15-2021 10:00 AM
In V1.4.8 of the Desktop I used to be able to dump the database from the Desktop. Now that I've installed V1.4.9, the dump fails.
11-17-2021 01:09 AM
Same here. But the method suggested by Koji eventually worked.
11-17-2021 01:50 AM
I see. Sorry, just realized that my version is 1.4.5. Updates have always failed, but I'm happy with every workaround that works. Thanks again.
All the sessions of the conference are now available online