Performing a full backup of a tenant database (original) (raw)

You can perform a backup of all data blocks included a tenant database in a container database (CDB). Use the Amazon RDS procedurerdsadmin.rdsadmin_rman_util.backup_tenant_full. This procedure applies only to the current database backup and uses the following common parameters for RMAN tasks:

For more information, see Common parameters for RMAN procedures.

The rdsadmin_rman_util.backup_tenant_full procedure is supported for the following RDS for Oracle DB engine versions:

The following example performs a full backup of the current tenant database using the specified values for the parameters.

BEGIN
    rdsadmin.rdsadmin_rman_util.backup_tenant_full(
        p_owner               => 'SYS', 
        p_directory_name      => 'MYDIRECTORY',
        p_parallel            => 4,  
        p_section_size_mb     => 10,
        p_tag                 => 'FULL_TENANT_DB_BACKUP',
        p_rman_to_dbms_output => FALSE);
END;
/