How to move reporting databases to a new drive
How do I move the Netwrix Reporting databases to another drive?
Procedure​
- Open SQL Management Studio on the computer where the SQL Instance resides.
- Right click on the database you would like to move and go to Properties.
- Under Select a page, select Files.
- By default there will be two files for each database, an
MDFand anLDFfile. Note the location of these files in thePathcolumn. - Hit Okay
- Right click the database and go to Tasks -> Detach.
- In the Detach Database Window check the box to Drop Connections and hit Okay.
- Navigate to the location from step #4 and copy the
MDFandLDFfile to the new location. - In SQL Management Studio right click the Databases folder and select Attach.
- Click Add under Databases to Attach and select the location and
MDFfile for the database and hit okay (TheLDFwill be located automatically if in the same location). - Hit okay again on the Attach databases screen. Your database should now be attached once again and now residing in it's new location.