Pdb_plug and Unplug
Pdb_plug and Unplug
Since we can’t restore into the original CDB on the original server,
we’ll restore it in a secondary environment. The first step is to
move the RMAN backup set pieces to that secondary server.
There are lots of ways to move the RMAN backup set pieces
(including possibly hardware disk clones). In this demo
environment, I first copied them out of ASM:
asmcmd cp +FRA_DG/ORA1/C471569CB28C0E4BE0536D3810AC346D/BACKUPSET/2021_06_10/
nnndf0_tag20210610t165853_0.270.1074877135 /tmp
copying +FRA_DG/ORA1/C471569CB28C0E4BE0536D3810AC346D/BACKUPSET/2021_06_10/
nnndf0_tag20210610t165853_0.270.1074877135 ->
/tmp/nnndf0_tag20210610t165853_0.270.1074877135
$ asmcmd cp +FRA_DG/ORA1/AUTOBACKUP/2021_06_10/s_1074877159.257.1074877165 /tmp
copying +FRA_DG/ORA1/AUTOBACKUP/2021_06_10/s_1074877159.257.1074877165 ->
/tmp/s_1074877159.257.1074877165
To have RMAN restore the data files into the desired ASM disk
group, I also need to set the db_create_file_dest parameter: