restore mantis from two old db

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
clarocca
Posts: 3
Joined: 03 Dec 2019, 15:28

restore mantis from two old db

Post 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
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: restore mantis from two old db

Post 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:
clarocca
Posts: 3
Joined: 03 Dec 2019, 15:28

Re: restore mantis from two old db

Post 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
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: restore mantis from two old db

Post 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.
clarocca
Posts: 3
Joined: 03 Dec 2019, 15:28

Re: restore mantis from two old db

Post by clarocca »

Thank you so much for your help
Bye
Post Reply