rman备份恢复
问题
执行恢复命令时出现下面错误
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 19-MAY-21
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=82 device type=DISK
skipping datafile 5; already restored to file /oracle/oradata/CDB19C/C22DA98B0AD121EBE055000000000001 /datafile/o1_mf_system_jb8xf7qr_.dbf
skipping datafile 6; already restored to file /oracle/oradata/CDB19C/C22DA98B0AD121EBE055000000000001 /datafile/o1_mf_sysaux_jb8xdftl_.dbf
skipping datafile 8; already restored to file /oracle/oradata/CDB19C/datafile/o1_mf_undotbs1_j9s2ohdh _.dbf
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00010 to /oracle/oradata/CDB19C/C22E2C9D06672E66E0550000000000 01/datafile/o1_mf_sysaux_j9s4xwbd_.dbf
channel ORA_DISK_1: reading from backup piece /oracle/rman_backup/db1_level0_08vv7pg2_1_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/19/2021 15:51:09
ORA-19870: error while restoring backup piece /oracle/rman_backup/db1_level0_08vv7pg2_1_1
ORA-19573: cannot obtain exclusive enqueue for datafile 10
ORA-19890: data file already in use
ORA-45909: restore, recover or block media recovery may be in progress
我的数据库还处在open状态,
关闭语句:sql>shutdown abort
强制关闭数据库后再重新以mount状态打开数据库
打开语句为:sql>startup mount