HP Software manual Restoring Microsoft SQL Server 7 master databases, Restore the msdb database

Page 58

Start the Data Protector Express and SQL Server services

1.Start the Data Protector Express service by using one of the following methods:

a.Using the Windows Command Line

i.Open a command prompt.

ii.Switch to the following directory:

C:\Program Files\HP\Data Protector Express

iii.Type the following command at the command prompt: ytwinsvc -s

This command starts the Data Protector Express service on the local machine.

b.Using the Microsoft Management Console (MMC)

i.Right-click the My Computer icon and select Manage.

ii.In the left pane of the window, select Services and Applications Services.

iii.In the right pane of the window, locate the Data Protector Express service.

iv.Right-click the service and select Start.

2.Restart the SQL Server service using the SQL Server Enterprise Manager.

Restore the msdb database

When restoring the msdb database, consider the following:

The msdb database supports SQL Executive and provides a storage area for scheduling information. The schedules that you implement using SQL Enterprise Manager are maintained in the msdb database. This includes such things as the tasks that you schedule from the Task Scheduling window, the automatic backups you schedule from the Database Backup/Restore window and all replication tasks, which are automatically created by the system if the server is configured as a replication distributor.

During installation of a server, the setup program automatically creates two devices (of 2MB and 1MB) on the same disk drive as the master database and then places the msdb database on the 2MB device (MSDBDATA) and its transaction log on the 1MB device (MSDBLOG).

Scheduling information is then stored in this database.

During a rebuild of the master database, the setup program drops and re-creates the msdb database, which results in a loss of all scheduling information.

Restoring Microsoft SQL Server 7 master databases

A damaged master database is evident by the failure of the SQL Server to start, by segmentation faults or input/output errors or by a report from DBCC. An example of an error might be damage caused by media failure in the area in which master database is stored.

The procedure used to recover a damaged master database is different from the procedure used to recover user databases. If the master database becomes unusable, it must be restored from a previous dump. All changes made to the master database after the last dump are lost when the dump is reloaded and therefore must be reapplied.

It is strongly recommended that the master database be backed up each time it is changed. This is best accomplished by prohibiting the creation of user-defined objects in the master database and by being aware of the statements and system procedures, and the equivalent actions in SQL Enterprise Manager, that modify it.

The most common statements and system procedures that modify master are:

DISK INIT

CREATE DATABASE

ALTER DATABASE

58 Working with Third-Party Applications

Image 58
Contents Data Protector Express User Guide Acknowledgments Contents Disaster Recovery IndexConcepts OverviewTerminology Overview Simple, Immediate Backup Restore to a Different Location Restore to a Different Location Using the Administrator Administering BackupMain Window Property Pages Missing FeaturesOpening Property Pages Managing Data Protector Express Using Quick Access from TaskbarViewing Data Protector Express status Managing JobsManaging Alerts SettingsMonitoring jobs Managing LogsMicrosoft Windows and the Data Protector Express Server About the Data Protector Express ServiceOther Commands Linux and the Data Protector Express DaemonAbout the Data Protector Express Service Selecting Files Configuring Backup JobsSelecting Devices Schedule Settings ConfigurationEncryption Auto verify mode Mode SettingsBackup mode Type of Fixed RotationWrite mode Split FileScheduled Dates Interval SettingsAuto format mode Media to be usedAdvanced Settings Advanced OptionsExecution Settings for WindowsLog Options Barcode FilterSelecting Files Configuring Restore and Verify JobsSelecting Versions Restoring a file with a new name Restoring foldersRestoring files and folders to a different folder Advanced Restore Options Advanced Verify Options Execution OptionsBarcode Filter Options Selecting Devices for Jobs Working With DevicesDevice Properties Device Commands Element statusWorking With Devices Device Commands Installation and Configuration Working with Tape LibrariesBarcode Filters Barcodes and MIC memory in cartridgeInitialization Process Sharing storage devices on a SAN Media ManagementBackup Schedule Considerations Scheduling, Rotations, and Media ManagementMedia Sets Scheduling ConceptsIntervals Implications for Restoring Data Media Rotation Types Running Jobs with Rotations Comparing rotation typesEncryption Encryption and CompressionCryptographic Algorithms Passphrase Encryption OptionsKey Management CompressionMicrosoft Exchange Server Configuring a Microsoft Exchange ServerWorking with Third-Party Applications Supported PlatformsBacking up Microsoft Exchange Server Restoring Microsoft Exchange Databases System-level Disaster Recovery Disaster Recovery with Microsoft Exchange ServerPreparing to Restore the Microsoft Exchange Server Restoring the Microsoft Exchange MTA Database Mailbox Backup and RecoveryRestoring Microsoft Exchange Databases Restoring Mailboxes ConfigurationBacking Up Mailboxes RequirementsSupported Exchange Server versions PowerShell AccessWorking with Microsoft SQL Server Mailbox PermissionsConfiguring the Microsoft SQL Server Microsoft SQL server conceptsBacking up Microsoft SQL Server Microsoft SQL Server Databases and the backup mode Restoring Microsoft SQL ServerRestoring Microsoft SQL Server user databases Restoring Microsoft SQL Server master databases Restoring Microsoft SQL Server 2000 master databasesStop the Data Protector Express and SQL Server services Create Database Alter DatabaseRestore the master database from the most recent backup Restart SQL Server in single-user modeRebuild the master database Apply changes to the master database Drop invalid databasesRestore the msdb database Start the Data Protector Express and SQL Server servicesRestoring Microsoft SQL Server 7 master databases Disk Mirror Disk Unmirror Disk Remirror Restart Microsoft SQL Server in single-user mode Drop invalid databases and database devices Windows SharePoint Services protection concepts Protecting Microsoft Windows SharePoint ServicesProtecting Windows SharePoint Services Restoring SharePoint Services Working with Certificate Services Using Disaster Recovery with Windows SharePoint ServicesBoot Media Disaster RecoveryImportant guidelines Preparing For a Disaster Advantage of Bootable Backup DevicesRestoring to dissimilar hardware Configuring Backups to Support Disaster Recovery Create bootable mediaTest the media Recovering From a Disaster Disaster Recovery with LibrariesDisaster Recovery Disaster recovery for Linux Disaster recovery for Windows 2003, Windows XP and earlierCompleting the Data Restore LimitationsPerformance Settings Backup Domain ConfigurationMail Settings Alert SettingsDomain Security Client Upgrade SettingsSetting a User Password OptionsLog Type Advanced Job OptionsJob Log options Log file formatsMail log Job Pre-Post Execution CommandsPre Execution Commands AuditingBarcode Filters for Jobs Post Execution CommandsLogs Advanced Job Options Related information Support and other resourcesContacting HP Typographic conventionsDocumentation feedback Index Index VSS
Related manuals
Manual 1 pages 61.46 Kb Manual 1 pages 6.39 Kb