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

Page 46

Advertising
background image

-exp <time>{h|H|d|D}

Optional. Set the expiration time for this virtual copy to the specified
time and time unit. Valid values are:

To set the expiration time in hours: 1-43800h (or H)

To set the expiration time in days: 1-1825d (or D)

To remove the expiration period: 0

To use this option, the Recovery Manager for SQL policy must be
set to an expiration-based policy.

If not specified, Recovery Manager for SQL creates the virtual copy
using the expiration time specified in the current policy.

-retain

<time>{h|H|d|D}

Optional. Set or extend the retention time for the specified virtual
copy to the specified time. The virtual copy cannot be removed
during this time period.

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

NOTE:

Use quotes ("") when an option value includes spaces.

46

Using the Recovery Manager CLI

Advertising
This manual is related to the following products: