odacli update-database
Use the command odacli update-database to associate a backup configuration
to a database.
File Path
$ORACLE_HOME/opt/oracle/dcs/bin/odacli
Syntax
odacli update-database [-bi] [-i] [-h] [-j] [-bp] [-in] [-bin] [-id] [-
lb]
Parameters
Parameter Description
--backupconfigid
,
-bi
(Optional) Defines the Backup Config ID.
--backupconfign
,
-bin
(Optional) Defines the Backup Config Name.
--dbid
,
-i
Defines the Database Resource ID.
--dbName
,
-in
Defines the Database Name.
--help
,
-h
(Optional) Displays help for using the
command.
--json
,
-j
(Optional) Displays JSON output. The default
is false.
--bkuppassword
,
-bp
(Optional) Defines the RMAN backup
encryption password.
--databaseid
,
-id
(Optional) Defines the database identifier
stored in database file headers.
--levelzerobackupday
,
-lb
(Optional) Specifies the Level zero Backup
Day. For example, Monday|Tuesday|
Wednesday...|Sunday
Usage Notes
For backup to the Oracle Object Store, you can set an RMAN backup password. The
password is encrypted and stored in an Oracle wallet. The password is used when
using the command odacli create-backup to create a database backup.
Example 13-46 Associating a Backup Configuration with a Database
# odacli update-database -i database resource ID -bi backup
configuration ID
Chapter 13
odacli Backup and Recovery Commands
13-51