How to restore a Microsoft SQL Server Master Database with Backup Exec for Windows Servers (Automate Master Database Restore)



Similar documents
Moving the Web Security Log Database

Restoring Microsoft SQL Server 7 Master Databases

Best Practices for Backup of Microsoft SQL 2000 Databases with Unitrends Backup Professional

How to Back Up and Restore an ACT! Database Answer ID 19211

Moving the TRITON Reporting Databases

Error: "Object reference not set to an instance of an object" When Opening Any Database

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Restoring Sage Data Sage 200

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

GO!NotifyLink. Database Maintenance. GO!NotifyLink Database Maintenance 1

SQL Database Administration. Overview

Video Administration Backup and Restore Procedures

Keystone Enterprise Backup

Cloud Services for Backup Exec. Planning and Deployment Guide

If a database is using the Simple Recovery Model, only full and differential backups of the database can be taken.

MICROSOFT OUTLOOK 2011 SYNC ACCOUNTS AND BACKUP

SQL Server 2005 Advanced settings

3 Setting up Databases on a Microsoft SQL 7.0 Server

SonicWALL CDP Local Archiving

Support Document: Microsoft SQL Server - LiveVault 7.6X

Backing Up and Restoring Microsoft Exchange Server Cloud Attached Storage. August 2012 Version 3.2

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

webkpi SaaS ETL Connector Installation & Configuration Guide

How To Fix A Backup Error In A Windows Xp Server On A Windows (Windows) On A Pc Or Mac Xp (Windows 7) On An Uniden Computer (Windows 8) On Your Computer Or Your Computer (For

WHITE PAPER: ENTERPRISE SOLUTIONS. Symantec Backup Exec Continuous Protection Server Continuous Protection for Microsoft SQL Server Databases

Online Backup and Recovery Manager Setup for Microsoft Windows.

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

SQL EXPRESS INSTALLATION...

SQL Server 2008 R2 Express Edition Installation Guide

SIDEKICK PC SETUP AND ACTIVATION ISSUES

How To Backup SCCM 2012 R2 Server

Database Administration Guide

Symantec Backup Exec Desktop Laptop Option ( DLO )

Installing Active Directory

Technical Notes. EMC NetWorker Performing Backup and Recovery of SharePoint Server by using NetWorker Module for Microsoft SQL VDI Solution

Use of Commercial Backup Software with Juris (Juris 2.x w/msde)

Microsoft SQL Server 2005 How to Create and Restore Database (GRANTH3) Manually

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

If you have questions or need assistance, contact PCS Technical Services using the contact information on page 10.

Installing LearningBay Enterprise Part 2

Instructions for update installation of ElsaWin 5.00

Questions What files need to be backed up for Class SQL? How do I backup Class?

Hosting Users Guide 2011

Common Backup Issues

MTA Course: Windows Operating System Fundamentals Topic: Understand backup and recovery methods File name: 10753_WindowsOS_SA_6.

Exchange Server Backup and Restore

BSDI Advanced Fitness & Wellness Software

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

Moving Components of an Amicus Premium Installation

Qbox User Manual. Version 7.0

Windows 7 Hard Disk Recovery

DigiVault Online Backup Manager. Microsoft SQL Server Backup/Restore Guide

12 SPS DATABASE ADMINISTRATION

Moving/Restoring the StarShip SQL database

BackupAssist v6 quickstart guide

SAS 9.3 Foundation for Microsoft Windows

SonicWALL CDP 5.0 Microsoft Exchange User Mailbox Backup and Restore

Create a New Database in Access 2010

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

PC Instructions for Miller LiveArc Software

EXPRESSCLUSTER X for Windows Quick Start Guide for Microsoft SQL Server Version 1

Installation Guide for Workstations

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Migrating MSDE to Microsoft SQL 2008 R2 Express

Moving a Romexis Database to an Existing SQL Instance

Recovering the master Database

Dream Report Version 4.5

Creating a Domain Tree

Backup/Restore Microsoft SQL Server 7.0 / 2000 / 2005 / 2008

VERITAS Backup Exec TM 10.0 for Windows Servers

Backup Exec Private Cloud Services. Planning and Deployment Guide

How to Copy A SQL Database SQL Server Express (Making a History Company)

TM Online Storage: StorageSync

VeriCentre 3.0 Upgrade Pre-Installation and Post Installation Guidelines

Backup/Restore Utility (Version 2.1)

Cloud Attached Storage

Exchange Granular Restore User Guide

How To Restore Your Data On A Backup By Mozy (Windows) On A Pc Or Macbook Or Macintosh (Windows 2) On Your Computer Or Mac) On An Pc Or Ipad (Windows 3) On Pc Or Pc Or Micro

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

