2: Move the database
Before you begin
Once the Forcepoint DLP database has been detached from its original location, move it to the new location, reattach it to SQL Server, and modify Forcepoint DLP settings.
Steps
- Copy the following files from the /Data folder on the source SQL Server machine to the /Data folder on the target SQL Server machine:
- wbsn-data-security.mdf
- wbsn-data-security_log.LDF
- wbsn-data-security-temp-archive.mdf
- wbsn-data-security-temp-archive_log.LDF
- On the target SQL Server machine, open Microsoft SQL Server Management Studio.
- Attach the wbsn-data-security.mdf and wbsn-data-security_log.LDF databases as follows:
- Expand the nodes in the left navigation pane until the Databases folder is displayed, then right-click that folder.
- Select Attach, then click Add.
- Navigate to the location of the mdf and ldf files, then select a partition database mdf file.
- Repeat this process for each database.
- Click OK when all databases have been selected.
-
On the management server, run the Forcepoint Security Setup wizard, select Modify, and then modify the settings to use the target SQL Server.
If the databases are being moved from a local SQL Server Express instance to a remote Standard or Enterprise Edition instance, edit /Websense/EIP Infra/ EIPSettings.xml before running modify. Set the External value to true:
<External>true</External> - Run the Modify wizard for Forcepoint DLP and modify the settings for Temporary File Location. (Verify that all UNC path are accessible.)
-
Delete the content of the following folders from the management server:
- %dss_home%\tomcat\work
- %dss_home%\tomcat\temp
- Using the Windows Services tool, set the Websense Data Security Manager service startup type back to Automatic and start the service.
- Log on to the Data Security module of the Security Manager and click Deploy. Verify that data from the database is visible (for example, in incident reports).