# Neo4j-admin database dump & load error

**URL:** <https://community.neo4j.com/t/neo4j-admin-database-dump-load-error/65934>\
**Category:** Import / Export\
**Created:** [January 24, 2024, 8:31am UTC](https://community.neo4j.com/t/neo4j-admin-database-dump-load-error/65934 "2024-01-24T08:31:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tijuhasz](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/tijuhasz/32/15503_2.png) [@tijuhasz](https://community.neo4j.com/u/tijuhasz)\
**Post date:** [January 24, 2024, 8:31am UTC](https://community.neo4j.com/t/neo4j-admin-database-dump-load-error/65934/1 "2024-01-24T08:31:16Z")

</div>

I have created a neo4j database using neo4j community edition 5.13.0 on a mac. I populated the neo4j database with data, did the dev work, everything worked fine. Then I tried migrating the database to a ubuntu aserver. On the ubuntu server I installed the Debian package of neo4j, all looked fine. I created a db dump on the mac with the command:

./neo4j-admin database dump --to-path=/path/to/export/folder --overwrite-destination=true neo4j

Then on the ubuntu server I imported the database as follows:

sudo /usr/bin/neo4j-admin database load --from-path=/var/www/html/backup --overwrite-destination=true neo4j

The import process seemed to work fine, but then when I started to start the neo4j process and loading the db, I got an error that files were missing:  
neostore.propertystore.db.index  
neostore.propertystore.db.index.keys  
neostore.relationshipgroupstore.db  
neostore.nodestore.db.labels  
neostore.relationshiptypestore.db

I did the dump and load steps again and even more files were missing from the /var/lib/neo4j/data/database/neo4j folder.

I copied the missing files from the neo4j database on the mac and then the transaction files were missing. I tried starting the neo4j service with the db.recovery.fail\_on\_missing\_files=false flag in neo4j.conf.

After that I got an error on running a Cypher query: "Could not go to page XX". So I deleted the indexes on the neo4j database, recreated them and now the queries run ok.

How can I do the database export/import smoothly and without errors?

Thank you.
