Migrate a project from a Redmine instance to another
Added by Maurizio Totti over 11 years ago
Hi all,
I would migrate a project for a Redmine instance to another for a server consolidation task. Both the instances are heavily used. I have searched the solution for a long time, but the data model looks not able to abstract the issues from a project (like JIRA for example).
Have you found any solutions of this use case?
Thanks
Regards
Replies (8)
RE: Migrate a project from a Redmine instance to another - Added by Jan Niggemann (redmine.org team member) over 11 years ago
Someone announced something like that somewhere here on the forums, but requests to post a link to the code were never answered.
Something like "export all project data" that could then be re-imported would be interesting...
RE: Migrate a project from a Redmine instance to another - Added by Maurizio Totti over 11 years ago
The full export to an empty instance it's possible. I have done that with https://github.com/ludicast/yaml_db also porting data from postgresql to mysql (sigh :-((( ). My problem was the selectively export/import :-(
Thanks for your response!
Regards
RE: Migrate a project from a Redmine instance to another - Added by Ivan Cenov over 11 years ago
I suppose simple SQL import is not possible and/or reliable. Issue and project ids may collide with these already stored in the destination database.
RE: Migrate a project from a Redmine instance to another - Added by Maurizio Totti over 11 years ago
Me too .The issue id are not relative into project but global, and can be a cross project issue. Furthermore a issue id can be in the description or log of another issue... Very hard to solve in my opinion...
RE: Migrate a project from a Redmine instance to another - Added by Bruno Medeiros over 9 years ago
I did something similar here:
http://www.redmine.org/boards/1/topics/8077?r=20256#message-20256
RE: Migrate a project from a Redmine instance to another - Added by Del Elson over 7 years ago
I created this which might help some people: https://github.com/delatbabel/redmine-migrator
RE: Migrate a project from a Redmine instance to another - Added by Aleksandar Pavic almost 6 years ago
Thanks,
migrator works well with 3.1.2 -> 3.4.6, but
creates all tasks and notes as user whose credentials you have entered...
it's due to fact that it's working via API->API but works well and FAST!
RE: Migrate a project from a Redmine instance to another - Added by Arshad Mansoor almost 6 years ago
Maurizio Totti wrote:
Hi all,
I would migrate a project for a Redmine instance to another for a server consolidation task. Both the instances are heavily used. I have searched the solution for a long time, but the data model looks not able to abstract the issues from a project (like JIRA for example).
Have you found any solutions of this use case?
ThanksRegards
I am also waiting for the proper solution.