# Data migration between different versions of Neo4j

**URL:** <https://community.neo4j.com/t/data-migration-between-different-versions-of-neo4j/36829>\
**Category:** Operations\
**Created:** [April 13, 2021, 8:40pm UTC](https://community.neo4j.com/t/data-migration-between-different-versions-of-neo4j/36829 "2021-04-13T20:40:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidmakovoz](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/davidmakovoz/32/14112_2.png) [@davidmakovoz](https://community.neo4j.com/u/davidmakovoz)\
**Post date:** [April 13, 2021, 8:40pm UTC](https://community.neo4j.com/t/data-migration-between-different-versions-of-neo4j/36829/1 "2021-04-13T20:40:15Z")

</div>

We recently update our community Neo4j server from 4.0.2 to 4.2.4.  
What is the least painful way of migrating our graphs from 4.0.2 to 4.2.4?

Thank you

---

<div class="post-metadata">

**Author:** ![dana\_canzano](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/dana_canzano/32/27392_2.png) [@dana\_canzano](https://community.neo4j.com/u/dana_canzano)\
**Post date:** [April 13, 2021, 10:29pm UTC](https://community.neo4j.com/t/data-migration-between-different-versions-of-neo4j/36829/2 "2021-04-13T22:29:44Z")

</div>

If this is an in place upgrade then simply update conf/neo4j.conf and set `dbms.allow_upgrade=true` ( [Configuration settings - Operations Manual](https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/#config_dbms.allow_upgrade) )  
and restart Neo4j
