It is not currently possible to migrate data from your existing Microsoft SQL Server, MySQL or Oracle database to the built-in EventSentry PostgreSQL database.
You can however switch to the built-in database going forward and retain old data in the existing MSSQL/MySQL/Oracle database. To do this, follow the steps below.
- Upgrade to EventSentry v2.93.
- After upgrading, run the EventSentry v2.93 installer again and this time add the "Built-In Database" component. This will install the built-in PostgreSQL database. Alternatively you can also run the installer on a dedicated machine where you wish to install the built-in database.
- The installer will automatically launch the configuration assistant again, you can hit "Cancel" to abort the wizard - it will not make any changes.
- Open the EventSentry Management Console and navigate to your existing database action.
- Erase the connection string information by clicking the "X" button to the right of the string.
- Click the "Create" button and change the database type to "PostgreSQL".
- Specify the connection information for the new database (host name, port, database name). These settings will later be used by the configuration assistant to initialize the database.
- Specify any password for the "eventsentry_svc" user.
- Click the "Initialize or Update Database" button which will launch the configuration assistant again. Ignore any authentication errors in regards to the "eventsentry_svc" user.
- On the "Database Configuration" dialog, specify the administrative password for the postgres user account. This password was created when the Built-In database as added with the setup.
- On the "Database Users" dialog set new passwords for the eventsentry_svc and eventsentry_web users. Remember both of these passwords!!!
- Finish the configuration assistant and navigate back to the database action dialog.
- Click the "Create" button again, and replace the password for the eventsentry_svc user account with the password selected during the database initialization.
- Click the "Test" button to verify that the new database was created successfully, and that the database action is configured correctly.
- Save the configuration.
- On the "Service Control" dialog, click "Restart" to the stop & start the EventSentry agent.
- Navigate to the web reports with your browser.
- Navigate to OPTIONS - Profile Editor
- Click on "Create New Profile"
- Specify a profile name and check the "Default Profile" check box if desired
- Setup the database connection by clicking on the "Create" button, click OK when finished.
- Specify the correct table prefix, "eventsentry" by default.
- Click the Test Connection button to test the database connection settings.
- Scroll to the bottom of the page and click "Apply" to save the settings.
- Return to the web reports and select the new profile on the top right corner. You should see some information from the local host. Once we have verified that the web reports are configured correctly and the agent is writing to the database, we can deploy the new settings to all remote agents (if applicable).
- Return to the management console, and navigate to Remote -> Upgrade Agent(s). Click the green arrow in the toolbar to start the update process if it doesn't start automatically.