Preparing For Database Backup To Oracle Cloud - Oracle X6-2-HA Deployment And User's Manual

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

You can create manual backups or scheduled backups to disk.
Related Topics
Creating a Mount Point for NFS Backup Location
Create a mount point for the Network File System (NFS) location, to set up the
NFS backup and recovery option.

Preparing for Database Backup to Oracle Cloud

Create a backup configuration to backup a database to Oracle Cloud Infrastructure
Object Storage.
Before you can backup to Oracle Object Storage, you must sign up for an Oracle
Cloud Infrastructure Object Storage account and know your Oracle Object Storage
credentials. When you create an Oracle ObjectStoreSwift object, the command
creates and stores the credential details in the system and stores the password in an
encrypted Oracle wallet. The Oracle wallet contains your tenant name, user name, and
defines the end point URL.
Go to the Oracle Store to sign up for Oracle Cloud Infrastructure Object Storage.
Create an Oracle ObjectStoreSwift object using the command create-
1.
objectstoreswift. If you already have an Oracle wallet for Oracle Database
Appliance, skip to Step 2.
# odacli create-objectstoreswift -e swift end point URL -n Object Store Swift name [-p]
swiftpassword -t Object Store tenant name -u Object Store user name
For example:
# odacli create-objectstoreswift -e https://swiftobjectstorage.r1.oracleiaas.com/v1 -n ossn1 -t
mytenant -u user.name@example.com -p
The output includes an objectstoreswift Resource ID to identify an
ObjectStoreSwift credential.
Create a BackupConfig object (backup configuration) using the command odacli
2.
create-backupconfig .
The backup configuration defines the backup, including the location (container)
where you want to store the backups, the recovery window, and the credentials
that are defined in your encrypted Oracle wallet.
The following example creates a backup configuration named hr_7d_cloudwith a
backup to the ObjectStore. The following backup parameters are defined: the
container is hr_bucket, crosscheck is not enabled, the recovery window is 7 days,
and the ObjectStoreSwift Resource ID is provided, which attaches the Oracle
Wallet and credentials to the backup configuration.
# odacli create-backupconfig -n hr_7d_cloud -d ObjectStore -w 7 -o
b974f006-5503-4949-ab6c-6f1a56e4ac37 -c hr_bucket -no-cr
Using the CLI to Backup, Restore, and Recover
Chapter 11
11-17

Advertisement

Table of Contents
loading

Table of Contents