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

Posted caodneg7

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece相关的知识,希望对你有一定的参考价值。

问题描述:将备份集从一台主机拷贝到另外一台主机后,在通过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> 

  发现文件权限设置问题

[[email protected] 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
[[email protected] backup]# pwd
/u01/app/backup
[[email protected] backup]# chown oracle:oinstall //u01/app/backup/*
[[email protected] 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
[[email protected] backup]# 

  

以上是关于RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece的主要内容,如果未能解决你的问题,请参考以下文章

mysql自动备份影响数据库运行吗

mysql自动备份影响数据库运行吗

Linux里面定时任务crontab,结果如何重定向到一个加时间戳的文件

备份mysql数据库

mysql数据库的备份与数据恢复

有一首英文歌曲不知道名字 只知道一句歌词 no no no no