Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-01-2018 10:50 PM
Hi All,
We have created data in one instance which has version 3.4.4. But now we need to move that data in version 3.2.5. While trying that neo4j service has not been started. While checking in the log file it shows data migration from higher version to lower version is not possible.
Is there is any way to do data migration from version 3.4.4 to version 3.2.5.
09-01-2018 11:16 PM
Hello John,
The official answer is that we do not support downgrades (only upgrades). It may (!) work if there is no store format change between the two versions (you'd still have to struggle to rebuild indexes and such that may have changed in between ... we've been migrating to native indexes), however there was one at 3.4.0. so in this case it will definitely not work.
Your best option is probably to export the data from the 3.4.4. instance to files and import those back into the 3.2.5. instance. Are we talking about a lot of data ?
Regards,
Tom
09-01-2018 11:33 PM
Hello Tom,
The data is around 5000 nodes and around 7000 relationships.
09-01-2018 11:51 PM
Hello John,
Should take mere (milli)seconds to offload that with - for example - the apoc.export.csv.* utilities and load it in the other instance. That will be the quickest way. Is this a one-time thing or will you have to set this up regularly ?
Regards,
Tom
09-02-2018 02:06 AM
Hello Tom,
This is the one-time work for us.
09-02-2018 02:33 AM
Definitely an export-to-csv and a LOAD CSV to recreate then 🙂
Regards,
Tom
09-02-2018 02:41 AM
Actually apoc.export.cypher should work better then.
As you don't need to write the import code by hand, just run the script with e.g. cypher shell or neo4j-shell (make sure to use the right export options).
All the sessions of the conference are now available online