HP Software manual Restoring Microsoft SQL Server user databases

Page 53

Next, you must restore the transaction logs in the order created and in separate jobs. No log can be skipped when restoring.

For example, if you did a full backup on Monday and incremental backups each day Tuesday through Friday, you must run five separate jobs: one restoring the database from Monday’s full backup job and then four additional separate jobs restoring each transaction log in sequential order, beginning Tuesday and continuing with each log sequentially until Friday.

You do not have to follow these procedures when restoring databases backed up with full backup jobs. (Full backup jobs back up the entire database, while Incremental and Differential jobs only back up the database logs.)

Restoring Microsoft SQL Server user databases

To restore a database, begin by restoring the most recent full backup of the database, followed by all the database logs, that is, backups made with the Backup mode set to either incremental or differential.

When a database is restored, if the database does not yet exist, Data Protector Express will create the database where the database was originally located.

To restore a lost or damaged database:

1.If the transaction log of the damaged or inaccessible user database is on an undamaged device, make a backup of the transactions before proceeding. (This lets you preserve up to the minute transactions that are not included on the backup tape.)

You may use either a DUMP TRANSACTION statement on the SQL server or use a Data Protector Express Incremental backup job to back up only the transactions logs.

2.If you are restoring the database because the data in the database is no longer needed or is incorrect, skip to step 3. The following instructions are for recreating database devices and the database which had existed previously.

During the restore processes, Data Protector Express will recreate the database and all segments exactly as they existed when the backup was performed.

To do this, Data Protector Express first determines if the database exists. If the database does exist, Data Protector Express will use the database as is without any further processing or changes.

3.If the database does not exist, Data Protector Express next identifies the database devices on which the database was originally located. If the appropriate database device already exists, Data Protector Express will use that device as is without further processing.

If the database device does not exist, Data Protector Express recreates the database device at its original location and with its original size. After all the database devices are created, Data Protector Express then creates the database with all the original options at the original locations.

NOTE: If a disk drive fails and is not replaced, Data Protector Express will be unable to restore your database because it will be unable to recreate a database device.

For example, if a segment of your database resides on a database named ‘DATA’ at D:\ MSSQL\DATA\DATA.DAT, if D: is lost and not replaced, when Data Protector Express attempts to recreate the database device, it will fail, since D: no longer exists.

TIP: This method makes disaster recovery simple. The user simply create a restore job and allows Data Protector Express to recreate whatever is needed in order to successfully restore the database.

To avoid this problem, manually recreate the database device at some other valid location. It must be at least as large as the original database device since Data Protector Express will attempt to create a database segment on it the same size as the original database.

Working with Microsoft SQL Server 53

Image 53
Contents Data Protector Express User Guide Acknowledgments Contents Index Disaster RecoveryTerminology OverviewConcepts Overview Simple, Immediate Backup Restore to a Different Location Restore to a Different Location Main Window Administering BackupUsing the Administrator Opening Property Pages Missing FeaturesProperty Pages Viewing Data Protector Express status Using Quick Access from TaskbarManaging Data Protector Express Managing JobsMonitoring jobs SettingsManaging Alerts Managing LogsOther Commands About the Data Protector Express ServiceMicrosoft Windows and the Data Protector Express Server Linux and the Data Protector Express DaemonAbout the Data Protector Express Service Selecting Devices Configuring Backup JobsSelecting Files Encryption ConfigurationSchedule Settings Backup mode Mode SettingsAuto verify mode Type of Fixed RotationSplit File Write modeAuto format mode Interval SettingsScheduled Dates Media to be usedAdvanced Options Advanced SettingsLog Options Settings for WindowsExecution Barcode FilterSelecting Versions Configuring Restore and Verify JobsSelecting Files Restoring files and folders to a different folder Restoring foldersRestoring a file with a new name Advanced Restore Options Execution Options Advanced Verify OptionsBarcode Filter Options Device Properties Working With DevicesSelecting Devices for Jobs Element status Device CommandsWorking With Devices Device Commands Working with Tape Libraries Installation and ConfigurationInitialization Process Barcodes and MIC memory in cartridgeBarcode Filters Media Management Sharing storage devices on a SANScheduling, Rotations, and Media Management Backup Schedule ConsiderationsIntervals Scheduling ConceptsMedia Sets Implications for Restoring Data Media Rotation Types Comparing rotation types Running Jobs with RotationsCryptographic Algorithms Encryption and CompressionEncryption Encryption Options PassphraseCompression Key ManagementWorking with Third-Party Applications Configuring a Microsoft Exchange ServerMicrosoft Exchange Server Supported PlatformsBacking up Microsoft Exchange Server Restoring Microsoft Exchange Databases Preparing to Restore the Microsoft Exchange Server Disaster Recovery with Microsoft Exchange ServerSystem-level Disaster Recovery Restoring Microsoft Exchange Databases Mailbox Backup and RecoveryRestoring the Microsoft Exchange MTA Database Backing Up Mailboxes ConfigurationRestoring Mailboxes RequirementsWorking with Microsoft SQL Server PowerShell AccessSupported Exchange Server versions Mailbox PermissionsMicrosoft SQL server concepts Configuring the Microsoft SQL ServerBacking up Microsoft SQL Server Restoring Microsoft SQL Server Microsoft SQL Server Databases and the backup modeRestoring Microsoft SQL Server user databases Restoring Microsoft SQL Server 2000 master databases Restoring Microsoft SQL Server master databasesCreate Database Alter Database Stop the Data Protector Express and SQL Server servicesRebuild the master database Restart SQL Server in single-user modeRestore the master database from the most recent backup Drop invalid databases Apply changes to the master databaseRestoring Microsoft SQL Server 7 master databases Start the Data Protector Express and SQL Server servicesRestore the msdb database Disk Mirror Disk Unmirror Disk Remirror Restart Microsoft SQL Server in single-user mode Drop invalid databases and database devices Protecting Windows SharePoint Services Protecting Microsoft Windows SharePoint ServicesWindows SharePoint Services protection concepts Restoring SharePoint Services Using Disaster Recovery with Windows SharePoint Services Working with Certificate ServicesImportant guidelines Disaster RecoveryBoot Media Restoring to dissimilar hardware Advantage of Bootable Backup DevicesPreparing For a Disaster Create bootable media Configuring Backups to Support Disaster RecoveryTest the media Disaster Recovery with Libraries Recovering From a DisasterDisaster Recovery Disaster recovery for Windows 2003, Windows XP and earlier Disaster recovery for LinuxLimitations Completing the Data RestoreMail Settings Backup Domain ConfigurationPerformance Settings Alert SettingsSetting a User Password Client Upgrade SettingsDomain Security OptionsJob Log options Advanced Job OptionsLog Type Log file formatsPre Execution Commands Job Pre-Post Execution CommandsMail log AuditingLogs Post Execution CommandsBarcode Filters for Jobs Advanced Job Options Contacting HP Support and other resourcesRelated information Typographic conventionsDocumentation feedback Index Index VSS
Related manuals
Manual 1 pages 61.46 Kb Manual 1 pages 6.39 Kb