HP 10400 Application Software Suite for Microsoft SQL Media LTU manual

Page 39

NOTE: If your servers are configured in a shared volume environment such as a Microsoft cluster environment, see the following sections for more information on performing a restore in an MSCS environment:

“Restoring a SQL Instance in an MSCS Environment Using File Copy Restore” (page 69)

“Restoring a Volume in an MSCS Environment Using Volume Restore” (page 69)

Alternatively, you can use InForm CLI commands to promote the virtual copy to its parent base volume. For more information, see the HP 3PAR InForm OS CLI Administrator’s Manual.

Restoring an Instance or Database with Volume Restore

WARNING! DO NOT perform a volume restore if the base volume to which you are promoting the virtual copy contains files for other instances or databases.

The volume restore feature promotes the virtual copy to the base volume and overwrites all data on the volume. If you perform a volume restore on a volume that hosts files for multiple instances or databases, the operation deletes all data not contained in the promoted virtual copy.

1.Schedule downtime for the SQL Server service; Recovery Manager for SQL automatically stops and starts the SQL Server service during a restore.

2.Under the Virtual Copy Management node in the node tree pane, right-click the timestamp for the virtual copy you want to use for the restore, and select Restore UsingVolume.

3.To confirm you understand the ramifications of proceeding with the restore, check the Click to continue checkbox.

4.Click OK.

The virtual copy completely overwrites the instance or database. The instance or database is now restored.

Restoring an Instance or Database with File Copy Restore

The file copy restore feature enables you to restore a specific instance or a database from a virtual copy. Unlike the volume restore feature, the file copy restore feature does not overwrite the entire volume.

1.Schedule downtime for the SQL Server service; Recovery Manager for SQL automatically stops and starts the SQL Server service during a restore.

2.Under the Virtual Copy Management node in the node tree pane, right-click the timestamp of the virtual copy you want to use for the restore, and select Restore UsingFile Copy.

NOTE: The Vendor Restore Method field of the File Copy Restore dialog box automatically displays Virtual Copy (File Copy).

By default, Recovery Manager restores the virtual copy to its parent instance or database (specified in the Target Server field).

3.To restore a virtual copy of a database to a database different from its parent database, you can specify an alternate database as the target of the restore:

a.In the Database Restore Option area of the File Copy Restore dialog box, check the Clone Database checkbox.

b.In the Database Name text box, enter the name of the database to which you want the virtual copy restored.

c.If you want to restore the clone database to a location other than its parent location, enter the directory path to the alternate database In the Alternate Path text box. Note that if

Restoring Instances, Databases, and Volumes 39

