Archive log backup fails in brtools
Hi, I have latest BRTOOLS PATCH, and I use BRTOOLS STUDIO.
I NEED TO DO A ARCHIVELOG BACKUP IN MY SOLUTION MANAGER SYSTEM.
I log on on brtools studio with sapsr3 user, with same privileges as these sap notes.
Note 134592 - Importing the SAPDBA role (sapdba_role.sql)
Note 834917 - Oracle Database 10g: New database role SAPCONN
Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
1. click in avaibility
2. click in Archivelog
3. click in execute
4. in function = save or save_deleted(at the end, the same mistake)
5. in device= disk
6. in number i left blank
7- click in next
8. compresion = yes or no(at the end, the same mistake)
9. verify = no
10.fill mode = no
11.In modify and delay, I choose the 3 option(at the end, the same mistake)
12.Confirm
13.Back up.
here the job begin and some minutes or seconds later the job finish.. the only log that i can see is this:
ERROR 2009/11/21 01:13:38 [Tools] Instance QAS_SAPSR3_USER reports failure while running job Archivelog Backup:
BR0002I BRARCHIVE 7.00 (44)
BR0156E Illegal value 'delay' found for option '-modify'
BR0007I End of offline redo log processing: aebypmny.log 2009-11-21 01.13.38
BR0280I BRARCHIVE time stamp: 2009-11-21 01.13.38
BR0005I BRARCHIVE terminated with errors
if i search for aebypmny.log, i found nothing.
below if i choose modify no then it says:
Illegal value 'no' found for option'-modify' or if i choose yes it says:
Illegal value 'yes' found for option '-modify'
Then my question. how can i perform this archilog backup in brtools studio???
Hi, thanks for your answer
Only posted log before.
ERROR 2009/11/21 01:13:38 Tools Instance QAS_SAPSR3_USER reports failure while running job Archivelog Backup:
BR0002I BRARCHIVE 7.00 (44)
BR0156E Illegal value 'delay' found for option '-modify'
BR0007I End of offline redo log processing: aebypmny.log 2009-11-21 01.13.38
BR0280I BRARCHIVE time stamp: 2009-11-21 01.13.38
BR0005I BRARCHIVE terminated with errors
if i search for aebypmny.log, i found nothing.
are this issue related to this problem?
why in avaibility option i can´t select this options | Restore | Recovery | Disaster Recovery???, I only can select Copy | Backup
I do a offline and online backup. but options for revorey are unavailable..
Similar Messages
-
Hi everyone,
When I'm scheduling Archive log backup through DB13 the backup are failing.
Here is the logfile of the failed Redo log backup file.
2008-09-03 14:45:05 Job started
2008-09-03 14:45:05 Step 001 started (program RSDBAJOB, variant &0000000000014, user ID ROHANKU)
2008-09-03 14:45:05 Execute logical command BRARCHIVE On host ncsdev12
2008-09-03 14:45:05 Parameters:-u / -jid LOG__20080903144505 -c force -p initRD1.sap -cds
2008-09-03 14:45:53 BR0002I BRARCHIVE 7.00 (24)
2008-09-03 14:45:53 BR0006I Start of offline redo log processing: adystlhx.cds 2008-09-03 14.45.05
2008-09-03 14:45:53 BR0484I BRARCHIVE log file: /hcs/oracle/RD1/saparch/adystlhx.cds
2008-09-03 14:45:53 BR0477I Oracle pfile /hcs/oracle/RD1/102_64/dbs/initRD1.ora created from spfile /lms/oracle/RD1/102_64/dbs/spfileRD1.ora
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.07
2008-09-03 14:45:53 BR0008I Offline redo log processing for database instance: RD1
2008-09-03 14:45:53 BR0009I BRARCHIVE action ID: adystlhx
2008-09-03 14:45:53 BR0010I BRARCHIVE function ID: cds
2008-09-03 14:45:53 BR0048I Archive function: copy_delete_save
2008-09-03 14:45:53 BR0011I 1 offline redo log file found for processing, size 41.846 MB
2008-09-03 14:45:53 BR0130I Backup device type: util_file
2008-09-03 14:45:53 BR0109I Files will be saved by backup utility
2008-09-03 14:45:53 BR0134I Unattended mode with 'force' active - no operator confirmation allowed
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.07
2008-09-03 14:45:53 BR0229I Calling backup utility with function 'backup'...
2008-09-03 14:45:53 BR0278I Command output of '/usr/sap/RD1/SYS/exe/run/backint -u RD1 -f backup -i /lms/oracle/RD1/saparch/.adystlhx.lst -t file -p
2008-09-03 14:45:53 ERROR - Failed to get the policy method type: LNSDQP10-SAP
2008-09-03 14:45:53 ERROR: incorrect format or option in .utl file (-p)
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.52
2008-09-03 14:45:53 BR0279E Return code from '/usr/sap/RD1/SYS/exe/run/backint -u RD1 -f backup -i /lms/oracle/RD1/saparch/.adystlhx.lst -t file -p
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0232E 0 of 1 file saved by backup utility
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.52
2008-09-03 14:45:53 BR0231E Backup utility call failed
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0016I 0 offline redo log files processed, totalsize 0.000 MB
2008-09-03 14:45:53
2008-09-03 14:45:53 BR0007I End of offline redo log processing: adystlhx.cds 2008-09-03 14.45.53
2008-09-03 14:45:53 BR0280I BRARCHIVE time stamp: 2008-09-03 14.45.53
2008-09-03 14:45:53 BR0005I BRARCHIVE terminated with errors
2008-09-03 14:45:53 External program terminated with exit code 5
2008-09-03 14:45:53 BRARCHIVE returned error status E
2008-09-03 14:45:53 Job finished
Can you please help me out.
Thanks in Advance.
Regards,
RohanHi Rohan,
Are you using any backup software to manage SAP Backups? Has anything changed? Any upgrades done to backup software?
2008-09-03 14:45:53 BR0278I Command output of '/usr/sap/RD1/SYS/exe/run/backint -u RD1 -f backup -i /lms/oracle/RD1/saparch/.adystlhx.lst -t file -p
2008-09-03 14:45:53 ERROR - Failed to get the policy method type: LNSDQP10-SAP
2008-09-03 14:45:53 ERROR: incorrect format or option in .utl file (-p)
Cheers,
Nisch -
Hi,
I am facing the issue with archive log backup with external autoloader tape drive ( HP data protector software).
The archivelog backup is not successfull.
Kindly provide me a suggestion o solve this issue. Please find the log below
BR0002I BRARCHIVE 7.00 (32)
BR0262I Enter database user name[/password]:
BR0169I Value 'util_file_online' of parameter/option 'backup_dev_type/-d' ignored for 'brarchive' - 'util_file' assumed
BR0006I Start of offline redo log processing: adzulphz.sve 2009-01-28 12.12.11
BR0252E Function fopen() failed for '/oracle/SFD/saparch/adzulphz.sve' at location main-6
BR0253E errno 13: Permission denied
BR0121E Processing of log file /oracle/SFD/saparch/adzulphz.sve failed
BR0007I End of offline redo log processing: adzulphz.sve 2009-01-28 12.12.11
BR0280I BRARCHIVE time stamp: 2009-01-28 12.12.11
BR0005I BRARCHIVE terminated with errors
[Major]
From: OB2BAR_OMNISAP@sfwdqs "OMNISAP" Time: 01/28/09 12:12:11
BRARCHIVE /usr/sap/SFD/SYS/exe/run/brarchive -a -c -u system/******** returned 3
[Normal]
From: BSM@sfwsol "Archive" Time: 1/28/2009 12:19:09 PM
OB2BAR application on "sfwdqs" disconnected.
[Normal]
From: BMA@sfwsol "HP:Ultrium 3-SCSI_1_sfwsol" Time: 1/28/2009 12:19:38 PM
Tape0:0:5:0C
Medium header verification completed, 0 errors found
[Normal]
From: BMA@sfwsol "HP:Ultrium 3-SCSI_1_sfwsol" Time: 1/28/2009 12:19:58 PM
By: UMA@sfwsol@Changer0:0:5:1
Unloading medium to slot 4 from device Tape0:0:5:0C
[Normal]
From: BMA@sfwsol "HP:Ultrium 3-SCSI_1_sfwsol" Time: 1/28/2009 12:20:21 PM
ABORTED Media Agent "HP:Ultrium 3-SCSI_1_sfwsol"
[Normal]
From: BSM@sfwsol "Archive" Time: 1/28/2009 12:20:21 PM
Regards,
KumarHi ,
Please check the directory permissions for "/oracle/SFD/saparch".
Please check permissions for <sid>adm and ora<sid> for the above directory.
"Note 17163 - BRARCHIVE/BRBACKUP messages and codes" and also related notes may help you for addtional information.
Regards
Upender Reddy -
Error while taking archive log backup
Dear all,
We are getting the below mentioned error while taking the archive log backup
============================================================================
BR0208I Volume with name RRPA02 required in device /dev/rmt0.1
BR0210I Please mount BRARCHIVE volume, if you have not already done so
BR0280I BRARCHIVE time stamp: 2010-05-27 16.43.41
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRARCHIVE:
c
BR0280I BRARCHIVE time stamp: 2010-05-27 16.43.46
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRARCHIVE time stamp: 2010-05-27 16.43.46
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/RRP/sapreorg/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0278W Command output of 'LANG=C cd /oracle/RRP/sapreorg && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0.1':
Can't read input
===========================================================================
We are able to take offline, online backups but we are facing the above mentioned problem while taking archive log backup
We are on ECC 6 / Oracle / AIX
The kernel is latest
The drive is working fine and there is no problem with the tapes as we have tried using diffrent tapes
can this be a permissions issue?
I ran saproot.sh but somehow it is setting owner as sidadm and group as sapsys to some of the br* files
I tried by changing the permissions to oraSID : dba but still the error is the same
Any suggestions?Means you have not initialized the medias but trying to take backups.
First check how many medias you have entered in your tape count parameter for archive log backups (just go to initSID.sap and check)
Then increase/reduce them to according to your archive backup plan >> Initialize all the tapes according to their name (same as you have initialized in initSID.sap) >> stick physical label to all the medias according to name >> Schedule archive backups
It will not ask you for initialization as already you have initialized in second step.
Suggestion: Use 7 medias per week (one tape per day)
Regards,
Nick Loy -
RMAN never deletes archive log backups
Hi all,
I have same problem as some of you have already faced.
I have some instances 10.2.0.4 running un archive log mode.
I take full hot backup daily.
I setup a rman script to backup and delete obsolete backups according to the following policy:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
and then:
run {
ALLOCATE CHANNEL RMAN_BACK_CH01 TYPE DISK;
BACKUP AS COMPRESSED BACKUPSET DATABASE FORMAT '/mnt/rman_202/pnetpres/db_pres_%U';
CROSSCHECK ARCHIVELOG ALL;
BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL FORMAT '/mnt/rman_202/pnetpres/al_pres_%U';
CROSSCHECK BACKUP;
DELETE NOPROMPT OBSOLETE;
DELETE NOPROMPT EXPIRED BACKUP;
RELEASE CHANNEL RMAN_BACK_CH01;
crosscheck archivelog all;
delete noprompt archivelog all completed before 'sysdate -2';
DB full backups are being deleted, however archive logs backups are not deleted.
There are no tablespaces in backup or offline mode.
How can I know the reason why some archive log backups are kept ?
Even I clear the policy and perform a crosscheck and delete, those are not marked as obsolete neither deleted from disk.
Thanks in advance.Hi Fernando,
This are the ouputpus of the commands:
RMAN> REPORT OBSOLETE;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
no obsolete backups found
RMAN> LIST BACKUP OF ARCHIVELOG ALL;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
1090 69.65M DISK 00:00:16 23-FEB-11
BP Key: 1093 Status: AVAILABLE Compressed: YES Tag: TAG20110223T061511
Piece Name: /mnt/rman_202/pnetproy/al_pres_0jm5c6bf_1_1
List of Archived Logs in backup set 1090
Thrd Seq Low SCN Low Time Next SCN Next Time
1 13 2173025156 21-FEB-11 2173028010 21-FEB-11
1 14 2173028010 21-FEB-11 2173041730 21-FEB-11
1 15 2173041730 21-FEB-11 2173041813 21-FEB-11
1 16 2173041813 21-FEB-11 2173106066 22-FEB-11
1 17 2173106066 22-FEB-11 2173108831 22-FEB-11
1 18 2173108831 22-FEB-11 2173116745 22-FEB-11
1 19 2173116745 22-FEB-11 2173117735 22-FEB-11
1 20 2173117735 22-FEB-11 2173117739 22-FEB-11
1 21 2173117739 22-FEB-11 2173117753 22-FEB-11
1 22 2173117753 22-FEB-11 2173165783 23-FEB-11
1 23 2173165783 23-FEB-11 2173168857 23-FEB-11
BS Key Size Device Type Elapsed Time Completion Time
1411 125.43M DISK 00:00:28 24-FEB-11
BP Key: 1414 Status: AVAILABLE Compressed: YES Tag: TAG20110224T061643
Piece Name: /mnt/rman_202/pnetproy/al_pres_0mm5eqqb_1_1
List of Archived Logs in backup set 1411
Thrd Seq Low SCN Low Time Next SCN Next Time
1 18 2173108831 22-FEB-11 2173116745 22-FEB-11
1 19 2173116745 22-FEB-11 2173117735 22-FEB-11
1 20 2173117735 22-FEB-11 2173117739 22-FEB-11
1 21 2173117739 22-FEB-11 2173117753 22-FEB-11
1 22 2173117753 22-FEB-11 2173165783 23-FEB-11
1 23 2173165783 23-FEB-11 2173168857 23-FEB-11
1 24 2173168857 23-FEB-11 2173221907 23-FEB-11
1 25 2173221907 23-FEB-11 2173246002 24-FEB-11
1 26 2173246002 24-FEB-11 2173249177 24-FEB-11
BS Key Size Device Type Elapsed Time Completion Time
1600 164.40M DISK 00:00:37 25-FEB-11
BP Key: 1603 Status: AVAILABLE Compressed: YES Tag: TAG20110225T061643
Piece Name: /mnt/rman_202/pnetproy/al_pres_0pm5hf6b_1_1
List of Archived Logs in backup set 1600
Thrd Seq Low SCN Low Time Next SCN Next Time
1 22 2173117753 22-FEB-11 2173165783 23-FEB-11
1 23 2173165783 23-FEB-11 2173168857 23-FEB-11
1 24 2173168857 23-FEB-11 2173221907 23-FEB-11
1 25 2173221907 23-FEB-11 2173246002 24-FEB-11
1 26 2173246002 24-FEB-11 2173249177 24-FEB-11
1 27 2173249177 24-FEB-11 2173313111 25-FEB-11
1 28 2173313111 25-FEB-11 2173316259 25-FEB-11
BS Key Size Device Type Elapsed Time Completion Time
1829 132.24M DISK 00:00:30 26-FEB-11
BP Key: 1832 Status: AVAILABLE Compressed: YES Tag: TAG20110226T061627
Piece Name: /mnt/rman_202/pnetproy/al_pres_0sm5k3hr_1_1
List of Archived Logs in backup set 1829
Thrd Seq Low SCN Low Time Next SCN Next Time
1 25 2173221907 23-FEB-11 2173246002 24-FEB-11
1 26 2173246002 24-FEB-11 2173249177 24-FEB-11
1 27 2173249177 24-FEB-11 2173313111 25-FEB-11
1 28 2173313111 25-FEB-11 2173316259 25-FEB-11
1 29 2173316259 25-FEB-11 2173380316 26-FEB-11
1 30 2173380316 26-FEB-11 2173388686 26-FEB-11
BS Key Size Device Type Elapsed Time Completion Time
2058 218.03M DISK 00:00:48 27-FEB-11
BP Key: 2061 Status: AVAILABLE Compressed: YES Tag: TAG20110227T061628
Piece Name: /mnt/rman_202/pnetproy/al_pres_0vm5mnts_1_1
List of Archived Logs in backup set 2058
Thrd Seq Low SCN Low Time Next SCN Next Time
1 28 2173313111 25-FEB-11 2173316259 25-FEB-11
1 29 2173316259 25-FEB-11 2173380316 26-FEB-11
1 30 2173380316 26-FEB-11 2173388686 26-FEB-11
1 31 2173388686 26-FEB-11 2173465280 27-FEB-11
1 32 2173465280 27-FEB-11 2173499757 27-FEB-11
1 33 2173499757 27-FEB-11 2173527280 27-FEB-11
1 34 2173527280 27-FEB-11 2173530545 27-FEB-11
BS Key Size Device Type Elapsed Time Completion Time
2298 205.39M DISK 00:00:45 28-FEB-11
BP Key: 2301 Status: AVAILABLE Compressed: YES Tag: TAG20110228T061620
Piece Name: /mnt/rman_202/pnetproy/al_pres_12m5pc9l_1_1
List of Archived Logs in backup set 2298
Thrd Seq Low SCN Low Time Next SCN Next Time
1 30 2173380316 26-FEB-11 2173388686 26-FEB-11
1 31 2173388686 26-FEB-11 2173465280 27-FEB-11
1 32 2173465280 27-FEB-11 2173499757 27-FEB-11
1 33 2173499757 27-FEB-11 2173527280 27-FEB-11
1 34 2173527280 27-FEB-11 2173530545 27-FEB-11
1 35 2173530545 27-FEB-11 2173589000 28-FEB-11
1 36 2173589000 28-FEB-11 2173592018 28-FEB-11
BS Key Size Device Type Elapsed Time Completion Time
2546 180.29M DISK 00:00:39 01-MAR-11
BP Key: 2549 Status: AVAILABLE Compressed: YES Tag: TAG20110301T061533
Piece Name: /mnt/rman_202/pnetproy/al_pres_15m63to5_1_1
List of Archived Logs in backup set 2546
Thrd Seq Low SCN Low Time Next SCN Next Time
1 32 2173465280 27-FEB-11 2173499757 27-FEB-11
1 33 2173499757 27-FEB-11 2173527280 27-FEB-11
1 34 2173527280 27-FEB-11 2173530545 27-FEB-11
1 35 2173530545 27-FEB-11 2173589000 28-FEB-11
1 36 2173589000 28-FEB-11 2173592018 28-FEB-11
1 37 2173592018 28-FEB-11 2173671730 01-MAR-11
1 38 2173671730 01-MAR-11 2173674751 01-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
2801 85.40M DISK 00:00:19 02-MAR-11
BP Key: 2804 Status: AVAILABLE Compressed: YES Tag: TAG20110302T061613
Piece Name: /mnt/rman_202/pnetproy/al_pres_18m66i5d_1_1
List of Archived Logs in backup set 2801
Thrd Seq Low SCN Low Time Next SCN Next Time
1 36 2173589000 28-FEB-11 2173592018 28-FEB-11
1 37 2173592018 28-FEB-11 2173671730 01-MAR-11
1 38 2173671730 01-MAR-11 2173674751 01-MAR-11
1 39 2173674751 01-MAR-11 2173736248 02-MAR-11
1 40 2173736248 02-MAR-11 2173739307 02-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
3058 137.93M DISK 00:00:30 03-MAR-11
BP Key: 3061 Status: AVAILABLE Compressed: YES Tag: TAG20110303T061548
Piece Name: /mnt/rman_202/pnetproy/al_pres_1bm696gk_1_1
List of Archived Logs in backup set 3058
Thrd Seq Low SCN Low Time Next SCN Next Time
1 38 2173671730 01-MAR-11 2173674751 01-MAR-11
1 39 2173674751 01-MAR-11 2173736248 02-MAR-11
1 40 2173736248 02-MAR-11 2173739307 02-MAR-11
1 41 2173739307 02-MAR-11 2173784198 02-MAR-11
1 42 2173784198 02-MAR-11 2173816111 03-MAR-11
1 43 2173816111 03-MAR-11 2173819171 03-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
3324 138.96M DISK 00:00:31 04-MAR-11
BP Key: 3327 Status: AVAILABLE Compressed: YES Tag: TAG20110304T061559
Piece Name: /mnt/rman_202/pnetproy/al_pres_1em6bqsv_1_1
List of Archived Logs in backup set 3324
Thrd Seq Low SCN Low Time Next SCN Next Time
1 40 2173736248 02-MAR-11 2173739307 02-MAR-11
1 41 2173739307 02-MAR-11 2173784198 02-MAR-11
1 42 2173784198 02-MAR-11 2173816111 03-MAR-11
1 43 2173816111 03-MAR-11 2173819171 03-MAR-11
1 44 2173819171 03-MAR-11 2173882472 04-MAR-11
1 45 2173882472 04-MAR-11 2173885557 04-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
3597 178.07M DISK 00:00:39 05-MAR-11
BP Key: 3600 Status: AVAILABLE Compressed: YES Tag: TAG20110305T061543
Piece Name: /mnt/rman_202/pnetproy/al_pres_1hm6ef8f_1_1
List of Archived Logs in backup set 3597
Thrd Seq Low SCN Low Time Next SCN Next Time
1 41 2173739307 02-MAR-11 2173784198 02-MAR-11
1 42 2173784198 02-MAR-11 2173816111 03-MAR-11
1 43 2173816111 03-MAR-11 2173819171 03-MAR-11
1 44 2173819171 03-MAR-11 2173882472 04-MAR-11
1 45 2173882472 04-MAR-11 2173885557 04-MAR-11
1 46 2173885557 04-MAR-11 2173947612 05-MAR-11
1 47 2173947612 05-MAR-11 2173951657 05-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
3835 198.44M DISK 00:00:43 06-MAR-11
BP Key: 3838 Status: AVAILABLE Compressed: YES Tag: TAG20110306T061548
Piece Name: /mnt/rman_202/pnetproy/al_pres_1km6h3kk_1_1
List of Archived Logs in backup set 3835
Thrd Seq Low SCN Low Time Next SCN Next Time
1 45 2173882472 04-MAR-11 2173885557 04-MAR-11
1 46 2173885557 04-MAR-11 2173947612 05-MAR-11
1 47 2173947612 05-MAR-11 2173951657 05-MAR-11
1 48 2173951657 05-MAR-11 2174026607 06-MAR-11
1 49 2174026607 06-MAR-11 2174062014 06-MAR-11
1 50 2174062014 06-MAR-11 2174087203 06-MAR-11
1 51 2174087203 06-MAR-11 2174090299 06-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
4131 185.94M DISK 00:00:40 07-MAR-11
BP Key: 4134 Status: AVAILABLE Compressed: YES Tag: TAG20110307T061546
Piece Name: /mnt/rman_202/pnetproy/al_pres_1nm6jo0i_1_1
List of Archived Logs in backup set 4131
Thrd Seq Low SCN Low Time Next SCN Next Time
1 47 2173947612 05-MAR-11 2173951657 05-MAR-11
1 48 2173951657 05-MAR-11 2174026607 06-MAR-11
1 49 2174026607 06-MAR-11 2174062014 06-MAR-11
1 50 2174062014 06-MAR-11 2174087203 06-MAR-11
1 51 2174087203 06-MAR-11 2174090299 06-MAR-11
1 52 2174090299 06-MAR-11 2174147018 07-MAR-11
1 53 2174147018 07-MAR-11 2174149955 07-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
4435 161.37M DISK 00:00:35 08-MAR-11
BP Key: 4438 Status: AVAILABLE Compressed: YES Tag: TAG20110308T061540
Piece Name: /mnt/rman_202/pnetproy/al_pres_1qm6mccc_1_1
List of Archived Logs in backup set 4435
Thrd Seq Low SCN Low Time Next SCN Next Time
1 49 2174026607 06-MAR-11 2174062014 06-MAR-11
1 50 2174062014 06-MAR-11 2174087203 06-MAR-11
1 51 2174087203 06-MAR-11 2174090299 06-MAR-11
1 52 2174090299 06-MAR-11 2174147018 07-MAR-11
1 53 2174147018 07-MAR-11 2174149955 07-MAR-11
1 54 2174149955 07-MAR-11 2174239915 08-MAR-11
1 55 2174239915 08-MAR-11 2174242816 08-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
4745 79.24M DISK 00:00:18 09-MAR-11
BP Key: 4748 Status: AVAILABLE Compressed: YES Tag: TAG20110309T061555
Piece Name: /mnt/rman_202/pnetproy/al_pres_1tm6p0os_1_1
List of Archived Logs in backup set 4745
Thrd Seq Low SCN Low Time Next SCN Next Time
1 53 2174147018 07-MAR-11 2174149955 07-MAR-11
1 54 2174149955 07-MAR-11 2174239915 08-MAR-11
1 55 2174239915 08-MAR-11 2174242816 08-MAR-11
1 56 2174242816 08-MAR-11 2174304682 09-MAR-11
1 57 2174304682 09-MAR-11 2174307679 09-MAR-11
BS Key Size Device Type Elapsed Time Completion Time
5270 135.13M DISK 00:00:31 10-MAR-11
BP Key: 5273 Status: AVAILABLE Compressed: YES Tag: TAG20110310T061603
Piece Name: /mnt/rman_202/pnetproy/al_proy_20m6rl53_1_1
List of Archived Logs in backup set 5270
Thrd Seq Low SCN Low Time Next SCN Next Time
1 55 2174239915 08-MAR-11 2174242816 08-MAR-11
1 56 2174242816 08-MAR-11 2174304682 09-MAR-11
1 57 2174304682 09-MAR-11 2174307679 09-MAR-11
1 58 2174307679 09-MAR-11 2174353241 09-MAR-11
1 59 2174353241 09-MAR-11 2174384330 10-MAR-11
1 60 2174384330 10-MAR-11 2174387259 10-MAR-11
RMAN>
For example the backups of archivelog from Feb 21st will never be deleted unless I force the delete.
I'd like to understand why it happens :-)
Thanks a lot,
Regards,
Diego. -
Hi,
My redo log backup failed and I've no clue on the errors. Below is the job log. Please advise. TIA !
Job started
Step 001 started (program RSDBAJOB, variant &0000000000064, user ID BACKUP_USER)
No application server found on database host - rsh/gateway will be used
Execute logical command BRARCHIVE On host bering
Parameters:-u / -jid LOG__20090313130000 -c force -p initprd.sap -cds
SXPG_COMMAND_EXECUTE(LONG)
COMMANDNAME = BRARCHIVE
OPERATINGSYSTEM = ANYOS
TARGETSYSTEM = bering
DESTINATION = SAPXPG_DBDEST_BERING
BR0002I BRARCHIVE 7.00 (32)
BR0181E Option '-cds' not supported for 'disk'
BR0007I End of offline redo log processing: aeactnyg.log 2009-03-13 13.00.19
BR0280I BRARCHIVE time stamp: 2009-03-13 13.00.21
BR0005I BRARCHIVE terminated with errors
External program terminated with exit code 3
BRARCHIVE returned error status E
Job finished
DLHi,
You tried to backup redo log on disk.
Option -cds (create second copy, delete and the first copy serial) is not supported when you do a redolog backup using disk as backup device type.
Try to change the option to -sd (save first copy and delete)
rgds,
fendhy. -
Can archive log backup influence database performance?
Hi,
can archive log backup generally influence the database performance? I mean: users can view their query to go slowly during backup of archived redolog?Are you asking about backing up the archived redo logs via rman or directly to tape or the actual archive process where Oracle backs the online redo to disk?
-- comments on archive process
Normally the redo log archiving process should have no noticable effect on database performance. About the only way for the process to have a noticable performance impact while it is running is if you store all your online redo logs on the same physical disk. You would also want the backup to be on a different physical disk.
Check your alert log to make sure you do not have error messages related to being unable to switch redo logs and checkpoint incomplete messages. These would be an indication that your online redo logs are defined too small and you are trying to cycle around before Oracle has finished archiving the older logs.
-- comments on archived redo log backup
Archived reodo logs should not be on the same disk as the database so using rman or an OS task to back these files up should not impact Oracle unless you server is itself near capacity and any additional task effects the server.
HTH -- Mark D Powell -- -
Dear Sir
i am using SAP EHP5 with DB2 9.7 FP4 on windows 2008r2
1) i have turn on archive log and log is generating following following directory
:\db2\PSD\log_archive\DB2PSD\PSD\NODE0000\C0000000
2) we want to take archive log backup, as per SAP DB13 tcode there is option "Archive log file to tape", we are not using tape drive, is there any option to take archive log backup to disk?
regardsYes you can restore the backup as follows :
1 . Restore the database :
db2 restore db <SID> from <backup_dir> LOGTARGET <directory_to_which_log_files_will_be copied>
Rollforward the database:
db2 "rollforward db <SID> to end of logs overflow log path ('<directory_to_which_log_files_will_be copied>')"
2. The simplest way is to use the following command .
db2 RECOVER DB <SID>
This will use the latest backup image and rollforward to the end of logs using all default values.
Also an online backup as of DB2 9.7 includes the transaction logs by default , you do not need to exclusively specify. -
How can i see the Archive log backup contens from th tapes
hello
I am taking Archive log Backup regularly
i want ot chk my backup contents from tape through the db2 command
From DB13 it is showing successfully Completed
but for the comfirmation where and how i can see the contents of tape
Point in advance from me
JayeshHello Jayesh ,
using db2tapemgr you can display the tape header DB2TAPEMGR.HEADER using
db2tapemgr SHOW TAPE HEADER <tape device>
in "contents:" field you can see , which logfiles are on tape at which position .
see
[db2tapemgr - Manage log files on tape command|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.cmd.doc/doc/r0011704.html]
[IBM DB2 Universal Database for UNIX and Windows:New Log File Management|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50c7d3ef-5a59-2a10-a3ab-fb3b0887f479]
Best regards
dirk -
Archive Log Backups Retention Policy
How can I define Retention Policy for archive log backups?
The question asked and answer you have marked as "Correct answer" is misleading.
For archived log deletion policy, look below.
Configuring the RMAN Environment
For the actual question posted "How can I define Retention Policy for archive log backups?", look below link.
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmconfb.htm#i1019318
Also, did you start the thread to clear your doubt or test the other forum users?
Thank you!! -
Redo log backup failing with BR253E errno 2:
Hi all,
I am able to take online as well as offline backup through sapdba , but unfortunately from last 7 days my redo log backup is failing after online backup is complete with below mentioned error. I also tried to start redo log backup seperately but failed as below...
BR002I BRARCHIVE 6.20 (18)
BR006I Start of offline redo log processing: adwpawsw.sve 2007-11-13 21.33.22
BR280I Time stamp 2007-11-13 21.33.25
BR008I Offline redo log processing for database instance: PRD
BR009I BRARCHIVE action ID: adwpawsw
BR010I BRARCHIVE function ID: sve
BR048I Archive function: save
BR011I 195 offline redo log files found for processing, total size 9469.831 MB
BR112I Files will not be compressed
BR130I Backup device type: disk
BR106I Files will be saved on disk in directory: F:\oracle\PRD\sapbackup
BR126I Unattended mode active - no operator confirmation required
BR202I Saving init_ora
BR203I to F:\oracle\PRD\sapbackup\PRD ...
BR202I Saving o:\orcle\prd\920\DATABASE\initPRD.sap
BR203I to F:\oracle\PRD\sapbackup\PRD ...
BR280I Time stamp 2007-11-13 21.33.26
BR198I Profiles saved successfully
BR252E Function fopen() failed for 'F:\oracle\PRD\sapbackup\.PRD/oraarch/PRDarch
ARC10479.001' at location arch_process-4
BR253E errno 2: No such file or directory
BR121E Processing log file F:\oracle\PRD\sapbackup\.PRD/oraarch/PRDarchARC10479.
001 failed
BR016I 0 offline redo log files processed, total size 0.000 MB
BR007I End of offline redo log processing: adwpawsw.sve 2007-11-13 21.33.26
BR280I Time stamp 2007-11-13 21.33.26
BR005I BRARCHIVE terminated with errors
End of output from program 'BRARCHIVE' -
SAPDBA: Execution of BRARCHIVE failed.
(2007-11-13 21.33.27)
Press <return> to continue ...
SAPDBA: Last line from BRARCHIVE summary log:
'#* PRD disk adwpawsw sve 2007-11-13 21.33.22 2007-11-13 21.33.26
5 ........... -
c 6.20 (18)'
Press <return> to continue ...
Appreciate your quick replies.
Best Regards,
AjitRUnfortunately backlogs point to directory
<b>'F:\oracle\PRD\sapbackup\.PRD</b>
But i have my logfiles getting archived at D:\oracle\PRD\oraarch
and they are supposed to be backed up at F:\oracle\PRD\sapbackup
Below is my init.sap file for your ref, i cant find where this <b>.PRD</b> folder came from
backup mode [all | all_data | full | incr | sap_dir | ora_dir
| <tablespace_name> | <file_id> | <file_id1>-<file_id2>
| <generic_path> | (<object_list>)]
default: all
backup_mode = all
restore mode [all | all_data | full | incr | incr_only | incr_full
| <tablespace_name> | <file_id> | <file_id1>-<file_id2>
| <generic_path> | (<object_list>)]
redirection with '=' is not supported here - use option '-m' instead
default: all
restore_mode = all
backup type [offline | offline_force | offline_standby | offline_split
| offline_stop | online | online_cons | online_split]
default: offline
backup_type = offline
backup device type
[tape | tape_auto | tape_box | pipe | pipe_auto | pipe_box | disk
| disk_copy | disk_standby | stage | stage_copy | stage_standby
| util_file | util_file_online | rman_util | rman_disk | rman_stage
| rman_prep]
default: tape
#backup_dev_type = tape
backup_dev_type = disk
backup root directory [<path_name> | (<path_name_list>)]
default: %SAPDATA_HOME%\sapbackup
#backup_root_dir = D:\oracle\PRD\sapbackup
backup_root_dir = F:\oracle\PRD\sapbackup
stage root directory [<path_name> | (<path_name_list>)]
default: value of the backup_root_dir parameter
#stage_root_dir = D:\oracle\PRD/sapbackup
stage_root_dir = F:\oracle\PRD\sapbackup
compression flag [yes | no | hardware | only]
default: no
compress = no
compress command
first $-character is replaced by the source file name
second $-character is replaced by the target file name
<target_file_name> = <source_file_name>.Z
for compress command the -c option must be set
recommended setting for brbackup -k only run:
"%SAPEXE%\mkszip -l 0 -c $ > $"
no default
compress_cmd = "@SAPEXE@\mkszip -c $ > $"
uncompress command
first $-character is replaced by the source file name
second $-character is replaced by the target file name
<source_file_name> = <target_file_name>.Z
for uncompress command the -c option must be set
no default
uncompress_cmd = "@SAPEXE@\uncompress -c $ > $"
directory for compression [<path_name> | (<path_name_list>)]
default: value of the backup_root_dir parameter
#compress_dir = D:\oracle\PRD/sapreorg
compress_dir = F:\oracle\PRD\sapreorg
brarchive function [save | second_copy | double_save | save_delete
| second_copy_delete | double_save_delete | copy_save
| copy_delete_save | delete_saved | delete_copied]
default: save
archive_function = save
directory for archive log copies to disk
default: first value of the backup_root_dir parameter
#archive_copy_dir = D:\oracle\PRD/sapbackup
archive_copy_dir = F:\oracle\PRD\sapbackup
directory for archive log copies to stage
should contain <SID> subdirectory
default: first value of the stage_root_dir parameter
#archive_stage_dir = D:\oracle\PRD/sapbackup
archive_stage_dir = f:\oracle\PRD\sapbackup
new database home directory for disk_copy | disk_standby
no default
new_db_home = X:\oracle\C11
stage database home directory for stage_copy | stage_standby
default: value Cof the new_db_home parameter
stage_db_home = /oracle/C11
original database home directory for split mirror disk backup
no default
orig_db_home = /oracle/C11 -
RMAN archive logs backup and restore in RAC environment.
Hello All,
I have a 8 node RAC using ASM production database and a single node standby database using ASM. I have archive log gap on the standby database and the archive logs on the primary database is backed up and removed.
I need to resync the standby database using RMAN backup/restore.
Could you please help me on how to backup the specific archive logs file (all threads) from production and restore/recover the standby database. Any specific RMAN script or Metalink ID will help alot.
Details:
Source: 8 node RAC, ASM, Linux,
target: Non-RAC, ASM, Linux.
Regards,You can try LIKE clause of BACKUP ARCHIVELOG such as:
RMAN> backup archivelog like '%XE%2010%20%';
Starting backup at 20-AUG-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=58 recid=19 stamp=727519553
input archive log thread=1 sequence=59 recid=20 stamp=727544121
input archive log thread=1 sequence=60 recid=21 stamp=727544127
channel ORA_DISK_1: starting piece 1 at 20-AUG-10
channel ORA_DISK_1: finished piece 1 at 20-AUG-10
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_08_20\
O1_MF_ANNNN_TAG20100820T154401_66X1O353_.BKP tag=TAG20100820T154401 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 20-AUG-10or you can try SEQUENCE clause:
RMAN> backup archivelog sequence between 58 and 60 thread 1;
Starting backup at 20-AUG-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=58 recid=19 stamp=727519553
input archive log thread=1 sequence=59 recid=20 stamp=727544121
input archive log thread=1 sequence=60 recid=21 stamp=727544127
channel ORA_DISK_1: starting piece 1 at 20-AUG-10
channel ORA_DISK_1: finished piece 1 at 20-AUG-10
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_08_20\
O1_MF_ANNNN_TAG20100820T154911_66X1YRJL_.BKP tag=TAG20100820T154911 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 20-AUG-10or
RMAN> backup archivelog sequence between 58 and 60;
Starting backup at 20-AUG-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=58 recid=19 stamp=727519553
input archive log thread=1 sequence=59 recid=20 stamp=727544121
input archive log thread=1 sequence=60 recid=21 stamp=727544127
channel ORA_DISK_1: starting piece 1 at 20-AUG-10
channel ORA_DISK_1: finished piece 1 at 20-AUG-10
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_08_20\
O1_MF_ANNNN_TAG20100820T154748_66X1W5Z0_.BKP tag=TAG20100820T154748 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 20-AUG-10See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta008.htm#i78730 -
Hello,
the LOG backup of the database crashes with following error:
ERR
-24988,ERR_SQL: sql error
-8888,connection broken [183]
KNLDIAG
2005-12-06 14:18:56 0x370 19633 CONNECT Connect req. (T4, Node:'', PID:3008)
2005-12-06 14:18:56 0x370 19651 CONNECT Connection released, T4
2005-12-06 14:18:56 0x370 19633 CONNECT Connect req. (T4, Node:'', PID:3008)
2005-12-06 14:18:56 0x370 19651 CONNECT Connection released, T4
2005-12-06 14:19:57 0x370 19633 CONNECT Connect req. (T4, Node:'', PID:3008)
2005-12-06 14:19:59 0x370 19615 VOLUMEIO Attaching volume 'F:\sapdb\EXI\saplog\DISKL001'
2005-12-06 14:19:59 0x9C8 19613 DBSTATE I/O thread for 'F:\sapdb\EXI\saplog\DISKL001' started
2005-12-06 14:19:59 0x370 19617 VOLUMEIO Single I/O attach, 'F:\sapdb\EXI\saplog\DISKL001', UKT:3
2005-12-06 14:19:59 0xCB4 19625 IO Async I/O thread started, 'H:\Sicherung_XI\logs\EXI_LOG.017
2005-12-06 14:19:59 0xEE0 52101 SAVE Filetype: file
2005-12-06 14:19:59 0xEE0 52024 SAVE 200 pages -> "erung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:04 0xEE0 52024 SAVE 10800 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:09 0xEE0 52024 SAVE 20000 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:14 0xEE0 52024 SAVE 29400 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:19 0xEE0 52024 SAVE 39000 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:24 0xEE0 52024 SAVE 48200 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:29 0xEE0 52024 SAVE 57600 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:34 0xEE0 52024 SAVE 66800 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:39 0xEE0 52024 SAVE 76400 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:44 0xEE0 52024 SAVE 85400 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:49 0xEE0 52024 SAVE 94800 pages -> "ung_XI\logs\EXI_LOG.017"
2005-12-06 14:20:54 0xEE0 52024 SAVE 104000 pages -> "ng_XI\logs\EXI_LOG.017"
2005-12-06 14:20:59 0xEE0 52024 SAVE 113200 pages -> "ng_XI\logs\EXI_LOG.017"
2005-12-06 14:21:04 0xEE0 52024 SAVE 122600 pages -> "ng_XI\logs\EXI_LOG.017"
2005-12-06 14:21:09 0xEE0 ERR 0 SAPDBErr Assertion of state Log_SaveIterator::CheckPageBuffer pagebuffer contains no endOfLogDevice failed!
2005-12-06 14:21:09 0xEE0 ERR 18196 DBCRASH vabort:Emergency Shutdown, Log_SaveIterator.cpp: 222
current write position -
KNLDIAG.ERR
2005-12-06 14:18:41 --- Starting GMT 2005-12-06 13:18:41 7.5.0 Build 031-123-104-253
2005-12-06 14:21:09 0xEE0 ERR 0 SAPDBErr Assertion of state Log_SaveIterator::CheckPageBuffer pagebuffer contains no endOfLogDevice failed!
2005-12-06 14:21:09 0xEE0 ERR 18196 DBCRASH vabort:Emergency Shutdown, Log_SaveIterator.cpp: 222
in online mode the database works fine, also a full backup...
Regards,
DomiHi,
the reason for the problem might be a partially written logpage on a logvolume, or a non-written, but expected logpage. If this page is not found, the logbackup throws the error you received. This should be a very rare error.
In order to solve this, you could try the following:
1. Then bring the database instance to mode <b>online</b>
2. Then bring the database instance to mode <b>admin</b>
3. Clear the log:
dbmcli -d <SID> -u <controluser>,<controlpasswd> -uUTL <controluser>,<controlpasswd> util_execute clear log
4. Perform full data backup
5. Perform log backup
Regards,
Roland
P.S.: the clear log command is a 'dangerous' command, please don't use it otherwise. -
Tran log backup fail after setting a DB offline
This is strange. SQL 2005 SP3 (build 4340). Full backup job and tran log backup job are separate maint plans/Agent jobs as opposed to multiple steps in one maint plan (don't ask me... I didn't set it up that way.)
I set a database XYZ offline last night at around 9pm. It was last backed up at 8pm (full recovery mode). My tran log backup started failing then. This morning, I detached the database. Tran log backup job still failing.
I finally realized it had something to do with database XYZ so I re-attached it. Tran log backup working now. The weird thing is that XYZ had not been selected only specific databases, and the detached database isn't selected. I
tried setting to simple recovery mode and doing a final full backup before detaching, but tran log job still fails. How can I get rid of database XYZ without the tran job failing? Thanks.I have encountered this problem. I concur with EA. But you would need to modify the maintenance plan and save it (uncheck and check a database again) to rectify the problem (if you just open the maintenance plan and save it, it will still fail)
Satish Kartan http://www.sqlfood.com/ -
SQL LOG Backup failed in one Cluster Node
I have 02 node SQL fail over cluster, NOD01 and NODE 02. and configure SQL log backup job via SQL Logshipping
When the sql service is mounted to node 02 job backup will work without any issues, Once its connected to node 01 this will provide below issue
Executed as user: <domain>\administrator. The process could not be created for step 1 of job 0xAC90A0F3623AE44285089E9EF53B12C7 (reason: The system cannot find the file specified). The step failed.
could anyone have on fix for this
ThanxSQL Server Agent on both nodes run under same domain account?
Are you sure that path location is correct?
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence
Maybe you are looking for
-
Adding a Second Project Site with same restore data
This is the first time I've had to accomplish this I have a dev server where I restore a backup from 2 weeks ago to http://devserver/pwa My team has asked for a restore from 2 weeks + 1 day to http://devserver:99/pwa - I've tried deleting site colle
-
How to install XE and specify the SID (instead of XE) during install
I would like to use Oracle 10g Express Edition for development purposes but I already have an existing project that requires a specific SID. I tried following some instructions on asktom.oracle.com on changing the SID but it was disastrous and did no
-
How to remove duplicates from PL-SQL table?
Hi Gurus, I have a PL-SQL table with following structure Authors (SR_NO, Auth_Code, Change_Date, Cost) This tables is being populated using a cursor. But, this table may have some duplicate rows (for Auth_Code column) e.g SR_NO Auth_Code C
-
Using i3 - keys start to lag (have to hold key for more than 1 second)
I'm using i3 and am having trouble with the keys suddenly and I have to restart the session to get it back to normal. No clue what it could be. I can use gnome, cinnamon, wmii, and awesome without issue, but i3 is what causes me problems. When I ty
-
Is there any one who can help me solve this?
Hi. I'm taking AP Computer Scinece AB in high school now. I've been assigned many programs so far. But.. I can't figure them out. There are two programs I need your help. So..Please!!!!!! Help Me!!!! Please!! Enjoy helping me! <Program #1> It's divid