Infrequently-used backups can be moved from standard storage and archived after a specified number of days. This frees up space on the standard storage for new backups.
To archive backups, you must store them in a standard container that is associated with a Lifecycle Tiering Policy (LTP). The LTP is a container policy that defines the type of tiering that is associated with the standard container. After the number of days specified by the LTP elapses, the backups stored in the standard container are automatically archived. You can explicitly exclude specific objects from being archived automatically.
Automatic archive of backups is supported only when backing up to Oracle Cloud Infrastructure Classic.
To configure automatic archive of backups to Oracle Cloud:
Use one of the following techniques, when installing the Oracle Database Cloud Backup Module for OCI Classic, to specify the container to which backups must be archived:
Create a standard container that is associated with an LTP
Specify the name that must be used for the new standard container by using the
-containerparameter. Set the
-containerClassparameter to Tiering. To specify a user-defined LTP, use the
-containerLTPparameter. If you omit this parameter, the default LTP is associated with the new container.
-container PAYROLL_ARC -containerClass Tiering
The standard container with the specified name is created and a default LTP is assigned to it. All backups, except XML objects, are archived when the number of days specified by the LTP elapses. This automatically adds the
OPC_CONTAINER_CLASSparameters to the
.orafile so that these settings are used for backups.
Specify only the container class
OPC_CONTAINER_CLASSparameter is set to
.oraconfiguration file. The Oracle Database Cloud Backup Module for OCI Classic installer attempts to find an existing standard container that is associated with an LTP. If no such container is found, a new standard container with the default LTP is created. The naming convention used for the new container is
Use an existing standard container that is associated with an LTP
-containerparameter with the name of an existing standard container that is associated with an LTP.
This automatically adds the
OPC_CONTAINERparameter to the
.oraconfiguration file so that the specified container is used to store backups.
Configure an RMAN channel that corresponds to the Oracle Database Cloud Backup Module for OCI Classic.
The following command, on Linux, configures an RMAN channel that uses Oracle Cloud Infrastructure Classic as a destination:
RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt PARMS='SBT_LIBRARY=/orclhome/lib/libopc.so, ENV=(OPC_PFILE=/orclhome/dbs/opct1.ora)';