Image 39
Contents User’s Guide Documentation Contents Using the Recovery Manager GUI Configuring Backup SoftwareTroubleshooting Event Messages Using the Recovery Manager CLIRecovery for Microsoft SQL Server Remote Copy for Recovery ManagerIntroduction Related DocumentsTypographical Conventions Advisories Additional System Requirements Overview of Recovery ManagerSystem Requirements Windows Server RequirementsRunning Recovery Manager on a Japanese OS Recovery Manager RequirementsFeatures Supported Microsoft Volume Shadow Copy Service Features Not SupportedHow HP 3PAR VSS Software Works with Microsoft SQL Server Supported VSS ComponentsRecovery Manager Layout Overview of Recovery Manager Installation and Deinstallation Upgrading to Recovery Manager 4.2.0 for SQLPre-Installation Steps Installing Recovery Manager Understanding the Registry Verifying the InstallationDeinstalling Recovery Manager Configuring Recovery Manager Configuring the SQL DatabaseConfiguring Recovery Manager Configuring Recovery Manager Policies Configuring Mount FunctionalityGrouping Volumes into Autonomic Groups Volume Sets Testing SQL ConnectivityTroubleshooting SQL Connectivity Configuring the Host Computer and the HP 3PAR Storage SystemWindows Server Formatting Partitions on a New HP 3PAR VlunBefore You Begin Configuring Backup SoftwareSetting Up Symantec NetBackup OverviewRequirements Configuring HP Data ProtectorSetting Up the HP Data Protector Backup Specification Setting Up HP Data Protector Cell Manager AccessRM installation location\log\nbulog\databasetimestamp.log Using Your Backup SoftwareUsing Symantec NetBackup Using HP Data ProtectorClosing the Recovery Manager GUI Using the Recovery Manager GUIOverview of the Recovery Manager GUI Opening the Recovery Manager GUIUpdating Registration after Server Modification Setting the Recovery Manager Policy How Recovery Manager Policies WorkUnregistering a SQL Server Instance Retention Time Restrictions Setting Recovery Manager PoliciesModifying the Policy for a Virtual Copy Configuring Email NotificationsManually Creating a Virtual Copy Deleting Email ConfigurationsCreating Virtual Copies How Virtual Copy Creation WorksScheduling Automatic Virtual Copies Creating Remote Virtual CopiesScheduling Automated Tasks with Task Scheduler Automating TasksManaging Automated Tasks with Task Manager Mounting a Virtual CopyManually Creating Backups at the Instance or Database Level Unmounting a Virtual CopyBacking Up a Virtual Copy Scheduling Automatic Backups of an Instance or Database Removing a Backup from the Repository Restoring Instances, Databases, and VolumesCreating a Backup of a Virtual Copy Restoring an Instance or Database with File Copy Restore Restoring an Instance or Database with Volume RestoreAnalyzing and Synchronizing the Repository Restoring an Instance or Database from a BackupViewing Event Message Descriptions Removing a Virtual CopyUsing the Recovery Manager CLI Recovery Manager for SQL Server Command Line Interface CLIRecovery Manager Commands Sync RMSql analyzeRMSql analyze -s SQL server -sync -f SQL ServerRMSql backup Example RMSql create RMSql create -s SQLVirtualServer -d test RMSql create -s SQLServer -d testUsing the Recovery Manager CLI RMSql deletebackup -s server1 -d db1 -t RMSql deletebackupRMSql display -s server1 RMSql displayRMSql listbackup RMSql mount RMSql policy Database virtual copy limitInstance virtual copy limit Retain timehHdD RMSql policy -n 5 -s SQL serverRMSql policy -exp 30d -s SQL server Recovery Manager Commands RMSql portconfig -n 9999 -s WindowsHost RMSql portconfigRMSql portconfig -n number -s WindowsHost RMSql portconfig -nRMSql remove -s SQL server -t timestamp RMSql removeRMSql report -s Grampus -output c\MyReport RMSql reportRMSql report -s WindowsHost -output OutputDirectory WindowsHostRMSql repository RMSql repository -a alter location -rRMSql repository -a d\3parvv RMSql restore SystemDrive\3parSnapshot by defaultAltLocation Snap NorecoveryRMSql restore -s server1 -d testdb -t RMSql restore -snap -s server1 -d testdb -tUsing the Recovery Manager CLI RMSql setvc RMSql setvc -s server1 -t 020409162103 -exp 30d RMSql setvc -s server1 -t 020409162103 -exp 2hRMSql timeconfig -bkt RMSql timeconfigRMSql timeconfig RMSql timeconfig -prtRMSql unmount -s SQL server -t timestamp Running Recovery Manager as a Scheduled JobScheduling an Automated Task in Windows RMSql unmountFor example Preparing for the Recovery Process Recovery for Microsoft SQL ServerMicrosoft SQL Server Recovery Models Recovering Data with HP 3PAR Recovery ManagerRecovering All Data with Point-of-Failure Recovery Performing a Point-of-Failure Recovery Recovering All Data with Point-of-Failure Recovery How Remote Copy Works Remote Copy for Recovery ManagerSetting Up Remote Copy Support for GeoCluster for Microsoft Windows Setting Up Remote Copy Volume GroupsSetting Up a Remote Copy Volume Group for Databases Support for Remote Copy Modes and PoliciesSetting Up a Remote Copy Volume Group for Instances Recovering a SQL Database from a Remote Copy Backup ServerVMWare and Egenera Server Virtualization EnvironmentsTroubleshooting Installpath\NetBackup\db\altnames\No.Restrictions Installpath\NetBackup\db\Event Messages Event ID Event ID Event ID Event ID Provcfg conn -syncrc Yes