Oracle X6-2-HA Deployment And User's Manual page 160

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

"oraHomeVersion" : "12.2.0.1.170814 (26723265, 26609817)",
"sqlPatches" : "25811364,26609817",
"backupLogLoc" : "https://swiftobjectstorage.example.com/v1/dbaasimage/backupbucket/system_namec1n1/
rmanlog/ExampleDBu/2717054291/2018-01-08/rman_backup_2018-01-08_12-42-41.0545.log",
"tdeWalletLoc" : null,
"dbConfigLoc" : "https://swiftobjectstorage.example.com/v1/dbaasimage/backupbucket/system_namec1n1/
dbconfig/ExampleDBu/2717054291/2018-01-08/
DBCONFIG_TAG20180108T124407_2018-01-08_12-44-07.0533.tar.gz",
"name" : "Backup_Report_ExampleDB",
"createTime" : "January 08, 2018 12:42:08 PM UTC",
"state" : {
"status" : "CONFIGURED"
},
"updatedTime" : "January 08, 2018 12:44:12 PM UTC",
"backupReportLogDetail" : "https://swiftobjectstorage.example.com/v1/dbaasimage/backupbucket/
system_namec1n1/
rmandetaillogreport/ExampleDBu/2717054291/2018-01-08/
rman_list_backup_detail_2018-01-08_12-44-04.0362.log",
"dbInfo" : {
"dbClass" : "OLTP",
"dbType" : "RAC",
"dbShape" : "odb1",
"dbEdition" : "EE",
"dbStorage" : "ASM"
},
"dbDataSize" : "1542M",
"dbRedoSize" : "16403M"
}
To recover from a backup report, based on PITR, identify the database ID and the
3.
backup report for recovery.
In the following example, the JSON input file for the backup report is
backupreport.json.
# odacli recover-database -i b5fc646e-01a6-4c8b-8286-7633346c4 -br
backupreport.json -p
To recover based on PITR, identify the database ID and the date and time stamp
4.
for recovery.
# odacli recover-database -i b5fc646e-01a6-4c8b-8286-7633346c4 -t PITR -
r 01/08/2018 12:57:33 –p
To recover based on SCN, identify the database ID and the SCN number.
5.
# odacli recover-database -i b5fc646e-01a6-4c8b-8286-7633346c4 -t SCN -
s 392375947
To recover based on the latest backup, identify the database ID and use the Latest
6.
option.
# odacli recover-database -i b5fc646e-01a6-4c8b-8286-7633346c4 -t
Latest -p
Validate that the job completed. You can track the job in the Activity tab in the
7.
Web Console, or run the command odacli describe-job with the job ID.
# odacli describe-job -ijobId
When the job completes successfully, the recovery is complete.
Using the CLI to Backup, Restore, and Recover
Chapter 11
11-20

Advertisement

Table of Contents
loading

Table of Contents