Hi everyone,
I have a database running in Neo4j Desktop 2.0.1. Is it possible to migrate it to AuraDB? Also, is there a way to save the current development state—like version control—before I add new features to my project? I’d really appreciate any hands-on tutorials or guidance.
Thanks in advance!
For versioning, try cloning it to keep a snapshot.
1 Like
I do:
CALL apoc.export.cypher.all("database{insert date}.cypher", {format: "cypher-shell"});
and then move the /import/
file somewhere else ... usually keeping one or two files.
Thanks @glilienfield, you are great. For those in this community like me, who have more experience with cypher queries and less hands-on practice in managing databases, one important information. The instance has to be stopped to get the Clone activated.
1 Like
Hi @joshcornejo. Thanks for sharing your experience. Instead of your command, I used this one: CALL apoc.export.cypher.all(null, {format: "cypher-shell", stream: true}); The reason is that the file export is disabled by default in my Neo4j configuration. I could store the cypher statements in the NotePad. Now is on me to learn how to use this data to start new instance. I am sure that many novices will profit from our conversation.
With this, you just get columns of text that you will need to copy/paste ... not a problem but if you get to hundreds of thousands of nodes and millions of relationships, it will be tedious