HP Software manual Restoring Microsoft SQL Server master databases

Page 54

An alternative method is to manually create the entire database itself. Thus, when Data Protector Express attempts to restore the database, since the database already exists, it will use that preexisting database. This allows you to restore a database in a new location, since Data Protector Express does not check to see if it is the original device before restoring the database, because the database already exists.

NOTE: An alternative method is to manually create the entire database itself. Thus, when Data Protector Express attempts to restore the database, since the database already exists, it will use that preexisting database. This allows you to restore a database in a new location, since Data Protector Express does not check to see if it is the original device before restoring the database, because the database already exists.

Using Data Protector Express, create a restore job and run the job to restore the database. You must start with a full backup version of the database to restore which was created using a Full backup job.

4.Create additional restore jobs to restore each transaction log backed up after the full database you restored. You must create and run a separate restore job for each transaction log.

For example, if you ran a full backup on Friday and incremental jobs (that is, jobs that backed up only the transaction logs) on the following Monday and Tuesday, you must first restore the database using Friday’s version of the database. Next, create a run and restore job that restores Monday’s version (Monday’s transaction log). Finally, create and run a job that restores Tuesday’s version (Tuesday’s transaction log).

In the last incremental restore job, click the Advanced Options button and select the Finalize recovery of MS SQL databases check box. If you do not select this check box, the database will be offline.

Restoring Microsoft SQL Server 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.

HP recommends 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 Server Management Studio, that modify it.

Please refer to the documentation for Microsoft SQL Server for information on the proper way to restore the master databases.

Restoring Microsoft SQL Server 2000 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.

HP recommends 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

54 Working with Third-Party Applications

Image 54
Contents Data Protector Express User Guide Acknowledgments Contents Disaster Recovery IndexOverview ConceptsTerminology Overview Simple, Immediate Backup Restore to a Different Location Restore to a Different Location Administering Backup Using the AdministratorMain Window Missing Features Property PagesOpening 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 Configuring Backup Jobs Selecting FilesSelecting Devices Configuration Schedule SettingsEncryption 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 FilterConfiguring Restore and Verify Jobs Selecting FilesSelecting Versions Restoring folders Restoring a file with a new nameRestoring files and folders to a different folder Advanced Restore Options Advanced Verify Options Execution OptionsBarcode Filter Options Working With Devices Selecting Devices for JobsDevice Properties Device Commands Element statusWorking With Devices Device Commands Installation and Configuration Working with Tape LibrariesBarcodes and MIC memory in cartridge Barcode FiltersInitialization Process Sharing storage devices on a SAN Media ManagementBackup Schedule Considerations Scheduling, Rotations, and Media ManagementScheduling Concepts Media SetsIntervals Implications for Restoring Data Media Rotation Types Running Jobs with Rotations Comparing rotation typesEncryption and Compression EncryptionCryptographic 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 Disaster Recovery with Microsoft Exchange Server System-level Disaster RecoveryPreparing to Restore the Microsoft Exchange Server Mailbox Backup and Recovery Restoring the Microsoft Exchange MTA DatabaseRestoring 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 DatabaseRestart SQL Server in single-user mode Restore the master database from the most recent backupRebuild the master database Apply changes to the master database Drop invalid databasesStart the Data Protector Express and SQL Server services Restore the msdb databaseRestoring 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 Protecting Microsoft Windows SharePoint Services Windows SharePoint Services protection conceptsProtecting Windows SharePoint Services Restoring SharePoint Services Working with Certificate Services Using Disaster Recovery with Windows SharePoint ServicesDisaster Recovery Boot MediaImportant guidelines Advantage of Bootable Backup Devices Preparing For a DisasterRestoring 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 AuditingPost Execution Commands Barcode Filters for JobsLogs 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