Move DB and configuration Openfire server to new Server!

My Company using a Openfire server (mysql), recently, i want to backup DB (Account user, group…vv) and configuration for restore on the new server.

I want to use command line …

Can you help me! send to me document or step by step guide …

Thanks everyone!

You should read MySQL documentation to do a MySQL DB backup.