UPDATE_SBT_LIBRARY

This procedure modifies the parameters for the specified SBT library.

If a parameter is null, then its value remains unchanged, except as noted in the parms and send descriptions.

Syntax

PROCEDURE update_sbt_library (
   lib_name IN VARCHAR2,
   drives IN NUMBER DEFAULT NULL,
   restore_drives IN NUMBER DEFAULT NULL,
   parms IN VARCHAR2 DEFAULT dbms_ra_misc.varchar2null('p1'),
   send IN VARCHAR2 DEFAULT dbms_ra_misc.varchar2null('p2'),
   guaranteed IN VARCHAR2 DEFAULT 'NO',
   immutable IN VARCHAR2 DEFAULT 'NO',
   comments IN VARCHAR2 DEFAULT NULL,
   sbt_mirror IN VARCHAR2 DEFAULT NULL);

Parameters

Table 21-59 UPDATE_SBT_LIBRARY Parameters

Parameter Description

lib_name

The name of the SBT library whose parameters are to be modified.

drives

See CREATE_SBT_LIBRARY.

restore_drives

See CREATE_SBT_LIBRARY.

parms

See CREATE_SBT_LIBRARY.

If you do not specify this parameter, then the Recovery Appliance retains the existing value. If you specify a value (including null), then the Recovery Appliance sets the new value.

send

See CREATE_SBT_LIBRARY.

If you do not specify this parameter, then the Recovery Appliance retains the existing value. If you specify a value (including null), then the Recovery Appliance sets the new value.

guaranteed

If YES, this library may be used as a backing store to support the GUARANTEED_COPY protection policy attribute.

immutable

If YES, this library may be used as a backing store to support the KEEP_COMPLIANCE protection policy attribute.

comments

Optional user supplied comment describing reason for executing this command.

sbt_mirror

If YES, this library will be mapped to one or more remote SBT libraries on downstream Recovery Appliance using library name and type. Query the RA_SBT_MIRROR view for a list of mirrored SBT libraries.

Note:

SBT mirroring is supported with bi-directional (or Backup Anywhere) replication mode. SBT mirroring is not supported in one-way replication mode. If the upstream Recovery Appliance has SBT mirroring and one-way replication, its backups are not accessible by the downstream Recovery Appliance.