Project

General

Profile

Will it be possible to migrate the data from MySQL to MongoDB?

Igor Khomenko
Added about 4 years ago

Will it be possible to migrate the data from MySQL to MongoDB?

For example, I have Tigase 5.2 onboard and would like to switch to 5.x with MongoDB support in future.

Will you have any migration guides/scripts?


Replies (1)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 4 years ago

Hm, to be honest we did not plan to work on such scripts but maybe we will. I think it could be actually not that difficult to implement. I would write a simple Java class or Groovy script which instantiate to UserRepository instances, one for source database (MySQL) and one for target database (MongoDB). And then loop through entries to copy all users' data.

Not sure if this is that simple though. We used to have such tools in the past but for sure they were never updated to most likely do not work.

    (1-1/1)