Overview
The following procedure explains how to move your GFI EventsManager database from one Microsoft SQL Server to another. This information applies to GFI EventsManager 2011 and older versions.
Note: It is essential that you are familiar with Microsoft SQL Server and database administration prior to attempting to move any Microsoft SQL database.
Environment
GFI EventsManager 2011 and older.
Process
Backing up the GFI EventsManager Database
- Stop the GFI EventsManager service.
- From Microsoft SQL Server Management Studio, navigate to Databases.
- Right click on
Database name
and select Tasks > Backup Database. - Perform a backup of the GFI EventsManager database.
- From Microsoft SQL Server Management Studio, navigate to Databases.
- Right click on
Database name
and select Tasks > Take Offline. - Move the backup of the database files on to the new Microsoft SQL server.
Note: The location of these files can vary from one setup to another.
Creating and transferring the new database
Proceed with the following instructions in the new SQL Server machine:
- From Microsoft SQL Server Management Studio, navigate to Databases.
- Right click on Databases and select New Database...
- From Microsoft SQL Server Management Studio navigate to Databases.
- Right click on
Database name
and select Tasks > Restore > Database (The database name can be changed if required). - In the Restore Database window's Source for restore section, select the option 'From device' and select the backup database file.
- After adding the database file, make sure that you select the database to restore by enabling the checkbox under Restore.
- Under Options > Restore Options, make sure that Overwrite the existing database is enabled
- From Microsoft SQL Server Management Studio navigate to Databases.
- Right click on
Database name
and select Properties > Files and make sure that you specify the Owner for the database, which you will use to configure the database within the GFI EventsManager configuration.
Configuring GFI EventsManager with the New Database
The following steps need to be carried out on the GFI EventsManager server:
- Start the GFI EventsManager service.
- Open the GFI EventsManager Management Console.
- Click on the Configuration tab and select Options.
- Click on the Database Backend node in the left pane and select Change database backend...
- Under the Change database tab, enter the hostname or IP address of your SQL Server.
- Click on the 'OK' button to save changes.
Note: If you have changed the database name on your new Microsoft SQL Server, ensure that you update the database name in the GFI EventsManager configuration.