Skip to content
Migrate Redmine project from one instance of Redmine to another one
PHP
Branch: master
Clone or download
PowerKiKi Merge pull request #10 from marius-balteanu/master
fixed Column 'journalized_id' cannot be null; fixed journal duplications (foreach in foreach)
Latest commit d1167b8 Jan 8, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Library
.php_cs Fromat code with PHP-CS-Fixer Sep 15, 2015
README.md
migrator.php Update migrator.php Jan 7, 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
You can’t perform that action at this time.