Project

General

Profile

Actions

Defect #24570

open

Migrating from Trac to Redmine [Trac2Redmine]

Added by F B about 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Importers
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hello everyone, I used to work on a project about migrating our system from trac to redmine.

This summer at my first attempt I was able to migrate some parts of our bug tracking database.

But, know I see that there is a new stable releases, I want to migrate completely this time.

Is there anyone who accomplished migration completely?

*at the attachment you can see my migrate_from_trac.rake file, which is edited due to:
-self.inheritance_column = :none instead of set_inheritance_column :none
-self.primary_key = 'name' instead of #set_primary_key :name
-correcting the rake file according to *timestamps patch


Files

migrate_from_trac.rake (30.8 KB) migrate_from_trac.rake Edited rakefile F B, 2016-12-09 12:48
migrate_from_trac.rake.patch (5.31 KB) migrate_from_trac.rake.patch Timestamps patch F B, 2016-12-09 12:48
Actions #1

Updated by Toshi MARUYAMA almost 8 years ago

  • Category changed from Issues to Importers
Actions #2

Updated by Rich James over 6 years ago

Latest one I can find is: https://github.com/akohlbecker/migrate_from_trac.rake
However, I still can't get it to work (using either Ubuntu 16.04 or 18.04).
There are various versions available from: http://www.redmine.org/issues/20943

The only way I've managed to get a successful migration (and I've only managed to get it to migrate one Trac instance; trying a second gives primary key violations from the DB back end), and that was to use: https://github.com/eLvErDe/migrate_from_trac.rake/blob/master/migrate_from_trac.rake
Using that script only worked when I spun up an Ubuntu 14.04 virtual and did the migration there.

Actions

Also available in: Atom PDF