- Following steps will move the old databases information to other location if database rotation is enabled.
- When database rotation is not enabled and disk runs full, best way is to create a new blank database, and move the active database to other drive.
- If disk is not full yet and doing database rotation is not desired, please follow steps in article GFI EventsManager | How to purge old Events from GFI EventsManager database
- Stop GFI EventsManager and GFI EventsManager Monitor services.
- From GFI EventsManager console go to Configuration tab > Options > Configurations, click File storage > Configure file storage…
- On General tab, verify the current database name and if there exists any old database as a result of database rotation.
- If there is only one database (database rotation disabled) a new database must be created in order to move the data:
- Try to free up some disk space by other means (ie. temporary files)
- Click on New... , set a new database name and hit OK
- Take note of the path (C:\Program Files (x86)\GFI\Database Server 2.1\Databases\ by default) and the database names you wish to move.
- Close GFI EventsManager console.
- Open a command prompt window by running it as administrator
- Change to the directory where your database server was installed (ie.: cd "C:\Program Files (x86)\GFI\Database Server 2.1")
- For each database you want to move, replace source path, destination path and database name from following command and execute it
DlibAdm /copyMoveDLib /sourcePath:<source path> /destinationPath:<destination path> /copyMove:-m /dbName:<database name>
- Once completed the database movement for all required databases, start services stopped on step 1
- Start GFI EventsManager console and verify it's working as required.