Copying a HighGear database to another HighGear server is a complicated process, and it must be performed precisely as described in this document. There is no danger of data loss or corruption on the source server, but the destination server will not operate correctly unless the entire process is performed correctly.
Also, the same version of HighGear BPM software must be installed on both the source server and the destination server. Otherwise, the destination server will not be able to read the database accurately. To make sure that the process works correctly, we recommend that you upgrade both servers to the latest version of HighGear BPM software before beginning the transfer process.
Back up the source server’s HighGear database
- Open SQL Management Studio on the source server
- Open the HighGear database
- Back up the database
If your source server has the BI Module, back up its HighGear_Reporting database
- Open SQL Management Studio on the source server
- Open the HighGear_Reporting database
- Back up the database
Load the database backup onto the destination server
- Open SQL Management Studio on the destination server
- Open the HighGear database
- Restore the backup file into the HighGear database, with the Overwrite option checked
- Open the Security folder in the HighGear database
- Open the Users folder
- Delete all of the users that are there
- Go to the server’s Security folder, and open the Logins folder
- You will see three HighGear users: HighGear, HighGear_Admin, and HighGear_Reporting
- Right-click on the HighGear user and click Properties
- Go to the User Mapping page
- Check the “Map” box for the HighGear database
- In the Role Membership section, check db_datareader and db_datawriter
- Click OK
- Do the same thing for HighGear_Admin, but check db_datareader, db_datawriter, and db_owner
- Do the same thing for HighGear_Reporting, but only check db_datareader
- Now, go back to the HighGear database and open the Programmability folder
- Open the Functions folder, and go to the Scalar-valued Functions folder
- That list will contain four functions, or six if your server has the HighGear Business Intelligence Module installed. For each one, do the following:
- Right-click on the function and click Properties
- Go to the Permissions page
- Click the Add button, click Browse, and select HighGear, HighGear_Admin, and HighGear_Reporting
- Click OK twice to get back to the Permissions page
- Select each user in turn, and check the Grant box for the Execute permission
- Click Ok
If your source server had the BI Module, do the following:
- Open the HighGear_Reporting database
- Restore the backup file into the HighGear_Reporting database, with the Overwrite option checked
- Open the Security folder in the HighGear_Reporting database
- Open the Users folder
- Delete all of the users that are there
- Go to the server’s Security folder, and open the Logins folder
- You will see two HighGear users: HighGear, and HighGear_Reporting
- Right-click on the HighGear user and click Properties
- Go to the User Mapping page
- Check the “Map” box for the HighGear_Reporting database
- In the Role Membership section, check db_datareader , db_datawriter, and db_owner
- Click Ok
- Right-click on the HighGear_Reporting user and click Properties
- Go to the User Mapping page
- Check the “Map” box for the HighGear_Reporting database
- In the Role Membership section, check db_datareader and db_datawriter
- Click Ok
If you are unsure about any stage of this process, please contact support to discuss your questions.