问题:rman duplicate时报错:

RMAN-05001:auxiliary file name /u01/app/oracle/oradata/fratbs01.dbf conflicts with a file used by the target database

 

分析:应该是主库的这个数据文件位置没有在参数里面做转换

 

解决:

1)更改参数DB_FILE_NAME_CONVERT

查看原来参数配置:(vi initSBDB1.dbf)

DB_FILE_NAME_CONVERT='SBDB1','PROD1'      (默认所有的主备库路径

把报错数据文件文件转换加入DB_FILE_NAME_CONVERT

更改为:DB_FILE_NAME_CONVERT='SBDB1','PROD1','/u01/app/oracle/oradata','/u01/app/oracle/oradata/SBDB1'

2)把备库关闭,创建spfile文件,重启到nomount状态

shu immediate;                      create spfile from pfile;          startup nomount;

3)主库重新执行duplicate命令,成功

rman target / auxiliary sys/oracle@sbdb1

duplicate target database for standby from active database;

 

相关文章:

  • 2021-08-31
  • 2021-04-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2021-10-30
  • 2021-11-24
  • 2021-08-10
猜你喜欢
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案