validation checks, and tasks needed to restore a database to an Oracle Database
Appliance system.
Example 13-36 Restoring a Database to the Same System
Run the command odacli irestore-database with the backup report. Enter the
SYS user password when prompted.
# odacli irestore-database -r backupreport.json -oid Object Store ID -m
Example 13-37 Restoring a Database to a Different System
To restore to a different system, copy the backup report to the other machine's \bin
folder (or provide the complete path to the backup report), then run the command
odacli irestore-database with the backup report. Enter the SYS user password
when prompted.
# odacli irestore-database -r backupreport.json -oid Object Store ID -m
odacli list-backupreports
Use the command odacli list-backupreports to display a list of all backup
reports.
File Path
$ORACLE_HOME/opt/oracle/dcs/bin/odacli
Syntax
# odacli list-backupreports [-h] [-j]
Parameters
Parameter Description
--help
,
-h
(Optional) Displays help for using the command.
--json
,
-j
(Optional) Displays JSON output. The default is false.
Usage Notes
Displays a list of all database backup reports generated from the command odacli
create-backup.
Example 13-38 Display a List of all Backup Reports
# odacli list-backupreports
Chapter 13
odacli Backup and Recovery Commands
13-46