Migrate a project from a Redmine instance to another

Added by Maurizio Totti almost 5 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 (6)

RE: Migrate a project from a Redmine instance to another - Added by Jan Niggemann (redmine.org team member) almost 5 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 almost 5 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 almost 5 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 almost 5 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...

(1-6/6)