UPDATE_SBT_JOB_TEMPLATE

This procedure updates the parameters for the specified SBT job.

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

Syntax

PROCEDURE update_sbt_job_template (
   template_name IN VARCHAR2,
   attribute_set_name IN VARCHAR2 DEFAULT NULL,
   backup_type IN VARCHAR2 DEFAULT NULL,
   from_tag IN VARCHAR2 DEFAULT dbms_ra_misc.varchar2null('p1'),
   priority IN NUMBER DEFAULT NULL,
   copies IN NUMBER DEFAULT NULL,
   window IN DSINTERVAL_UNCONSTRAINED DEFAULT dbms_ra_misc.intervalnull('p2'),
   compression_algorithm IN VARCHAR2 DEFAULT NULL,
   encryption_algorithm IN VARCHAR2 DEFAULT NULL,
   comments IN VARCHAR2 DEFAULT NULL);

Parameters

Table 22-59 UPDATE_SBT_JOB_TEMPLATE Parameters

Parameter Description

template_name

The name of the SBT job template to update.

attribute_set_name

See CREATE_SBT_JOB_TEMPLATE.

backup_type

See CREATE_SBT_JOB_TEMPLATE.

from_tag

See CREATE_SBT_JOB_TEMPLATE.

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.

priority

See CREATE_SBT_JOB_TEMPLATE.

copies

See CREATE_SBT_JOB_TEMPLATE.

window

See CREATE_SBT_JOB_TEMPLATE.

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.

compression_algorithm

see CREATE_SBT_JOB_TEMPLATE.

If a value is specified, it becomes the new setting.

Specify OFF to remove the compression algorithm from this template. This changes the value of COMPRESSION_ALGORITHM to NONE.

If you do not specify this parameter or if you specify NULL, then the Recovery Appliance retains the existing value.

encryption_algorithm

see CREATE_SBT_JOB_TEMPLATE.

comments

Optional user supplied comment describing reason for executing this command.