Merging Databases
Added by esteban venialgo about 14 years ago
Hi all,
I would like to know if it's possible to merge two redmine's databases into one, because I work with my university's computer using redmine, and I want to add the information of that computer to the redmine's database which in my research center's computer where I work too.
is it possible to merge the redmine's mysql dbs ??
Thanks a lot.
Esteban Venialgo.
Replies (4)
RE: Merging Databases - Added by Marco Gutsche about 14 years ago
Hi,
edavis10 has written such a plugin: https://github.com/edavis10/redmine_merge_redmine
Don't for get to backup your databases before you try this.
RE: Merging Databases - Added by Felix Schäfer about 14 years ago
It won't migrate data from all redmine modules though, so test it beforehand and make sure it does what you expect.
RE: Merging Databases - Added by Leila Tang almost 12 years ago
I am having problems with rake redmine:merge_redmine RAILS_ENV=production - error: rake aborted! Don't know how to build task 'redmine:merge_redmine' and rake redmine:data_report RAILS_ENV=production - error: rake aborted! Don't know how to build task 'redmine:data_report'
Am i actually missing something in order for it to work?
Any advice and guidance would be appreciated! Thank you for your time.
RE: Merging Databases - Added by Nickolay Pashin over 11 years ago
Hi, I have a problem too. I get the following:
#rake redmine:merge_redmine RAILS_ENV=production --trace- Invoke redmine:merge_redmine (first_time)
- Invoke environment (first_time)
- Execute environment
- Execute redmine:merge_redmine
rake aborted!
uninitialized constant RedmineMerge
/var/lib/redmine/plugins/redmine_merge_redmine-master/lib/tasks/merge_redmine.rake:31:in `block (2 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/bin/rake:23:in `load'
/usr/local/rvm/gems/ruby-2.0.0-p247@global/bin/rake:23:in `<main>'
/usr/local/rvm/gems/ruby-2.0.0-p247@gemset2/bin/ruby_noexec_wrapper:14:in `eval'
/usr/local/rvm/gems/ruby-2.0.0-p247@gemset2/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => redmine:merge_redmine
Could you please help me? Thanks in advance!