Настраиваю полный бэкап.
BRBACKUP успешно копирует базу без использования rman, но в конце для чего-то вызывает rman
Code:
BR0051I BRBACKUP 6.40 (11)
BR0055I Start of database backup: bdssnfld.fnd 2006-05-31 17.03.41
BR0477I Oracle pfile /oracle/SID/920_32/dbs/initSID.ora created from spfile /oracle/SID/920_32/dbs/spfileSID.ora
BR0101I Parameters
Name Value
oracle_sid SID
oracle_home /oracle/SID/920_32
oracle_profile /oracle/SID/920_32/dbs/initSID.ora
sapdata_home /oracle/SID
sap_profile /oracle/SID/920_32/dbs/initSID.sap
backup_mode FULL
backup_type online
backup_dev_type disk
backup_root_dir /oracle/SID/sapbackup
compress yes
compress_cmd gzip -c $ > $
exec_parallel 0
system_info sidadm/oratcd myhost Linux 2.4.9-e.3enterprise #1 SMP Fri May 3 16:35:33 EDT 2002 i686
oracle_info SID 9.2.0.4.0 8192 1996 87003086
sap_info 620 SAPSID SID U1000076201 R3_ORA 0020237921
make_info linuxintel OCI_920 Jul 5 2004
command_line brbackup -u / -c force -t online -m full -p initSID.sap -v SIDB03 -a -c force -p initSID.sap -s
BR0116I ARCHIVE LOG LIST before backup for database instance SID
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination LOCATION=/oracle/SID/oraarch/SIDarch MANDATORY
Archive format %t_%s.dbf
Oldest online log sequence 1993
Next log sequence to archive 1996
Current log sequence 1996 SCN: 87003086
потом видно, как копируются датафайлы, и под конец выдает следующее
Code:
BR0280I BRBACKUP time stamp: 2006-05-31 18.22.51
BR0317I 'Alter tablespace SYSTEM end backup' successful
BR0280I BRBACKUP time stamp: 2006-05-31 18.22.54
BR0530I Cataloging backups of all database files...
BR0278E Command output of 'SHELL=/bin/sh /oracle/SID/920_32/bin/rman':
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN>
RMAN> connect target /;
RMAN-00571: ==========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ==============
RMAN-00571: ==========================================================
ORA-01031: insufficient privileges
RMAN> **end-of-file**
RMAN>
host command complete
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20>
using target database controlfile instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 05/31/2006 18:22:55
RMAN-06171: not connected to target database
RMAN>
Recovery Manager complete.
BR0280I BRBACKUP time stamp: 2006-05-31 18.22.55
BR0279E Return code from 'SHELL=/bin/sh /oracle/SID/920_32/bin/rman': 0
BR0536E RMAN call for database instance SID failed
BR0280I BRBACKUP time stamp: 2006-05-31 18.22.55
BR0532E Cataloging backups of all database files failed
BR0115I Compression rate for all files 5.8096:1
причем от имени пользователей sidadm и orasid rman запускается и подключается к базе нормально
что можно сделать, или чтобы не вызывался rman (если brbackup сделал горячий бэкап, зачем ему еще rman, или допиться успешного выполнения rman-a