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

瀏覽次數:39 次
跳到第一則未讀訊息

Dmitry Ponyatov

未讀,
2017年9月2日 下午1:02:002017/9/2
收件者:Neo4j
How to mirror local database to remote server (hraphenedb) for backup purposes ?

Michael Hunger

未讀,
2017年9月2日 下午1:08:312017/9/2
收件者: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

未讀,
2017年9月6日 凌晨4:11:442017/9/6
收件者: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

未讀,
2017年9月17日 晚上10:06:462017/9/17
收件者: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
回覆所有人
回覆作者
轉寄
0 則新訊息