[Neo] Question before I use neo4j, how to synchronize databases

Mattias Persson mattias at neotechnology.com
Mon Feb 1 22:06:14 CET 2010


Adding some links to Peters answer:

http://wiki.neo4j.org/content/Online_Backup
http://components.neo4j.org/neo4j-online-backup/apidocs/index.html

If you're using maven:
groupId: org.neo4j
artifactId: neo4j-online-backup
version: 0.4-SNAPSHOT (is the latest)

2010/2/1 Peter Neubauer <peter.neubauer at neotechnology.com>:
> Philip,
> automatic synching of Neo4j is not at the moment one of the
> out-of-the-box features. Probably the easiest way is to define some
> form of messaging format, like JSON, XMPP or binary, and send things
> forth and back as you like. For your application, that might mean you
> need a messaging bus to send your clients changes to.
>
> On the low level side, probably the online backup code might be of
> interest for you, as you can see what version the current neo4j store
> is at and pull out incremental transaction logs that give you the diff
> between two neo4j stores. We have not mad that a public API, but if
> you are willing to dig a bit, there might be interesting stuff for you
> in there?
>
> Cheers,
>
> /peter neubauer
>
> COO and Sales, Neo Technology
>
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
>
> http://www.neo4j.org                - Your high performance graph database.
> http://gremlin.tinkerpop.com    - The terminal to the Giant Global Graph.
>
>
>
> On Fri, Jan 29, 2010 at 9:29 AM, philip andrew <philip142au at gmail.com> wrote:
>> Hi,
>>
>> I think neo4j seems to be a good fit for what I am trying to do but I am not
>> sure about a few things.
>>
>> I have a requirement that I need to move data from one database to another.
>> There will be many client databases and they need to synchronize with a
>> central database, so SOME (not all data) data updates are needed to be sent
>> to the server, and some back down, but not all records, just selected
>> records. How can I do this with neo4j?
>> How could I package up this data and move it to another database over the
>> wire, eg via http post of a file to the server? or other way? In batch mode,
>> one big file?
>>
>> Thanks, Philip
>> _______________________________________________
>> Neo mailing list
>> User at lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [mattias at neotechnology.com]
Neo Technology, www.neotechnology.com


More information about the User mailing list