•
Use the command
odacli update-schedule
to update the schedule for a
database, or to disable the database backup schedule.
odacli create-backup
Use the command
odacli create-backup
to create a Level 0, Level 1, archivelog,
or Longterm backup.
File Path
$ORACLE_HOME/opt/oracle/dcs/bin/odacli
Syntax
odacli create-backup -iDatabase Resource ID [-bt] [-c] [-h] [-j] [-k] [-
t]
Parameters
Parameter
Description
--backupType
,
-bt
{Regular-L0|
Regular-L1|Longterm|archivelog}
Defines the type of backup. The options are
not case sensitive.
--component
,
-c
{Database}
(Optional) Defines the component. Database
is the only supported option.
--dbid
,
-i
Defines the Database Resource ID.
--help
,
-h
(Optional) Displays help for using the
command.
--json
,
-j
(Optional) Displays JSON output. The default
is false.
--keepDays
,
-k
Defines the Keep Days. For Longterm Backup
Type only.
--tag
,
-t
Defines the name of the backup. A tag is
alphanumeric, up to 30 characters. Required
for Longterm Backup Type.
Usage Notes
•
Use the command
odacli create-backup
for a specified Database Resource
ID and provide a tag for the backup name. Use up to 30 alphanumeric characters
for the backup name tag. Three types of backups are available:
–
Level 0: An RMAN incremental backup that backs up all data blocks in the
data files being backed up. An incremental backup at level 0 is identical in
content to a full backup, but unlike a full backup, the level 0 backup is part of
an incremental backup strategy.
–
Level 1: An RMAN incremental backup that includes only those blocks that
have been changed since the "parent" backup was taken. A parent backup
can be either a level 0 or a level 1 backup. If you do not select a backup type
(level 0, level 1, or LongTerm), a level 1 backup is performed.
–
Longterm: Longterm backups are only available when backing up to Oracle
Cloud Infrastructure Object Storage (Oracle Object Storage).
Chapter 13
odacli Backup and Recovery Commands
13-37
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...