How to mirror local database to remote server (hraphenedb) for backup purposes ?

39 views
Skip to first unread message

Dmitry Ponyatov

unread,
Sep 2, 2017, 1:02:00 PM9/2/17
to Neo4j
How to mirror local database to remote server (hraphenedb) for backup purposes ?

Michael Hunger

unread,
Sep 2, 2017, 1:08:31 PM9/2/17
to ne...@googlegroups.com
In general, Neo4j Enterprise has a backup tool that backs up to fully operable graph database directories.

You could shutdown, zip it up and upload it.

Or just set up a Neo4j cluster that uses the remote servers as replicas.

If you want to have continuous updates, then that would be more involved (reading tx log and sending deltas or the same with triggers).

It's def. a valuable request, but usually a "live connection" would also send, e.g. deletes so your remote instance would be in sync with your local state, which might not what you need for a backup.

Michael

On Sat, Sep 2, 2017 at 7:01 PM, Dmitry Ponyatov <dpon...@gmail.com> wrote:
How to mirror local database to remote server (hraphenedb) for backup purposes ?

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dmitry Ponyatov

unread,
Sep 6, 2017, 4:11:44 AM9/6/17
to Neo4j, michael...@neo4j.com
The problem is target side hosted on graphenedb.com on free account, so I have only user access, and need user level mirroring, if there is now feature embedded into neo4j itself.

Maybe some trick with can be done in external script (in Python) to fast find databases diff via BOLT connections and then process changed elements ?

Michael Hunger

unread,
Sep 17, 2017, 10:06:46 PM9/17/17
to Dmitry Ponyatov, Neo4j, Michael Hunger
A diff via bolt would be a good idea. I currently don't know of such a tool.

You could install APOC and use any of the apoc.export.cypher functions to export yoru db.

Michael
Reply all
Reply to author
Forward
0 new messages