Submit a ticketCall us
Home > Success Center > Orion Platform > Orion - Knowledgebase Articles > Back Up Orion DB without SQL Management Studio

Back Up Orion DB without SQL Management Studio

Table of contents
Created by Robert Stidman, last modified by Adrian Cook on Aug 16, 2017

Views: 4,088 Votes: 0 Revisions: 7


This article provides brief information and steps to create a backup of the database to move it no a new server. 


  • All NPM versions
  • SQL installs with SQL Management Studio - any SQL version supported by Orion.


Warning: Create a raw backup of your database files with SQL turned OFF. 


1. Stop the Orion services and then open windows services on the SQL server and stop SQL Server service.

2.  Find the MDF file for your DB.  This could be in various places so you will need to do a search of the machine. 

3. The file should be databasename.mdf, copy the file to another location. 

4. Find the file with the same name but with extension LDF and copy that as well.

5. To restore the DB. Follow the steps below:   

a. Place the .mdf and .ldf files in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\.

b. Go to the SQL software, right-click Databases and click Attach to open the Attach Databases dialog box. 

c. Click Add to open and locate the database files from C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\.

d. Click OK. The SQL Server Management Studio loads the database from the .mdf file. 

6. Restart your SQL Server service and all your SolarWinds services.


SQL Backup Microsoft KB




Last modified