Restoring your Data. Click on the Restore Tab BELOW the Find button do not click on the Restore Button just

12 NETWORK MANAGEMENT

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

Upgrading MySQL from 32-bit to 64-bit

How To Backup A Database In Navision

ImageNow for Microsoft SQL Server

Best Practices for Disaster Recovery with Symantec Endpoint Protection

Administrator s Plus. Backup Process. A Get Started Guide

Moving a database from MS Access to MS SQL server. Introduction. Selecting the database. Creating a Data Source

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

Microsoft SQLServer Restore / Redirected Restore Procedure

Lenovo Online Data Backup User Guide Version

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.7

How to Copy Photos to a CD Using Microsoft Windows XP or Microsoft Windows Vista

Application Note 116: Gauntlet System High Availability Using Replication

SQL 2012 Installation Guide. Manually installing an SQL Server 2012 instance

Transcription:

How to restore a Microsoft SQL Server Master Database with Backup Exec for Windows Servers (Automate Master Database Restore) Solution If the master database is damaged, symptoms may include: 1. An inability to start SQL 2. Segmentation faults or input/output errors 3. A report generated by the SQL Database Consistency Checker utility (DBCC) If you can still start SQL, you can restore the latest copy of the master database backup using the Automate master database restore option in the Backup Exec Restore Job Properties for SQL dialog box and then restore any other databases, if required. If the master database is critically damaged and SQL cannot be started, rather than running the Rebuild Master utility or reinstalling SQL to be able to restart SQL, you can replace the corrupt or missing databases with the copies of the master and model databases that Backup Exec automatically creates and updates whenever backups of those databases are run. How to replace the corrupt or missing master database and log files with the copies of the master database and log files: 1. Go to the MSSQL folder on the Server where SQL is installed (Figure 1) 2. Go to the data folder under MSSQL (Figure 2)

3. With every full backup of a MSSQL Server or instance the following files get created (Figure 3) a. master$4idr b. mastlog$4idr 4. Rename the corrupted master database and log files to ".old" as shown (Figure 4) 5. Change master$4idr to master.mdf as shown (Figure 5)

A dialog box will be displayed, please select Yes. 6. Change mastlog$4idr to mastlog.ldf (Figure 6) A dialog box will be displayed, please select Yes. 7. Before starting the MSSQL Server service remove the "READ-ONLY" attribute from the master database and log files (Figures 7 & 8)

Note: If you do not remove the "READ-ONLY" attribute from the database and log file of the MSSQL Server, the SQL services will not start. 8. Start the services by clicking on the green arrow (Figure 9)

9. The services have started successfully (Figure 10) Once the MSSQL Server service is up and running, open Backup Exec and restore the master database file using the "AUTOMATED DATABASE RESTORE" method as explained below. After SQL is running again, you can restore the latest copy of the master database using the Backup Exec Automate master database restore option, and then restore any other databases, if required. If copies of the master and model databases were not made, then you must use the Microsoft rebuildm.exe utility to rebuild the master database and start SQL. Because all changes made to the master database after the last backup was created are lost when the backup is restored, the changes must be reapplied. If any user databases were created after the master database was backed up, those databases cannot be accessed until the databases are restored from backups or reattached to SQL. To restore the master database: 1. On the navigation bar, click Restore 2. On the Properties pane, under Source, click Selections 3. On the restore selections list, select the backup set containing the last master database backup 4. On the Properties pane, under Settings, click SQL 5. On the Restore Job Properties for SQL dialog box, select Automate master database restore (Figure 1) Figure 1

All existing users are logged off, and SQL Server is put into single-user mode. When this option is selected, only the master database can be restored; if this option is selected for any other database, those jobs will fail. If Backup Exec does not have access to the following registry keys, then a restore to the default directory may not work, and the Automate master database restore option on the Restore Job Properties for SQL will not work. HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer Ensure that the account that Backup Exec uses has administrator permissions to the computer that is running SQL. 6. Select a consistency check to be run after the restore. 7. Start the restore job. After the restore, SQL is restarted in multi-user mode. NOTE :When Backup Exec is installed into an existing instance, the automated master database restore feature is not available. To recover the Master database, you must replace it with the Master database copy that Backup Exec automatically creates and updates when the Master database is backed up