Hello everyone, I’m new at the openfire and I have a new customer that it installed.
I need migration the currently database ( all setting and users from openfire ) to other machine. but, I don’t know what is the better way accomplish this.
the openfire version currently is 3.6.4 on a Linux red-hat 5.5 machine. I wish keep on the same version.
on the currently version I can loggin and export user and groups. but I wish export all settings.
Depends on the database, but if you are using MySQL for example, you could just export the database and later import it to your customers database. I’m guessing other databases also have import/export option. Also there is an “User Import/Export” plugin available in Openfire in where you can transport all users, passwords, roster info etc to new Openfire installation.
If they are using the embedded database, then you can just copy folders /conf and /embedded-db or better whole /openfire dir into new machine. If there is /embedded-db folder inside the /openfire folder, then most probably they do use the embedded database. To be sure you can check Admin Console > Server > Database > DB Connection URL. If you are going to install it with rpm or deb on a new machine, then you can install and then replace the installation with the folders you have copied from the old machine.
I’m not familiar with mysql and dump. But why do you use import/export plugins if this dump is supposed to dump the whole database? It then should dump users, groups and rosters as well. Then probably dump is not doing this and i have nothing to advise here. Maybe there is some other tool to migrate mysql database (like “copying” it).