Configuring Automatic Archival to Oracle Cloud Infrastructure Classic
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.
To configure automatic archive of backups to Oracle Cloud Infrastructure Classic:
-
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
-container
parameter. Set the-containerClass
parameter to Tiering. To specify a user-defined LTP, use the-containerLTP
parameter. If you omit this parameter, the default LTP is associated with the new container.See Downloading and Installing the Oracle Database Cloud Backup Module for OCI Classic
For example:
-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
andOPC_CONTAINER_CLASS
parameters to theopc
SID
.ora
file so that these settings are used for backups. -
Specify only the container class
Set
-containerClass
toTiering
.The
OPC_CONTAINER_CLASS
parameter is set toTiering
in theopc
SID
.ora
configuration 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 isoracle-data-
account_name
-
index
. -
Use an existing standard container that is associated with an LTP
Include the
-container
parameter with the name of an existing standard container that is associated with an LTP.For example:
-container PAYROLL_ARC
This automatically adds the
OPC_CONTAINER
parameter to theopc
SID
.ora
configuration 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. See Configuring Channels for Backup and Recovery Operations.