Migrate a project from a Redmine instance to another
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?
RE: Migrate a project from a Redmine instance to another - Added by Jan Niggemann (redmine.org team member) over 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...
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!
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.
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...
I did something similar here:
I created this which might help some people: https://github.com/delatbabel/redmine-migrator