# Neo4j-admin tool backup offline DBMS

**URL:** <https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407>\
**Category:** Neo4j Graph Platform\
**Created:** [November 13, 2021, 7:04pm UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407 "2021-11-13T19:04:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekaske](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ekaske/32/9033_2.png) [@ekaske](https://community.neo4j.com/u/ekaske)\
**Post date:** [November 13, 2021, 7:04pm UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/1 "2021-11-13T19:04:20Z")

</div>

Hi,  
I cannot understand how to backup my DBMS from Neo4j desktop.  
The Operations Manual is very confusing

Here: [Neo4j Admin and Neo4j CLI - Operations Manual](https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin/)  
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](https://neo4j.com/docs/operations-manual/4.2/backup-restore/offline-backup/)  
"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

---

<div class="post-metadata">

**Author:** ![koji](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/koji/32/27564_2.png) [@koji](https://community.neo4j.com/u/koji)\
**Post date:** [November 13, 2021, 11:16pm UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/2 "2021-11-13T23:16:04Z")

</div>

Hi @ekaske

The easiest way is to select "Dump" from "..."  
Or Select "Terminal" for backup command.

 ![スクリーンショット 2021-11-14 8.08.12](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/3X/5/c/5c7da98a889031e5a2f2b0a1a029ccfabed7c6b9.png)

---

<div class="post-metadata">

**Author:** ![ekaske](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ekaske/32/9033_2.png) [@ekaske](https://community.neo4j.com/u/ekaske)\
**Post date:** [November 14, 2021, 8:38am UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/3 "2021-11-14T08:38:44Z")

</div>

Hi Koji, thank you so much for your help. Unfortunately it did not work.

1. There is no "Dump" in my "...", only "Clone" and "Remove"
2. I tried Terminal, using the syntax of the manual. But I always get the answer:  
"Der Befehl "dump" ist entweder falsch geschrieben oder konnte nicht gefunden werden."  
Same with "backup", meaning the system does not know these commands.  
I am new to databases and coding and use only a local version to display an old Chinese game 陞官圖 in a network graph for research purposes. I wonder whether some functions work only for the paid version, but a backup would be a rather vital function, right?  
どうもお願いします。Thanks、Elisabeth

---

<div class="post-metadata">

**Author:** ![koji](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/koji/32/27564_2.png) [@koji](https://community.neo4j.com/u/koji)\
**Post date:** [November 14, 2021, 9:01am UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/4 "2021-11-14T09:01:13Z")

</div>

Hi @ekaske  
My Neo4j Desktop version is 1.4.9.

In the terminal, you can write the dump command as follows.

```auto
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".

```auto
bin/neo4j-admin dump --database=neo4j --to=/<Backup Directory>/<File Name>.dump

```

---

<div class="post-metadata">

**Author:** ![ekaske](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ekaske/32/9033_2.png) [@ekaske](https://community.neo4j.com/u/ekaske)\
**Post date:** [November 14, 2021, 9:47am UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/5 "2021-11-14T09:47:39Z")

</div>

Hi, this worked, after I changed slash / to backslash . Thanks for help. I appreciate it. Best, Elisabeth

---

<div class="post-metadata">

**Author:** ![mbandor](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mbandor/32/6828_2.png) [@mbandor](https://community.neo4j.com/u/mbandor)\
**Post date:** [November 15, 2021, 6:00pm UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/6 "2021-11-15T18:00:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ekaske](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ekaske/32/9033_2.png) [@ekaske](https://community.neo4j.com/u/ekaske)\
**Post date:** [November 17, 2021, 9:09am UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/7 "2021-11-17T09:09:36Z")

</div>

Same here. But the method suggested by Koji eventually worked.

---

<div class="post-metadata">

**Author:** ![koji](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/koji/32/27564_2.png) [@koji](https://community.neo4j.com/u/koji)\
**Post date:** [November 17, 2021, 9:29am UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/8 "2021-11-17T09:29:35Z")

</div>

Hi @mbandor

My Neo4j Desktop version is 1.4.9.  
The "Dump" works!!

---

<div class="post-metadata">

**Author:** ![ekaske](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/ekaske/32/9033_2.png) [@ekaske](https://community.neo4j.com/u/ekaske)\
**Post date:** [November 17, 2021, 9:50am UTC](https://community.neo4j.com/t/neo4j-admin-tool-backup-offline-dbms/47407/9 "2021-11-17T09:50:42Z")

</div>

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.
