–
Archivelog: This option is used to perform backup of all archivelogs not yet
backed up to the backup destination, such as Internal FRA, External FRA
(NFS location), or Object Store.
•
This command creates a Backup Report with a Resource ID. To get the ID, use
the command
odacli describe-job -i job_id-j
and look for the
resourceId
attribute in
resourceList
.
Example 13-26 Create a Manual Database Backup
Create a long term backup that is kept for 90 days and named q12018HR.
# odacli create-backup -i Database Resource ID -bt Longterm -c database
-k 90 -t q12018HR
Example 13-27 Create a Level 0 Database Backup
Create a Level 0 backup named
2017Dec22ProductionLevel0
for resource ID
20576eb1-bc32-4e34-bf97-fda0b60ca15b
# odacli create-backup -i20576eb1-bc32-4e34-bf97-fda0b60ca15b -bt Regular-
L0 -t 2017Dec22ProductionLevel0
odacli create-backupconfig
Use the command
odacli create-backupconfig
to create a backup
configuration.
File Path
$ORACLE_HOME/opt/oracle/dcs/bin/odacli
Syntax
odacli create-backupconfig -n backup configuration name -d
backup destination{Disk|ObjectStore|NFS|None} [-c] [-cr] [-h] [-j] [-no-
cr] [-o][-w]
Parameters
Parameter
Description
--backupdestination
,
–d
{Disk|
ObjectStore|NFS|None}
Defines the backup destination. The options
are not case sensitive.
--container
,
-c
(Optional) Defines the object store container.
--crosscheck
,
-cr
(Optional) Enable crosscheck.
--help
,
-h
(Optional) Displays help for using the
command.
--json
,
-j
(Optional) Displays JSON output. The default
is false.
--name
,
-n
Defines the backup configuration name.
--no-crosscheck
,
-no-cr
(Optional) Disable crosscheck.
Chapter 13
odacli Backup and Recovery Commands
13-38
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...