HP Application Software Suite for Microsoft SQL manual RMSql create -s SQLServer -d test

Page 47

NOTE: Retention time restrictions are:

You must have a Virtual Lock license to use the -retain option.

The minimum retention period is 1 hour; the maximum is 43,800 hours/1,825 days (5 years).

The default retention time is 336 hours (14 days).

The retention time cannot exceed the value of the InServ's VVRetentionTimeMax.

You can set a retention time regardless of whether the policy is numeric- or expiration-based.

The retention time cannot be longer than the expiration time (if the policy is expiration-based).

If you create a remote virtual copy and Remote Copy is set up

 

in asynchronous periodic mode, the retention time is applied

 

to the remote copy on the Remote Copy backup server only.

 

If Remote Copy is set up in synchronous mode, the retention

 

time is applied to both the remote copy on the Remote Copy

 

backup server and the virtual copy on the Remote Copy primary

 

server.

 

The retention time cannot be removed or reduced after it is set.

 

To set no retention time for this virtual copy, use a value of 0h.

-f

Optional. When used with the -retain option, does not request

 

confirmation for the retention time modification.

EXAMPLES

The following command creates a virtual copy for the database test on the SQL server (SQLServer).

RMSql create -s SQLServer -d test

The following command creates a virtual copy for the database test on a virtual SQL server (SQLVirtualServer) on a cluster.

RMSql create -s SQLVirtualServer -d test

The following command creates a Remote Copy snapshot for the database test on a virtual SQL server (SQLVirtualServer) on a cluster to a secondary site server (SecondaryServer).

RMSql create -s SQLVirtualServer -d test -rc SecondaryServer

Recovery Manager Commands 47

Image 47
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 ManagerTypographical Conventions IntroductionRelated Documents 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 Pre-Installation Steps Installation and DeinstallationUpgrading to Recovery Manager 4.2.0 for SQL Installing Recovery Manager Understanding the Registry Verifying the InstallationDeinstalling Recovery Manager Configuring Recovery Manager Configuring Recovery ManagerConfiguring the SQL Database Grouping Volumes into Autonomic Groups Configuring Recovery Manager PoliciesConfiguring Mount Functionality 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 Unregistering a SQL Server Instance Setting the Recovery Manager PolicyHow Recovery Manager Policies Work 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 CopyBacking Up a Virtual Copy Manually Creating Backups at the Instance or Database LevelUnmounting a Virtual Copy Scheduling Automatic Backups of an Instance or Database Creating a Backup of a Virtual Copy Removing a Backup from the RepositoryRestoring Instances, Databases, and Volumes 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 CopyRecovery Manager Commands Using the Recovery Manager CLIRecovery Manager for SQL Server Command Line Interface CLI 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 Instance virtual copy limit RMSql policyDatabase virtual copy limit RMSql policy -exp 30d -s SQL server Retain timehHdDRMSql policy -n 5 -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 -a d\3parvv RMSql repositoryRMSql repository -a alter location -r AltLocation RMSql restoreSystemDrive\3parSnapshot by default 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