You can configure backups for Oracle databases on Oracle Cloud Infrastructure (OCI), Database Backup Cloud Service (DBCS), or an Exadata instance.
Before You Begin
For DBCS and Exadata in OCI, use the Oracle Console to clear the Enable Automatic Backup setting for the databases you want to protect. If automatic backups are enabled, Metallic backup or restore operations might fail.
Procedure
-
From the navigation pane, go to Service Catalog.
The Service Catalog page appears.
-
On the Database tile, click Configure.
The Select a Database Application page appears.
-
Click Oracle.
The Configure Oracle database server page appears.
-
Select Database running in the cloud VM.
-
Select the database environment:
-
From the Select vendor list, select Oracle Cloud Infrastructure.
-
From the DB Service type list, select the type of Oracle service.
-
-
Click NEXT.
Information about the backup method used for the database appears.
-
Click NEXT.
The page for configuring IAM permissions appears.
-
If you already have credentials configured, from the Credential list near the bottom of the page select the credential.
-
If you don’t have a credential configured, do the following:
-
Click Launch the CloudFormation Stack.
The OCI website opens and the Create Stack page appears. Create your MetallicServiceAccount user and then follow the directions in Step 2 on the page to obtain your Tenancy OCID, API key, and fingerprint for the user.
-
Click + to add a new credential.
The Add Credential dialog box appears.
-
In the Credential name box, enter a descriptive name for the credential.
-
In the Tenancy OCID box, enter the OCID for the tenant.
-
In the User OCID box, enter the OCID for the user for the hypervisor.
-
In the Fingerprint box, enter the fingerprint.
-
In the Private Key box, upload the private key file.
-
In the Private Key Password box, enter a unique password.
-
In the Description box, enter a description of the credential.
-
Click Save.
-
-
Click NEXT.
The region selection page appears.
-
From the region list, select the region where the cloud storage is located.
-
Click NEXT.
The backup gateway selection page appears.
-
To specify a backup gateway, do one of the following:
-
From the list of backup gateways available for the region you selected, select one or more backup gateways.
-
Add a new backup gateway, click the refresh icon to refresh the backup gateway list, and then select the backup gateway.
-
-
Click NEXT.
The configure cloud backup storage page appears.
-
To specify the Primary Copy storage location, do one of the following:
-
From the Storage location list, select a storage location.
-
Add a new storage location, click the refresh icon to refresh the location list, and then select the new location.
-
-
To make a secondary copy, move the Secondary copy toggle to the right, and then from the secondary copy list select the location for the secondary copy.
-
Click NEXT.
The page to select a backup plan appears.
-
To specify the Plan, do one of the following:
-
From the list of backup plans, select a backup plan.
-
Add a new backup plan, click the refresh icon to refresh the backup plan list, and then select the backup plan.
-
-
Click NEXT.
The install package dialog appears.
-
To perform an interactive installation, complete the following:
-
Select Interactive installation.
-
Download and extract the Oracle package on the server you want to back up.
-
Copy the install linux command, and then execute the command inside the extracted package directory (/LinuxOracleServer64/pkg).
-
From the Server name drop-down list, select the name of the server.
-
-
To perform a push installation, select Push installation, and then select one or more database servers from the list at the bottom of the page, or add a new database server.
-
To add a new database server, click Add, then complete the following in the Add database server page:
-
In the Database service box, enter the name of the service.
-
In the Host name box, enter the host name.
-
For OS type, select the operating system.
-
Select a credential from the Credential list or type the user name and password.
-
If you selected the Unix operating system, do the following:
-
In the UNIX group box, enter the name of the Unix group.
-
In the SSH port number box, verify the port number.
-
If you want to use SSH instead of user credentials, move the Use SSH key toggle to the right, and then in the SSH key path box, enter the file path.
-
To use an SSH key file passphrase, move the Use SSH key file passphrase toggle key to the right, and then in the Passphrase box, enter the passphrase for the SSH key.
-
-
Click SAVE.
-
-
-
Click NEXT.
The Backup Content page appears with information about the content that will be backed up.
-
Click NEXT.
The system creates the instance and displays a summary page that shows the instance configuration.