Giter VIP home page Giter VIP logo

redmine_merge_redmine's Introduction

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}[https://projects.littlestreamsoftware.com/projects/_XXX___/files] or from {GitHub}[http://github.com/edavis10/_XXX___]

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.