Hprmcli sql setvc – HP 3PAR Recovery Manager Software User Manual

Page 73

Advertising
background image

HpRmCli Sql setvc

SYNTAX

HpRmCli Sql setvc

-s <SQL server> [-i <instance>] [-d <database>] -t <timestamp> -exp

<time>{h|H|d|D} [-retain <time>{h|H|d|D} [-f]]

DESCRIPTION

The HpRmCli Sql setvc command sets time constraints for an existing virtual copy. To use this
command, the policy must be an expiration-based policy.

PARAMETERS

The following options are supported:

-s <SQL Server>

The SQL server to which the existing virtual copy belongs.

-i <SQL instance>

Optional. The SQL server instance to which the existing virtual
copy belongs. If not specified, MSSQLSERVER is used as the
default.

-d <database>

Optional. The database of the existing virtual copy. If not specified,
the timestamp is assumed to be at the instance level.

-t <timestamp>

The timestamp of the virtual copy for which you are changing the
expiration time.

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

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)

-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.

Recovery Manager Commands

73

Advertising