Back UP Server - UBUNTU

Hello,
I have openfire 3.6.4 running on an Ubuntu server.
I use openfire to communicate with my customers. It’s a great software.
I need to make a backup, because I want to move it to another server.
My database is an "HSQL Database Engine 1.8.0 ".
How can I backup my openfire and how do I restore the files and db in the new server?

Thank you in advance.

Hi Ronaldo,

just copy the whole openfire folder. It contains the embedded-db folder which contains the database.

LG