Skip to content

Clone a Neo4j database using only Cypher queries

Notifications You must be signed in to change notification settings

JorgenEvens/cypher-clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cypher-clone

Clone a Neo4j database using Cypher queries.

Not recommended for important tasks like backups because:

  • Performance probably sucks
  • Could explode if new node are added to source database while syncing
  • ...

Usefull if you don't have access to your remote Neo4j instance's backups or are not able to connect using neo4j-admin.

Usage

npm install --save @gertt/cypher-clone

CLI tool:

cypher-clone bolt://source.database:7687 bolt://localhost:7687

In code:

const sync = require('@gertt/cypher-clone');

sync(
    'bolt://source.database:7687',
    'bolt://localhost:7687'
).catch(err => console.log(err));

About

Clone a Neo4j database using only Cypher queries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%