How to Migrate Netwrix Auditor Databases to Another SQL Server Instance
Question
Can you migrate audit databases to another Microsoft SQL Server instance?
Answer
Yes, you are able to migrate audit databases to another Microsoft SQL Server instance. Follow the steps below to complete this process.
Prerequisites
- Required Permissions: The account used by Netwrix Auditor must have db_owner rights on the target audit databases. For SQL Server Reporting Services (SSRS), the account must have the Content Manager role on the Home folder, and users must have the Browser role on the Report Server. For detailed steps on assigning these permissions, see How to Assign db_owner Permissions and SQL Server Reporting Services
- SQL Server and SSRS must be installed and configured on the new server.
Instructions
- Configure a new SQL Server instance.
- On the Netwrix Auditor server, stop
Netwrix Auditor Archive ServiceandNetwrix Auditor Management Service. - Back up all Netwrix databases in the old SQL Server instance except for Netwrix_CommonDB, Netwrix_ImportDB, Netwrix_Auditor_EventLog, ReportServer, and ReportServerTempDB. To back up databases:
- Open Microsoft SQL Server Management Studio and connect to the original SQL Server instance.
- Select an audit database, right-click it, and select Tasks > Back Up...
- In the Back Up Database window, review the path where the database backup will be stored in the Destination section.
- Copy the database backups to your new SQL Server. In the new SQL Server instance:
- Open Microsoft SQL Server Management Studio and connect to the destination SQL Server instance.
- Right-click the Databases node and select Restore Database...
- Under the Source section, select the Device option, and click ... to browse for databases.
- In the Specify Backup Devices window, click Add and select the backup database file. Click OK.
- Specify the database name and check the Restore checkbox under the Backup sets to restore section.
- Deploy the new Report Database. For more information, see Deploying the Report Server Database
- Stop the old SQL Server (%instance_name%) service.
- Start
Netwrix Auditor Archive ServiceandNetwrix Auditor Management Service. - In the main Netwrix Auditor menu, select Settings > Audit Database tab, and specify the new SQL Server and Reporting Service settings.
NOTE: If you receive the following pop-up message, click Yes to proceed with modifying the Audit Database settings:
- Click Yes when the following message appears:
- In the main Netwrix Auditor menu, select Settings > Investigations tab. Click Modify to specify the new SQL Server settings.
- Run a search with the filter When | Equals | Last 7 days. If you see the relevant data, the databases were migrated successfully and the new SQL Server is being used.
- Optional: Start the old SQL Server instance if it is used for any other tasks.