Submit a ticketCall us

WebinarUpcoming Webinar: Easily Automate Backups and Simplify Log Message Management

Backing up your network configuration and logging data are a few steps to helping keep your network safe. In this in-depth webinar, we’ll show you how these tasks can be automated to save your IT team time while maintaining accurate archives of your data.

Register 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: 3,345 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

Tags

Classifications

Public