SQL> exec dbms_ra.create_sbt_job_template(template_name=>'<COPY_TO_CLOUD_TEMPLATE_NAME>',
protection_policy_name=>'BRONZE',
attribute_set_name=>'< Attribute Set Name >',
backup_type=>'ALL',
full_template_name=>'<COPY_TO_CLOUD_TEMPLATE_NAME>',
from_tag=>NULL,
priority=>100,
copies=>1,
window=>NULL,
compression_algorithm=>'<SUPPORTED_COMPRESSION>',
encryption_algorithm=>'<SUPPORTED_ALGO>');
Note:
When using compliance, Oracle recommends having one bucket per database. When you create a job template in a compliance environment, use db_unique_name
instead of protection_policy_name
in your job template, unless the protection policy is used by a single database.
SQL> exec dbms_ra.create_sbt_job_template(template_name=>'<COPY_TO_CLOUD_TEMPLATE_NAME>',
db_unique_name=> '< Database Name>',
attribute_set_name=>'< Attribute Set Name >',
backup_type=>'ALL',
full_template_name=>'<COPY_TO_CLOUD_TEMPLATE_NAME>',
from_tag=>NULL,
priority=>100,
copies=>1,
window=>NULL,
compression_algorithm=>'<SUPPORTED_COMPRESSION>',
encryption_algorithm=>'<SUPPORTED_ALGO>');
For details on the command options, refer to "CREATE_SBT_JOB_TEMPLATE".