rooms migration between physical servers

Igor Khomenko
Added over 4 years ago

What is the easiest way to migrate some rooms between 2 physical servers?

We need to migrate some rooms and their history from 1st server to 2nd.

Our filter is rooms' owners. We need to migrate rooms where some users are in the owner list.

I see 2 options:

  1. custom MySQL dump script

  2. Scripting in Tigase

please advise

Replies (4)


Added by Artur Hefczyc TigaseTeam over 4 years ago

Do these 2 servers work within one Tigase cluster? I mean are they cluster nodes of the Tigase cluster? If not, if these are separate servers, then most likely they work for different domains, so migrating MUC room between different domains is not possible from the logical point of view. Or, am I missing something?

Could you please provide more details?


Added by Igor Khomenko over 4 years ago

No, they aren't cluster nodes.

Yes, these are 2 separate servers and have custom domains.

Looks like it's a tricky task. But I would like to start a discussion about this migration.

Would it be possible to replace rooms JIDs domains?

For example,

1) dump all necessary data from 1st server

2) replace domains in all JIDs

3) upload data to 2nd server


Added by Bartosz Małkowski TigaseTeam over 4 years ago

It is one-time-action (ex.: your company name was changed and you changed domains) or you want to move room from one server to another one few times a day because of some other purpouses?

Added by Igor Khomenko over 4 years ago

Now it's one-time migration

but in future I could have more migrations