Hi ,
We are trying to take a backup of a database on a 2-node Oracle RAC cluster using brtools .The oracle version is 11.2.0.3
The command that we are trying for taking the backup is
brbackup -u / -c force -t online_cons -d disk -k no -m all -p initDBSID.sap -a -c force -d disk -k no -p initDBSID.sap -sd
However, we get the below error when we try .
BR0280I BRBACKUP time stamp: 2014-12-22 00:23:04
BR0063I 5 of 5 files processed - 6730.039 of 6730.039 MB done
BR0204I Percentage done: 100.00%, estimated end time: 0:23
BR0001I **************************************************
BR0117I ARCHIVE LOG LIST after backup for database instance DBSID1
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination +ARCH/DBSID/oraarch
Archive format %t_%s_%r.dbf
Oldest online log sequence 56
Next log sequence to archive 59
Current log sequence 59 SCN: 2920564
Database block size 8192 Thread: 1
Current system change number 2921339 ResetId: 866347150
BR0117I ARCHIVE LOG LIST after backup for database instance DBSID2
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination +ARCH/DBSID/oraarch
Archive format %t_%s_%r.dbf
Oldest online log sequence 14
Next log sequence to archive 17
Current log sequence 17 SCN: 2920570
Database block size 8192 Thread: 2
Current system change number 2921370 ResetId: 866347150
BR0146I Offline redolog files
File Size Number Device Thread
BR0085I 0 offline redolog files found for backup, total size 0.000 MB
BR0100E Internal error for 'file_select' at location sync_backup-2
BR0056I End of database backup: beplryhq.and 2014-12-22 00:24:01
BR0280I BRBACKUP time stamp: 2014-12-22 00:24:01
BR0054I BRBACKUP terminated with errors
We noticed that the brbackup does manage to take a backup of all the relevant files however it terminates with error.
When we increase the trace level to 15 ,the error message looks like the below
BR0085I 0 offline redolog files found for backup, total size 0.000 MB
BR0249I BR_TRACE: level 1, function arch_dbf_build exit with 0
BR0248I BR_TRACE: level 1, function arch_log_dist entry with '+DBSID_DATA/DBSID/datafile/psapsr3db.261.866366467'
BR0248I BR_TRACE: level 2, function BrDiskStatGet entry with '/oracle/DBSID/sapbackup/backupDBSIDDR/beplsrrw'
BR0250I BR_TRACE: level 2, function BrDiskStatGet exit with '105477611520 67434635264 72792645632 67368781128'
BR0249I BR_TRACE: level 1, function arch_log_dist exit with 0
BR0248I BR_TRACE: level 1, function BrDbDisconnect entry with 'void'
BR0248I BR_TRACE: level 2, function BrOraSigPatch entry with 'FALSE 1'
BR0248I BR_TRACE: level 3, function BrZombieKill entry with 'void'
BR0250I BR_TRACE: level 3, function BrZombieKill exit with 'void'
BR0249I BR_TRACE: level 2, function BrOraSigPatch exit with 0
BR0280I BRBACKUP time stamp: 2014-12-22 04:02:42
BR0644I BR_TRACE: location BrDbDisconnect-1, SQL statement:
'COMMIT RELEASE'
BR0300I BR_TRACE: SQL code: 0, number of processed rows: 0
BR0248I BR_TRACE: level 2, function BrZombieKill entry with 'void'
BR0250I BR_TRACE: level 2, function BrZombieKill exit with 'void'
BR0249I BR_TRACE: level 1, function BrDbDisconnect exit with 0
BR0248I BR_TRACE: level 1, function sync_backup entry with '+DBSID_DATA/DBSID/datafile/psapsr3db.261.866366467'
BR0100E Internal error for 'file_select' at location sync_backup-2
BR0249I BR_TRACE: level 1, function sync_backup exit with -1
BR0248I BR_TRACE: level 1, function BrCleanup entry with 5
BR0248I BR_TRACE: level 2, function BrFileDelete entry with '/oracle/DBSID/sapbackup/cntrlDBSID1.dbf'
BR0249I BR_TRACE: level 2, function BrFileDelete exit with 0
BR0248I BR_TRACE: level 2, function BrArchNameGet entry with '59 DBSID1'
BR0250I BR_TRACE: level 2, function BrArchNameGet exit with '+ARCH/DBSID/oraarch/1_59_866347150.dbf'
BR0248I BR_TRACE: level 2, function BrNameBuild entry with '48 +ARCH/DBSID/oraarch/1_59_866347150.dbf NULL'
BR0250I BR_TRACE: level 2, function BrNameBuild exit with '/oracle/DBSID/saparch/..1_59_866347150.dbf'
BR0248I BR_TRACE: level 2, function BrArchNameGet entry with '17 DBSID2'
BR0250I BR_TRACE: level 2, function BrArchNameGet exit with '+ARCH/DBSID/oraarch/2_17_866347150.dbf'
BR0248I BR_TRACE: level 2, function BrNameBuild entry with '48 +ARCH/DBSID/oraarch/2_17_866347150.dbf NULL'
the process goes ahead and completes the brarchive with RC1 .
The initSID.sap file looks like the below .
backup_mode = all
restore_mode = all
backup_type = offline
backup_dev_type = disk
compress = no
compress_cmd = "compress -c $ > $"
uncompress_cmd = "uncompress -c $ > $"
archive_function = save
disk_copy_cmd = rman
stage_copy_cmd = rcp
pipe_copy_cmd = rsh
cpio_flags = -ovB
cpio_in_flags = -iuvB
cpio_disk_flags = -pdcu
exec_parallel = 0
parallel_instances = (DBSID1:/oracle/DBSID/112@DBSID1, DBSID2:/oracle/DBSID/112@DBSID2)
db_services = no
asm_ora_sid = (DBSID1:+ASM1, DBSID2:+ASM2)
asm_ora_home = (DBSID1:/oracle/GRID/11203, DBSID2:/oracle/GRID/11203)
asm_root_dir = ASM
The other parameters like backup directory and archive directory are also maintained correctly in the initSID.sap file .
What could be the probable cause for brbackup to be reporting errors