Page 1 of 1

restore mantis from two old db

Posted: 03 Dec 2019, 15:32
by clarocca
Hi guys,
I'm new on this forum, I'm writing because I must restore database of two different version of Mantis installed on qnap nas in a new version installated on Wamp server... I try to export db and import in new database istance but not work! Anyone can help me?
Thank you in advance

Re: restore mantis from two old db

Posted: 04 Dec 2019, 10:10
by cas
Would suggest to upgrade one instance and use export/import from the other instance into the upgraded version.
Your biggest issue here will be that most likely you will end up having duplicate issue numbers.
To overcome that you would need to adjust the exportfile before importing.
It can be done but will be a tedious excercise :mrgreen:

Re: restore mantis from two old db

Posted: 04 Dec 2019, 10:18
by clarocca
Thank you cas for your reply,
only one precisation, when you talk about export/import you mean from sql db or exists this option in mantis?
Thank you

Re: restore mantis from two old db

Posted: 04 Dec 2019, 12:31
by cas
There are some tools/plugins available within Mantis. See also https://mantisbt.org/bugs/view.php?id=4220
It may mean that you first need to upgrade both new instances and then start the merge actiovity.

Re: restore mantis from two old db

Posted: 05 Dec 2019, 08:03
by clarocca
Thank you so much for your help
Bye