Permalink
Browse files

backup configuration has changed in 1.9 and is now online_backup_enab…

…led and online_backup_port
  • Loading branch information...
1 parent 1e5af62 commit 714d740c56a4bba093dbe00487862722f3cb120a @vpacher vpacher committed Jan 7, 2013
Showing with 6 additions and 5 deletions.
  1. +2 −3 Gemfile
  2. +3 −1 config/neo4j/config.yml
  3. +1 −1 spec/neo4j/backup_integration_spec.rb
View
@@ -1,9 +1,8 @@
source :gemcutter
gemspec
-
-gem 'neo4j-advanced', '>= 1.8.1', '< 2.0', :require => false
-gem 'neo4j-enterprise', '>= 1.8.1', '< 2.0', :require => false
+gem 'neo4j-advanced', '~> 1.9.M03', :require => false
+gem 'neo4j-enterprise', '~> 1.9.M03', :require => false
group 'development' do
gem 'pry'
View
@@ -30,7 +30,9 @@ migration_thread: false
# If online backup should be available, if it is the Online JAR file will be loaded,
# Notice it must be either 'true' or 'false' as string
-enable_online_backup: 'false'
+# To set a different port than the default port of 9999 use online_backup_port
+online_backup_enabled: 'false'
+#online_backup_port: '9999'
#use the clustered Neo4j GraphDatabase (org.neo4j.kernel.ha.HighlyAvailableGraphDatabase)
#enable_ha: true
@@ -11,7 +11,7 @@
# This spec does not run together with other specs
# We need to start neo4j in a separate process I think
# like see: https://github.com/neo4j/enterprise/blob/master/backup/src/test/java/org/neo4j/backup/TestBackupToolEmbedded.java
- Neo4j::Config['enable_online_backup'] = 'true'
+ Neo4j::Config['online_backup_enabled'] = 'true'
backup_source_dir = File.join(Dir.tmpdir, "neo4j_backup_source")
backup_target_dir = File.join(Dir.tmpdir, "neo4j_backup_target")
FileUtils.rm_rf backup_source_dir

0 comments on commit 714d740

Please sign in to comment.