DBCLI COMMAND
=============
dbcli - It is a command line interface available on bare metal and virtual machine DB systems.
The database CLI commands must be run as the root user
dbcli is in the /opt/oracle/dcs/bin/ directory.
Oracle Database maintains logs of the dbcli command output in the dcscli.log and dcs-agent.log files in the /opt/oracle/dcs/log/ directory.
The database CLI commands use the following syntax:
EX::dbcli command [parameters]
command is a verb-object combination such as create-database.
parameters include additional options for the command. Most parameter names are preceded with two dashes, for example, --help. Abbreviated parameter names are preceded with one dash, for example, -h.
CLIADM
======
Use the cliadm update-dbcli command to update the database CLI with the latest new and updated commands.
Syntax:cliadm update-dbcli [-h] [-j]
h for help
j for json format
Note:On RAC DB systems, execute the cliadm update-dbcli command on each node in the cluster.

AgentCommands
============
The following commands are available to manage agents:
dbcli ping-agent
dbcli list-agentConfigParameters
dbcli update-agentConfigParameters
Clean/purge logs
================
The following commands are available to manage policies for automatic cleaning (purging) of logs.
dbcli create-autoLogCleanPolicy
dbcli list-autoLogCleanPolicy
Backup with dbcli
=================
Before you can back up a database by using the dbcli create-backup command, you'll need to:
Create a backup configuration by using the dbcli create-backupconfig command.
Associate the backup configuration with the database by using the dbcli update-database command.
After a database is associated with a backup configuration, you can use the dbcli create-backup command in a cron job to run backups automatically.
Commands for Backup:
dbcli create-backup
dbcli getstatus-backup
dbcli schedule-backup
Database Commands(The dbcli create-database command is available on bare metal DB systems only)
=================
The following commands are available to manage databases:
dbcli clone-database
dbcli create-database
dbcli delete-database
dbcli describe-database
dbcli list-databases
dbcli modify-database
dbcli recover-database
dbcli register-database
dbcli update-database
Objectstoreswift Commands
=========================
You can back up a database to an existing bucket in the Oracle Cloud Infrastructure Object Storage service by using the dbcli create-backup command, but first you'll need to:
Create an object store on the DB system, which contains the endpoint and credentials to access Object Storage, by using the dbcli create-objectstoreswift command.
Create a backup configuration that refers to the object store ID and the bucket name by using the dbcli create-backupconfig command.
Associate the backup configuration with the database by using the dbcli update-database command.
The following commands are available to manage object stores.
dbcli create-objectstoreswift
dbcli describe-objectstoreswift
dbcli list-objectstoreswifts
Objectstoreswift Commands
=========================
You can back up a database to an existing bucket in the Oracle Cloud Infrastructure Object Storage service by using the dbcli create-backup command, but first you'll need to:
Create an object store on the DB system, which contains the endpoint and credentials to access Object Storage, by using the dbcli create-objectstoreswift command.
Create a backup configuration that refers to the object store ID and the bucket name by using the dbcli create-backupconfig command.
Associate the backup configuration with the database by using the dbcli update-database command.
The following commands are available to manage object stores.
dbcli create-objectstoreswift
dbcli describe-objectstoreswift
dbcli list-objectstoreswifts
Rmanbackupreport Commands
=========================
The following commands are available to manage RMAN backup reports:
dbcli create-rmanbackupreport
dbcli delete-rmanbackupreport
dbcli describe-rmanbackupreport
dbcli list-rmanbackupreports
Schedule Commands
=================
The following commands are available to manage schedules:
dbcli describe-schedule
dbcli list-schedules
dbcli update-schedule
dbcli list-scheduledExecutions:Use the dbcli list-scheduledExecutions command to list scheduled executions.
Patching Commands:
==================
Use the dbcli update-server command to apply patches to the server components in the DB system. For more information about applying patches, see Patching a DB System.
dbcli update-server
TDE Commands
============
The following commands are available to manage TDE-related items (backup reports, keys, and wallets):
dbcli list-tdebackupreports
dbcli update-tdekey
dbcli recover-tdewallet
Admin Commands
==============
The following commands are to perform administrative actions on the DB system:
dbadmcli manage diagcollect
dbadmcli power
dbadmcli power disk status
dbadmcli show controller
dbadmcli show disk
dbadmcli show diskgroup
dbadmcli show env_hw (environment type and hardware version) (environment type and hardware version)
dbadmcli show fs (file system details) (file system details)
dbadmcli show storage
dbadmcli stordiag