# Database dump for Neo4j Desktop 1.4.5 on Ubuntu

**URL:** <https://community.neo4j.com/t/database-dump-for-neo4j-desktop-1-4-5-on-ubuntu/39956>\
**Category:** Newbie Questions\
**Created:** [June 17, 2021, 3:59am UTC](https://community.neo4j.com/t/database-dump-for-neo4j-desktop-1-4-5-on-ubuntu/39956 "2021-06-17T03:59:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![negevherbals](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/negevherbals/32/3900_2.png) [@negevherbals](https://community.neo4j.com/u/negevherbals)\
**Post date:** [June 17, 2021, 3:59am UTC](https://community.neo4j.com/t/database-dump-for-neo4j-desktop-1-4-5-on-ubuntu/39956/1 "2021-06-17T03:59:38Z")

</div>

I am trying to do a database dump from Neo4j Desktop 1.4.5. Unlike in previous versions there is no ‘dump’ option in the management panel. I tried using the terminal:  
neo4j -admin dump —database=graph.db —to=~/Downloads/dumptTst/

But I got this error:  
‘ command failed: you do not have permission to dump the database — is Neo4j running as a different user?’

I am the only user and I don’t see any place to authenticate.

Then, instead of doing a database dump, I tried to export the database to CSV or json using apoc. But I looked everywhere and can’t find the apoc config folder and won’t be able to export to CSV or json without that.

After that, I tried a command like this:  
MATCH (n)  
RETURN n  
To return all of the nodes using simple Cypher. (I was going to do the same for the relationships.) But it was too much data and crashed.

I tried the apoc periodic commit but that didn’t work either.

Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![michael.hunger](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/michael.hunger/32/27377_2.png) [@michael.hunger](https://community.neo4j.com/u/michael.hunger)\
**Post date:** [June 23, 2021, 11:55pm UTC](https://community.neo4j.com/t/database-dump-for-neo4j-desktop-1-4-5-on-ubuntu/39956/2 "2021-06-23T23:55:40Z")

</div>

Did you stop the database before running the dump command?

--to needs a filename not a folder

You can add an apoc.conf to the conf folder or just add the setting in neo4j.conf
