Best way to import an already created SQL database into GroupShare

Hi!

I would like to see if anyone could help me know what the best way to import an SQL TM database that was already created in a previous installation of GroupShare into a new installation. 

What happened was that the server that GroupShare used to be installed had problems and we had to install it on a new server. We have the backup of the TMs in SQL and would like to know how to import them into a brand new instalation of GroupShare. The version is GroupShare 2014 SP2.

If someone could send me step by step instructions on how to do this it would be helpful!

Thank you very much in advanced!

Jonathan