Migrate Redmine project from one instance of Redmine to another one
PHP
Latest commit d1167b8 Jan 8, 2016 @PowerKiKi Merge pull request #10 from marius-balteanu/master
fixed Column 'journalized_id' cannot be null; fixed journal duplications (foreach in foreach)
Failed to load latest commit information.
Library Update DBMysql to latest version Sep 15, 2015
.php_cs Fromat code with PHP-CS-Fixer Sep 15, 2015
README.md Fromat code with PHP-CS-Fixer Sep 15, 2015
migrator.php Update migrator.php Jan 8, 2016

README.md

Redmine migrator

This script migrate Redmine project from one instance of Redmine to another one. It will import the following objects:

  • project
  • categories
  • versions
  • issues
  • journals
  • logged time
  • documents
  • news
  • watchers
  • attachment
  • wikis & wiki_pages & wike_contents & wiki_content_versions
  • boards & messages
  • modules status (wether it is active for the project)

It relies on manual mapping for users, priorities, statuses and trackers as they should already exist in target database.

All modifications of the target database are live. So it is strongly advised to test against a dummy database first.

USAGE

  1. update manual mapping (see $usersMapping, $prioritiesMapping, $statusMapping and $trackersMapping)
  2. update database connection data and project ID to migrate
  3. run the script