Backup Operation
This task starts the backup_database script.
The following RMAN command has to be executed in the protected database and should be used for all RMAN backup operations.
Note: When the script is run, the channel allocations indicate which Recovery Appliance is logged into and the Recovery Appliance database name.
-
Start RMAN
$ rman target / catalog /@dr_rahadr -
Start the
backup_databasescript. If RAHADR1 is running, the script logs into RAHADR1. Otherwise, the script logs into RAHADR2.RMAN> run { execute script backup_database using 'Level1'; } executing script: backup_database allocated channel: rahadr1_sbt_1 channel rahadr1_sbt_1: SID=1936 instance=cdb122dr1 device type=SBT_TAPE channel rahadr1_sbt_1: RA Library (RAHADR1) SID=6DEA2A958DFBE0CFE05311F3850AB3AB allocated channel: rahadr1_sbt_2 channel rahadr1_sbt_2: SID=394 instance=cdb122dr1 device type=SBT_TAPE channel rahadr1_sbt_2: RA Library (RAHADR1) SID=6DEA2A9CC2BBE0D0E05311F3850AC634