Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Network Performance Monitor (NPM) > 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: 350 Votes: 0 Revisions: 7

Overview

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

Environment

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

Steps

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
13:02, 16 Aug 2017

Tags

Classifications

Public