码迷,mamicode.com
首页 > 其他好文 > 详细

RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece

时间:2019-06-28 15:06:04      阅读:115      评论:0      收藏:0      [点我收藏+]

标签:pie   tor   pre   文件权限设置   com   failure   tac   ==   描述   

问题描述:将备份集从一台主机拷贝到另外一台主机后,在通过RMAN将数据库恢复到同类机异机的时候,restore spfile一直报RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece

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]# 

  

RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece

标签:pie   tor   pre   文件权限设置   com   failure   tac   ==   描述   

原文地址:https://www.cnblogs.com/caodneg7/p/11102297.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!