How to restore openfire backup in sql server installation?

I have an openfire server and I’m creating a new server and to migrate the complete chat I’m having difficulties, what would be the processes to be carried out to migrate this database?

I’m ussing the new sql server 8.0.31

I believe that this is a SQL Server question, and not so much an Openfire question. Consider asking this question in a forum for SQL Server administrators!