問題描述:將備份集從一臺主機拷貝到另一臺主機後,在經過RMAN將數據庫恢復到同類機異機的時候,restore spfile一直報RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piecesql
RMAN> restore spfile from '/u01/app/backup/system_0su4hc4b_1_1'; Starting restore at 2019-06-27 22:49:26 using channel ORA_DISK_1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 06/27/2019 22:49:26 RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece RMAN>
發現文件權限設置問題數據庫
[root@hear backup]# ll total 1184116 -rw-r-----. 1 root root 1202700288 Jun 27 20:45 system_0ru4hc1a_1_1 -rw-r-----. 1 root root 9830400 Jun 27 20:45 system_0su4hc4b_1_1 [root@hear backup]# pwd /u01/app/backup [root@hear backup]# chown oracle:oinstall //u01/app/backup/* [root@hear backup]# ll total 1184116 -rw-r-----. 1 oracle oinstall 1202700288 Jun 27 20:45 system_0ru4hc1a_1_1 -rw-r-----. 1 oracle oinstall 9830400 Jun 27 20:45 system_0su4hc4b_1_1 [root@hear backup]#