Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Plugin to merge two Redmine databases.

branch: master
README.rdoc

Merge Redmine

Plugin to merge two Redmine databases.

Features

  • __FEATURE__

Getting the plugin

A copy of the plugin can be downloaded from Little Stream Software or from GitHub

Installation and Setup

  1. Follow the Redmine plugin installation steps at: www.redmine.org/wiki/redmine/Plugins

  2. Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)

  3. Run the merge as described below

Usage

Make sure you backup both of your databases. There is no undo for these commands.

Define the second database (Source)

Edit the config/database.yml in the Redmine root, adding a definition for the source_redmine:

production:
  adapter: mysql
  host: localhost
  username: root
  password: password
  database: redmine_target

source_redmine:
  adapter: mysql
  host: localhost
  username: root
  password: password
  database: redmine_import

Run the database merge

Run the included rake task from the Redmine root “rake redmine:merge_redmine RAILS_ENV=production”

Check your data

When it's completed, the contents of the source_redmine database (redmine_import above) should have been merged into your production database (redmine_target).

Tips

  • Before running the rake task, run “rake redmine:data_report RAILS_ENV=production” to print out the total number of records you are using in your target database. After the migration, you can rerun this to see how many were added.

License

This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and GPL.txt for details.

Project help

If you need help you can contact the maintainer at the Bug Tracker. The bug tracker is located at projects.littlestreamsoftware.com

Something went wrong with that request. Please try again.