HP 3PAR Recovery Manager Software for Microsoft SQL Server Licenses User Manual

Page 58

Advertising
background image

-M <masterServer>

Optional. (Media Restore only) The Symantec NetBackup
master server name. Valid only if the backup software in
use is Symantec NetBackup.

Optional: If not specified, the current server name is used
as the default.

-a <altLocation>

Optional. An alternate location to which to restore the
data. If not specified, data is restored to
<SystemDrive>:\3parSnapshot

by default.

-snap

Optional. (Volume Restore only) Promotes the virtual copy
back to the base volume for a faster restore. You can only
promote a base volume that is exposed to a host. If not
specified, the virtual copy is not promoted to the base
volume.

-noemail

Optional. Do not send an email notification even if
configured for this operation. If not specified, Recovery
Manager sends an email notification of the restore if
configured. For more information, see Configuring Email
Notifications
.

-norecovery

Restore database with the SQL Server norecovery
option. For more information, see Recovering All Data with
Point-of-Failure Recovery
.

-clonedb <database name>

Optional. Restore the database to a different database
name. If not specified, Recovery Manager for SQL restores
the database to the original database name.

-dp

Specifies that HP Data Protector is to be used for the
restore.

Optional: If not specified, Recovery Manager proceeds
as if the backup software used is Symantec NetBackup.

-pointofFailure

Specifies restoring to a point-of-failure.

NOTE:

If you are restoring a volume that is part of a Remote Copy target system, you must restore

the virtual copy to the Remote Copy volume group that is part of the same Remote Copy target
system as the virtual copy.

EXAMPLES

The following command performs a media restore of virtual copy 020405162103 from media
backup to drive j:\.

RMSql restore -s server1 -d test_db -t 020405162103 -M server1 -a J:\

The following command performs a file copy restore of virtual copy 020405162103.

RMSql restore -s server1 -d test_db -t 020405162103

The following command performs a volume restore of virtual copy 020405162103.

RMSql restore -snap -s server1 -d test_db -t 020405162103

The following command performs a media restore of a virtual copy 020405162103 using Data
Protector.

RMSql restore -s server1 -i inst -d testdb -t 020405162103 -dp

RMSql restore -s server1 -i inst -d testdb -t 020405162103 -dp -a J:\Test

The following command performs a media restore of a virtual copy 020405162103 using NBU.

RMSql restore -s server1 -i inst -d testdb -t 020405162103 -M server1

58

Using the Recovery Manager CLI

Advertising
This manual is related to the following products: