Neo4j embedded online backup using Java in Ubuntu -
i using neo4j(embedded) enterprise edition 1.8.3. tried online backup using code below
def backup_data() { val backuppath: file = new file("d:/neo4j/data/backup/") val backup = onlinebackup.from( "127.0.0.1" ) if(backuppath.list().length > 0) { backup.incremental( backuppath.getpath(), false ) } else { backup.full( backuppath.getpath() ); } }
the above code working fine in windows got error client not connect localhost/127.0.0.1:6362 same code in ubuntu. should change make work in ubuntu?
Comments
Post a Comment