Change Database in Openfire Server Console

How do I change the database from embedded to SQL using the Openfire Server Console?

you will need to force openfire to run the configuration steps again. To do this stop the openfire server, edit the openfire.xml setup tag to read , restart openfire, goto admin page and step through setup.

hi,

If I have some data on previous mysql db, when i migrate to ms sql server, how to recover the data? if i copy the data to new mssql database and then run the setup, will that affect copied data?

Thanks in advance.