Views:
 
It is impossible to move the .ldf file only and leave the .mdf file on its original location, and vice-versa. Both .mdf and .ldf files must be on the same location (e.g. F:\databases\) when you re-attach it to the SQL instance.
In case you're not familiar with Microsoft SQL navigation, you may consult your database administrator.

To move a database file:

  1. Stop the Deep Security Manager service or Vulnerability Protection Manager service.
  2. Log in to SQL Server in the SQL Studio and then back up the database.
  3. Right-click the DSM or VPM database and click Task, then click Detach.

    Detach database

  4. Tick the Drop Connection checkbox and click OK.

    Drop connection

  5. On the SQL Studio, confirm that the database name is no longer existing in the Database list.
  6. Move the .mdf and .ldf files to another drive (e.g. F:\Databases\).
  7. On the SQL Studio, right-click the Databases and click Attach.

    Attach database

  8. Under Databases to attach, click Add.

    Add database

  9. Browse for the Database file (.mdf) from its new location (e.g. F:\Databases\) and click OK.

    Browse for the database file

  10. Verify the database details and location and click OK.

    Verify the database details

  11. On the SQL Studio, make sure the database name is back in the Database list.
  12. Start the Deep Security Manager service or Vulnerability Protection Manager service.
  13. Confirm that you can open the Deep Security Manager service or Vulnerability Protection Manager console.