Overview
This article discusses for to initialize a new database or upgrade an existing database.
Prerequisites
- A Forensic Tools installation
- Either an MSSQL database installed as described in the Microsoft SQL Server 2016, 2017, & 2019 Install Guide, or a PostgreSQL database
- The Exterro Self Host Service must be in a stopped state before attempting any of the steps below. Failure to adhere to this may result in data loss.
Procedure
Initialize a new database
- Launch the AccessData Database Configuration Tool, typically located at "C:\Program Files\AccessData\Forensic Tools\<version>\bin.DBConfig.exe", as Administrator.
Note: If using MSSQL, DBConfig should be run by your service account, which should have the sysadmin role in MSSQL. - Click Add Configuration
- Select the desired Database Type.
Enter the Server Name and Port of your database, using a colon between the server/instance name and port. If your database is using the default port, you do not need to specify a port here.
Do not change the Database Name / SID and Database Schema fields from their default values.
If you'd like to set a custom password for Forensic Tools to use when communicating with the database, click the lock next to Internal Authentication Mode and select Database Authentication.
Note: Using Database Authentication with MSSQL also allows you to select whether or not to Enforce the Password Policy for SQL Logins for Windows/domain.Check Create Database.
If you are using PostgreSQL, do the following. Otherwise, set System Authentication Mode to Windows Authentication.
- Set System Authentication Mode to Database Authentication.
- Enter "postgres" in the System User field.
- Enter the PostgreSQL password in the System Password field.
- Set System Authentication Mode to Database Authentication.
- Check Install WordNet.
- Choose a username and password for your initial Forensic Tools administrator.
- Leave the Version dropdown set to its default value.
- Click Create.
- After database creation completes, check the Default box next to your database.
- Close DBConfig.
Upgrade an existing database
- Launch the AccessData Database Configuration Tool, typically located at "C:\Program Files\AccessData\Forensic Tools\<version>\bin.DBConfig.exe", as Administrator.
Note: If using MSSQL, DBConfig should be run by your service account, which should have the sysadmin role in MSSQL. - Highlight your database.
- Click Validate.
- Click Check Common Options.
- If you are using PostgreSQL, do the following. Otherwise, set Authentication Mode to Windows Authentication.
- Set Authentication Mode to Database Authentication.
- Enter "postgres" in the System User field.
- Enter the PostgreSQL password in the System Password field.
- Set Authentication Mode to Database Authentication.
- Click Validate.
- Wait for the database validation to report successful completion.
- (Recommended) Create a full backup of all existing MSSQL databases.
- Highlight your database.
- Click Update Database.
- Select a Backup path. The specified path must be relative to the database server, and the account running the database service must have full access to that path.
Note: If you've already created your own database backup, you can check No Backup Path. - If you are using PostgreSQL, do the following. Otherwise, set Authentication Mode to Windows Authentication.
- Set Authentication Mode to Database Authentication.
- Enter "postgres" in the System User field.
- Enter the PostgreSQL password in the System Password field.
- Set Authentication Mode to Database Authentication.
- Click Update.
- Wait for the database update to report successful completion.
- Close DBConfig.
Migrate AppDB Data (7.6 and newer, if coming from 7.5 and older)
Note: The AppDBs must be upgraded to 7.5.2 before using the Migrate Data function.
- Launch the AccessData Database Configuration Tool, typically located at "C:\Program Files\AccessData\Forensic Tools\<version>\bin.DBConfig.exe", as Administrator.
Note: If using MSSQL, DBConfig should be run by your service account, which should have the sysadmin role in MSSQL. - Highlight your database.
- Click Migrate Data.
- Set Authentication Mode to Windows Authentication.
- Click Start Data Migration.
- Wait for the migration to report successful completion.
- Close DBConfig.