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.
1.
Create an Oracle ObjectStoreSwift object using the command
create-
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 [email protected] -p
The output includes an objectstoreswift Resource ID to identify an
ObjectStoreSwift credential.
2.
Create a BackupConfig object (backup configuration) using the command
odacli
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_cloud
with 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
Chapter 11
Using the CLI to Backup, Restore, and Recover
11-17
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...