问题描述:
RMAN> run {
2> allocate channel t1 type 'sbt_tape';
3> send 'NB_ORA_SERV=netbackup,NB_ORA_CLIENT=hz1';
4> restore controlfile to '/oracle11/oradata/control01.ctl' from '/c-3201563006-20141026-02';
5> release channel t1 ;
6> }
allocated channel: t1
channel t1: SID=239 device type=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 7.0 (2010010501)
sent command to channel: t1
Starting restore at 29-OCT-14
channel t1: restoring control file
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 10/29/2014 01:51:31
ORA-19870: error while restoring backup piece /c-3201563006-20141026-02
ORA-19507: failed to retrieve sequential file, handle="/c-3201563006-20141026-02", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Backup file </c-3201563006-20141026-02> not found in NetBackup catalog
解决方法:
异机环境的 oracle 软件属组,用户是否与源环境一致?
这里的一致包括user id ,group id 也是要一样的
NBU 自带的备份集权限参数:
bkup_image_perm =[user | group | any]
uset=>600
group =》640
any=》660