rooms migration between physical servers
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:
custom MySQL dump script
Scripting in Tigase
Added by Artur Hefczyc 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?
1) dump all necessary data from 1st server
2) replace domains in all JIDs
3) upload data to 2nd server