RMAN Backup Failed.
Hi Gurus,
My RMAN backup failed with below error.Please suggest.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 01/26/2013 22:48:56
RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current
ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
RMAN>
Recovery Manager complete.
Thanks,
The message indicates that your database is in NOARCHIVELOG mode. You cannot make an RMAN Backup of a database that is OPEN if it is in NOARCHIVELOG mode.
You have two options
1. Make consistent RMAN Backups with the database only in MOUNT mode (SHUTDOWN ; STARTUP MOUNT)
OR
2. Configure for ArchiveLogs (create a target filesystem or FRA), set the database to ARCHIVELOG mode, monitor the volume of ArchiveLog generation, configure both Database and ArchiveLog backups.
Hemant K Chitale
Similar Messages
-
RMAN backup fails using OEM with no output error
I am trying to do a weekly automatic full backup of a database in noarchivelog mode using RMAN in Enterprise Manager. Every time I submit the backup job (even if I try to do an immediate backup) the job fails almost immediately. When I Iook at the job output for the failed attempt, it says that there is no output for the job. I believe I have all of the preferred credentials and priveleges correct. Does anyone have any ideas as to what the problem could be or maybe where I can find an error log for rman to get a better explanation of the error?
Thanksplease check in metalink.....
you find useful informations here:
RMAN backup using Oracle Secure Backup fails with ORA-19511 (sbt__rpc_connect)
Doc ID: Note:396046.1
Best Regards,
Shishir Tekade.
My Blog: http://shishirtekade.blogspot.com -
hi
we have schedule rman backup using veritas a third party mml , we have policy for daily,weely , monthly full database backup.
daily and weekly backup are working fine only monthly backup is getting failed with the following messages.
released channel: ch00
allocated channel: ch00
channel ch00: sid=172 devtype=SBT_TAPE
channel ch00: VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
Starting backup at 26-JUN-08
channel ch00: starting full datafile backupset
channel ch00: specifying datafile(s) in backupset
including current controlfile in backupset
channel ch00: starting piece 1 at 26-JUN-08
released channel: ch00
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ch00 channel at 06/26/2008 22:32:32
ORA-19506: failed to create sequential file, name="cntrl_1893_1_658449136", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
VxBSACreateObject: Failed with error:
Server Status: the specified client does not exist in an active policy within the configuration database
RMAN>
Recovery Manager complete.
Script /prod_ora/proddb/9.2.0/rman/hot_database_backup.sh
==== ended in error on Thu Jun 26 22:32:33 AST 2008 ====
RegardsThis is a NetBackup configuration issue. The client doesn't have a policy for your monthly job/schedule. I would recommend comparing the setup of the daily/weekly vs. the monthly job.
Thanks,
Brian -
RMAN backup failes with ORA-19624 occurred during call to DBMS_BACKUP_RESTO
RMAN backup up failes with following errors. It works some times and then failes. When it failes then if i un install and reinstall Oralec agent and Backup cliet then it start working OK for few days and then again start getting error. See the messages below...
Recovery Manager: Release 8.1.7.0.0 - Production
RMAN-06005: connected to target database: MIMSDEVH (DBID=3525230908)
RMAN-06008: connected to recovery catalog database
RMAN> RUN { 2> execute script tapelevel0; 3> }
RMAN-03021: executing script: tapelevel0
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03015: error occurred in stored script tapelevel0
RMAN-03007: retryable error occurred during execution of command: allocate
RMAN-07004: unhandled exception during command execution on channel ch00
RMAN-10035: exception raised in RPC: ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-19557: device error, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
ORA-19511: SBT error = 4110, errno = 0, BACKUP_DIR environment variable is not set
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE
Send me some solution...hi,
what is your backup script
can you post back the result of the command
show all;
from the rman command prompt
regards
Alan -
RMAN backup fails atlast during resync catalog with ORA-00001
Hi Everyone,
Database version:10.2.0.2.0
single instance database
My Rman backups were running fine but today i got the error , almost at the end of backup
Finished Control File and SPFILE Autobackup
released channel: t1
released channel: t2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03008: error while performing automatic resync of recovery catalog
ORA-00001: unique constraint (RMAN.CKP_P) violated
Recovery Manager complete.
This problem occured 2 days before.I connected to catalog and ran a resync catalog and the backup worked fine for next day.
Now again today iam experiencing the same problem.
Any help would be greatThanks for the reply
SQL> select * from rman.rcver;
VERSION
10.02.00.00
10.02.00.02
when i do the resync catalog manually it works fine.only during the end of backup it throws me the error;
was wondering whether can i disable the primary key constraint on CKP table so that i can avoid the error.
since its a live system im thinking lot before i do anything
Thanks
Edited by: centerB on 14-Apr-2011 06:40
Edited by: centerB on 14-Apr-2011 06:57
Edited by: centerB on 14-Apr-2011 07:03 -
Hi,
On last saturday in our production envirment L1 Backup was failed. due to these error. What could be the reason.
sql statement: ALTER SYSTEM ARCHIVE LOG CURRENT
released channel: ch1
released channel: ch2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 03/04/2011 08:05:18
RMAN-11003: failure during parse/execution of SQL statement: ALTER SYSTEM ARCHIVE LOG CURRENT
ORA-16038: log 11 sequence# 4199 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 11 thread 1: '/oracle/IPQ/origlogA/log_g11m1.dbf'
ORA-00312: online log 11 thread 1: '/oracle/IPQ/mirrlogA/log_g11m2.dbf'
RMAN>
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters are successfully stored
RMAN>
RMAN>Hi Kalyani,
This forum category is to discuss E-Biz related issues.
Please post such question in an appropriate category to get better response.
Forum Home » Database » Recovery Manager (RMAN)
Recovery Manager (RMAN)
thanks,
X A H E E R -
Hi All,
we have hot backups of DB scheduled(DB Full backup) thru RMAN for all prod DBs.. but since some days all the backups are failing with similar error.. the sample output of one of the backup job run is given below:
set command id to 'BACKUP_PRSAL41_FUL_091007040002';
echo set on
executing command: SET COMMAND ID
connected to recovery catalog database
connected to target database: PRSAL41 (DBID=3043389771)
input datafile fno=00002 name=/prddb02/u12/oradata/prsal41/undotbs01.dbf
input datafile fno=00007 name=/prddb02/u12/oradata/prsal41/autodba8601dat0101.dbf
input datafile fno=00008 name=/prddb02/u12/oradata/prsal41/autodba8601idx0101.dbf
input datafile fno=00004 name=/prddb02/u12/oradata/prsal41/users01.dbf
channel ORA_DISK_1: starting piece 1 at 10-SEP-07
input datafile fno=00006 name=/prddb02/u12/oradata/prsal41/IIS_INDEX_01.dbf
input datafile fno=00005 name=/prddb02/u12/oradata/prsal41/IIS_DATA_01.dbf
input datafile fno=00003 name=/prddb02/u12/oradata/prsal41/sysaux01.dbf
input datafile fno=00001 name=/prddb02/u12/oradata/prsal41/system01.dbf
channel ORA_DISK_1: specifying datafile(s) in backupset
channel ORA_DISK_1: starting compressed full datafile backupset
channel ORA_DISK_1: sid=147 devtype=DISK
allocated channel: ORA_DISK_1
Starting backup at 10-SEP-07
backup device type disk tag 'BACKUP_PRSAL41_FUL_091007040002' da
Starting Control File and SPFILE Autobackup at 10-SEP-07
Finished backup at 10-SEP-07
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:25
piece handle=/back01/prsal41/5oiricui_1_1 tag=BACKUP_PRSAL41_FUL_091007040002 comment=NONE
channel ORA_DISK_1: finished piece 1 at 10-SEP-07
Finished Control File and SPFILE Autobackup at 10-SEP-07
piece handle=/back01/prsal41/c-3043389771-20070910-00 comment=NONE
backup device type disk tag 'BACKUP_PRSAL41_FUL_091007040002' ar
Starting backup at 10-SEP-07
current log archived
released channel: ORA_DISK_1
allocated channel: ORA_MAINT_DISK_1
channel ORA_MAINT_DISK_1: sid=147 devtype=DISK
delete noprompt obsolete device type disk;
allocate channel for maintenance type disk;
Additional information: 3
Linux-x86_64 Error: 2: No such file or directory
ORA-27037: unable to obtain file status
ORA-19625: error identifying file /hubudorap1/arch01/prsal41/1_132_626515083.arc
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
RMAN-03002: failure of backup command at 09/10/2007 04:02:55
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 2 days
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Archive Log 275349 18-JUL-07 /hubudorap1/arch01/prsal41/1_132_626515083.arc
Archive Log 275350 18-JUL-07 /hubudorap1/arch01/prsal41/1_133_626515083.arc
Backup Set 383337 15-AUG-07
Backup Piece 383340 15-AUG-07 /back01/prsal41/44ipdr6h_1_1
Backup Set 383353 15-AUG-07
Backup Piece 383362 15-AUG-07 /back01/prsal41/c-3043389771-20070815-00
Backup Set 500971 07-SEP-07
Backup Piece 500974 07-SEP-07 /back01/prsal41/5iirafql_1_1
Archive Log 501025 07-SEP-07 /hubudorap1/arch01/prsal41/1_404_626515083.arc
Backup Set 500987 07-SEP-07
Backup Piece 500996 07-SEP-07 /back01/prsal41/c-3043389771-20070907-00
Archive Log 505768 07-SEP-07 /hubudorap1/arch01/prsal41/1_405_626515083.arc
Archive Log 505769 07-SEP-07 /hubudorap1/arch01/prsal41/1_406_626515083.arc
Archive Log 505770 07-SEP-07 /hubudorap1/arch01/prsal41/1_407_626515083.arc
Archive Log 505771 08-SEP-07 /hubudorap1/arch01/prsal41/1_408_626515083.arc
deleted backup piece
backup piece handle=/back01/prsal41/5iirafql_1_1 recid=178 stamp=632635222
deleted archive log
archive log filename=/hubudorap1/arch01/prsal41/1_404_626515083.arc recid=373 stamp=632635334
archive log filename=/hubudorap1/arch01/prsal41/1_405_626515083.arc recid=374 stamp=632661717
deleted archive log
backup piece handle=/back01/prsal41/c-3043389771-20070907-00 recid=179 stamp=632635329
deleted backup piece
deleted archive log
archive log filename=/hubudorap1/arch01/prsal41/1_408_626515083.arc recid=377 stamp=632718235
Deleted 7 objects
RMAN-06207: WARNING: 4 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
archive log filename=/hubudorap1/arch01/prsal41/1_407_626515083.arc recid=376 stamp=632705451
deleted archive log
archive log filename=/hubudorap1/arch01/prsal41/1_406_626515083.arc recid=375 stamp=632685605
deleted archive log
RMAN-06212: Object Type Filename/Handle
RMAN-06214: Backup Piece /back01/prsal41/c-3043389771-20070815-00
RMAN-06214: Backup Piece /back01/prsal41/44ipdr6h_1_1
RMAN-06214: Archivelog /hubudorap1/arch01/prsal41/1_133_626515083.arc
RMAN-06214: Archivelog /hubudorap1/arch01/prsal41/1_132_626515083.arc
RMAN-06213: --------------- ---------------------------------------------------
release channel;
exit;
released channel: ORA_MAINT_DISK_1
I am not able to detect why the archive log is missing... can anyone help me on this please..?
btw, DBs are oracle 10g R2 non-rac
Backup type : DB Full via RMAN.
ThanksHi,
Have you used the CROSSCHECK command?
I am not able to detect why the archive log is missing... can anyone help me on this please..?Could someone removed them through O/S commands (manually) ?
Adith -
Archive directory full. RMAN backup failed.
My archive directory went out of space due to rman issue. /tmp was 100%. I had no choice late last night but to move archive logs to another directory (/backups/arch) I changed log_archive_dest also to this location. However RMAN keeps looking at the previous archive directory. Any ideas how I acn make RMAN pick up the archives from this new location?
Oracle version : 10.2.0.4
HP-UX OS
Thank you.Solved it. Had to use :
catalog start with '<new_directory_of_archivelogs>';
Edited by: 860412 on Aug 3, 2011 9:52 AM -
Rman backup fails on windows when using batch file
Hello Gurus ..
I am trying to setup incremental backup on my windows OS based server using RMAN command in batch file. When I use batch file in OS scheduler it is working fine, when I am calling same batch file from my LOCAL desktop PC it throws errors as below.
D:\> \\3.193.211.19\sgdba\rman\bkp_acressit.bat
D:\>rman catalog rman/******@acressit target / cmd
file=E:\sgdba\rman\bkp_arch.rcv log E:\sgdba\rman\sit_arch_rman_backup.log
RMAN-00557: could not open MSGLOG "E:\sgdba\rman\sit_arch_rman_backup.log"
Argument Value Description
target quoted-string connect-string for target database
catalog quoted-string connect-string for recovery catalog
nocatalog none if specified, then no recovery catalog
cmdfile quoted-string name of input command file
log quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, log is opened in append mode
debug optional-args activate debugging
msgno none show RMAN-nnnn prefix for all messages
send quoted-string send a command to the media manager
pipe string building block for pipe names
timeout integer number of seconds to wait for pipe input
checksyntax none check the command file for syntax errors
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00556: could not open CMDFILE "E:\sgdba\rman\bkp_arch.rcv"
Contents of the batch file and RCV file as below:
Batch File:
rman catalog rman/*******@acressit target / cmdfile=E:\sgdba\rman\bkp_arch.rcv log E:\sgdba\rman\sit_arch_rman_backup.log
RCV File:
RUN {
ALLOCATE CHANNEL ch1 TYPE
DISK FORMAT 'E:\ORA_RMAN_BACKUP\ARCH_%d_%u_%s_%p';
BACKUP ARCHIVELOG delete input;
RELEASE CHANNEL ch1;
EXIT;
--------------------------xxxxxxxxxxxxxx------------------------
* on my DB server I am login using my administrator account, on my PC I dont have admin account.
* I have checked remote execution using local user as well as admin user.
* I have checked the permission and my local ID & EVERYONE has all permission in that folder.
Any help will be appriciated.
Thanks & Regards
AshishAshish wrote:
hi Atil,
u have guessed it correctly, I came to know that issue later I copy file on local PC and it works fine.
Now I am working on netbackup server. I want to use the same script to initiate backup from netbackup server. Do you have any idea or any guidelines from you will appriciate.
Thanks
AshishAshish,
Is it "symantec's netbackup"? I do not know that product and if it has an option to enter your own RMAN scripts. On the other hand, it should be able to create irman scripts according to your backup job definition.
Regards
Gokhan -
PRODUCTION DATABASE RMAN BACKUPS FAILING CONTINUOSLY DATABASE NOT AVAILABL
Database is up and running but am facing the problem in RMAN below are the details
[oracle@Oracle01 log]$ rman target /
Recovery Manager: Release 11.2.0.2.0 - Production on Fri Mar 30 02:35:31 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: LAGOPROD (DBID=3989619179)
RMAN> show all;
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of show command at 03/30/2012 02:35:39
ORA-03114: not connected to ORACLE
could you please help on it why its throughing on error
FYI
==
STATUS OPEN_MODE LOG_MODE LOGINS
OPEN READ WRITE ARCHIVELOG ALLOWED
Edited by: 924453 on Mar 30, 2012 1:43 AM924453 wrote:
Database is up and running but am facing the problem in RMAN below are the details
[oracle@Oracle01 log]$ rman target /
Recovery Manager: Release 11.2.0.2.0 - Production on Fri Mar 30 02:35:31 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: LAGOPROD (DBID=3989619179)
RMAN> show all;
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of show command at 03/30/2012 02:35:39
ORA-03114: not connected to ORACLE
could you please help on it why its throughing on error
FYI
==
STATUS OPEN_MODE LOG_MODE LOGINS
OPEN READ WRITE ARCHIVELOG ALLOWED
Edited by: 924453 on Mar 30, 2012 1:43 AMYou are not connected to oracle. show us the result of
export ORACLE_SID= sid
export ORACLE_HOME = your oracle home
export PATH=$PATH:$ORACLE_HOME/bin
sqlplus / as sysdba -
Cannot make rman backup - ORA-19501
Hello,
database and grid infrastuture 11.2.0.1 in Solaris X86
I am trying to make an rman backup of 2 databases located in ASM but when I try it I have the following error:
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/08/2011 15:38:04
ORA-19501: read error on file "+DG/prd.dbf", block number 28544 (block size=8192)
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
The alertlog of the database, when I run the rman has the following errors:
ORA-27063: number of bytes read/written is incorrect
WARNING: IO Failed. group:2 disk(number.incarnation):0.0xf0f2117f disk_path:/dev/rdsk/c5t60060480000290104585533031374538d0s6
AU:7063 disk_offset(bytes):7406092288 io_size:1048576 operation:Read type:asynchronous
result:I/O error process_id:14808
WARNING: failed to read mirror side 1 of virtual extent 139 logical extent 0 of file 273 in group [2.4251116087] from disk DG001 allocation unit 7063 reason error; if possible,will try another mirror side
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 139 logical extent 0 of file 273 in group 2 on disk 0 allocation unit 7063
My suspicious was problems with ASM but I have no errors in ASM. All disks are OK and the databases are working fine.
I runned dbverify against the database datafiles and no problems at all.
The problems seems like the Bug 9068033: RMAN BACKUP FAILED INTERMITTENT ORA-19501 ORA-2706, or bug 8510426 but I can't see any solution in metalink and this bug probably aplies to 10g and not 11g.
Can you please help me out?
Thank you.The errors look like problems in the I/O system, I don't think there's block corruption from Oracle's point of view. Nevertheless you may check which object owns block 28544 in datafile +DG/prd.dbf.
select file_id from dba_data_files
where file_name = '+DG/prd.dbf';
SELECT SEGMENT_NAME, SEGMENT_TYPE
FROM DBA_EXTENTS
WHERE FILE_ID = <file_id from above>
AND 28544 BETWEEN block_id AND block_id + blocks;
It may be the block belongs to nothing, but there's still a physical defect. I remember a problem where RMAN complained about a bad block, but no issues in the database business. The reason no object owned this block, so the database did never access it.
Werner -
RMAN backup is getting failed after oracle 11g upgarde (11.2.0.2)
Hi Basis Expert,
We have done oracle 11g ugrade (11.2.0.2) in our Dev BI system.
But after the upgrade the RMAN backup is failing. The backup use to work fine when we were on 10g (10.2.0.4).
Has anyone face this issue earlier.
Appreciate your help.
Regards,
Anil ShenoyHello Anil,
Syntax is -
ln -s /path/to/original/ /path/to/linkName
Output will be -
linkName --> original
In your case, 112_64 is the link name according to above SAP Note and 11202 is the original/physical path. So, the command should be -
ln -s /oracle/<DBSID>/11202 /oracle/<DBSID>/112_64
And the Result should be, 112_64 --> 11202 (in short)
So, I think you should change the existing link, 11202->112_64
Thanks -
RMAN backup in RAC failing with error ORA-19566
Hi all, i have 2 node RAC and i am trying to take rman backup of the database which is in ASM filesystem.
There is a corruption in SYSAUX file and rman is failing to take backup of the sysaux datafile and error thrown at the end like
piece handle=/home/oracle/orabackup/BLOOM_LVL0_20120627_1qnejueh_s58_p1 tag=TAG20120627T185538 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:56
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/27/2012 18:56:17
*ORA-19566: exceeded limit of 0 corrupt blocks for file +DATA/bloom/datafile/sysaux.257.775475317*
Then i tried to validate the backup in rman of the datafile sysaux nad fired the following query
SQL> SELECT * FROM v$database_block_corruption;
FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
3 32011 1 0 ALL ZERO
3 32049 40 0 ALL ZERO
3 32034 1 0 ALL ZERO
3 28964 1 1399837 LOGICAL
3 32015 2 0 ALL ZERO
and found all the blocks in the table WRH$_SQL_PLAN.
Then dropped the table, and tried to take backup of the database and it is failing again with the same error..
ANY SOLUTION TO TAKE BACKUP OF THE DATABASE.
anyhow we can SET MAXCORRUPT FOR DATAFILE 3 to value, but does this works all time...
Thanks in advance,
TEJASBoth are good suggestions, but
Osama-mustafa wrote:
RMAN> blockrecover datafile 5 block 2684; -- Fix Eror That ship has already sailed:
TEJAS_DBA wrote:
And Yes this is the first time i am taking backup on the database.And:
Osama-mustafa wrote:
Or Skip Option
Like
RMAN> RUN{
2> SET MAXCORRUPT FOR DATAFILE 1,3 to 1;
3> BACKUP DATABASE;
4> }The OP was aware of this option and hopefully was able to get at least some sort of a backup eventually. But as for the dropped WRH$_SQL_PLAN, TEJAS is, I will use the word "braver" than most. And as often is the case, Dan Morgan offered the only bit of sensible advise.
Open an SR.
Good luck. -
If RMAN incremental level-1 backup fails...
Hi there,
I have a question. If the RMAN incremental level-1 backup fails, will the next level-1 backup attempt take backup of all changes since last successful level-0 OR level-1 backup?
Best regardsHi,
I have a question. If the RMAN incremental level-1 backup fails, will the next level-1 backup attempt take backup of all changes since last successful level-0 OR level-1 backup?
Check the V$BACKUP_SET dictionary to confirm whether the last backup has been touched by data dictionary. If the failed incremental backup is picked up then the previous incremental backup will be required in case of the next DIFFERENTIAL INCREMENTAL LEVEL 1 backup.
But to be on safe side , it is recommended you take a LEVEL 01 CUMILATIVE INCREMENTAL backup from Level 0 till date. So that the recovery process can go through even if the previous backup is not valid.
Thanks &
Best Regards -
Use scripts to do level0 backup
scripts:
run {allocate channel c1 type disk;allocate channel c2 type disk;backup incremental level 0 tag 'level0' format='/backup/nissandb2backup/bkp_%T_%s_%p.dbf' databaseinclude current controlfile;release channel c1;release channel c2;}
Backup failed. Below is the log information:
Recovery Manager: Release 10.2.0.1.0 - Production on Mon Jul 2 23:30:09 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: PRIMARY0 (DBID=359019005)
using target database control file instead of recovery catalog
RMAN> run {
2> allocate channel c1 type disk;
3> allocate channel c2 type disk;
4> backup incremental level 0 tag 'level0' format='/backup/nissandb2backup/bkp_%T_%s_%p.dbf' database
5> include current controlfile;
6> release channel c1;
7> release channel c2;
8> }
9>
10>
allocated channel: c1
channel c1: sid=218 devtype=DISK
allocated channel: c2
channel c2: sid=279 devtype=DISK
Starting backup at 02-JUL-12
channel c1: starting incremental level 0 datafile backupset
channel c1: specifying datafile(s) in backupset
input datafile fno=00004 name=/database/oracle/oradata/PRIMARY0/datafile/o1_mf_users_7b1my5cr_.dbf
input datafile fno=00010 name=/oradata/primary0/datafile/data02.dbf
channel c1: starting piece 1 at 02-JUL-12
channel c2: starting incremental level 0 datafile backupset
channel c2: specifying datafile(s) in backupset
input datafile fno=00005 name=/database/oracle/oradata/PRIMARY0/datafile/o1_mf_users_7b1mykwz_.dbf
input datafile fno=00011 name=/oradata/primary0/datafile/data03.dbf
channel c2: starting piece 1 at 02-JUL-12
RMAN-03009: failure of backup command on c2 channel at 07/03/2012 00:11:10
ORA-19510: failed to set size of 3946992 blocks for file "/backup/nissandb2backup/bkp_20120627_1992_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
channel c2 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on c1 channel at 07/03/2012 01:54:26
ORA-19510: failed to set size of 3986777 blocks for file "/backup/nissandb2backup/bkp_20120627_1991_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
channel c1 disabled, job failed on it will be run on another channel
released channel: c1
released channel: c2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on c2 channel at 07/03/2012 00:11:10
ORA-19510: failed to set size of 3946992 blocks for file "/backup/nissandb2backup/bkp_20120627_1992_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
RMAN-03009: failure of backup command on c1 channel at 07/03/2012 01:54:26
ORA-19510: failed to set size of 3986777 blocks for file "/backup/nissandb2backup/bkp_20120627_1991_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
Recovery Manager complete.
Could you please help check the reason?Thank for your reply.
Yesterday I only modified the script.
Now the script is :
run {
allocate channel c1 type disk maxpiecesize 5120M;
allocate channel c2 type disk maxpiecesize 5120M;
backup incremental level 0 tag 'level0' format='/backup/nissandb2backup/bkp_%
T_%s_%p_%U' database
include current controlfile;
release channel c1;
release channel c2;
But still failed.The log is:
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jul 3 23:30:11 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: PRIMARY0 (DBID=359019005)
using target database control file instead of recovery catalog
RMAN> run {
2> allocate channel c1 type disk maxpiecesize 5120M;
3> allocate channel c2 type disk maxpiecesize 5120M;
4> backup incremental level 0 tag 'level0' format='/backup/nissandb2backup/bk
p_%T_%s_%p_%U' database
5> include current controlfile;
6> release channel c1;
7> release channel c2;
8> }
9>
10>
allocated channel: c1
channel c1: sid=250 devtype=DISK
allocated channel: c2
channel c2: sid=245 devtype=DISK
Starting backup at 03-JUL-12
channel c1: starting incremental level 0 datafile backupset
channel c1: specifying datafile(s) in backupset
input datafile fno=00004 name=/database/oracle/oradata/PRIMARY0/datafile/o1_m
f_users_7b1my5cr_.dbf
input datafile fno=00010 name=/oradata/primary0/datafile/data02.dbf
channel c1: starting piece 1 at 03-JUL-12
channel c2: starting incremental level 0 datafile backupset
channel c2: specifying datafile(s) in backupset
input datafile fno=00005 name=/database/oracle/oradata/PRIMARY0/datafile/o1_m
f_users_7b1mykwz_.dbf
input datafile fno=00011 name=/oradata/primary0/datafile/data03.dbf
channel c2: starting piece 1 at 03-JUL-12
RMAN-03009: failure of backup command on c2 channel at 07/04/2012 07:36:34
ORA-19510: failed to set size of 3946992 blocks for file "/backup/nissandb2ba
ckup/bkp_20120628_1994_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
channel c2 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on c1 channel at 07/04/2012 08:47:20
ORA-19510: failed to set size of 3986905 blocks for file "/backup/nissandb2ba
ckup/bkp_20120628_1993_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
channel c1 disabled, job failed on it will be run on another channel
released channel: c1
released channel: c2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on c2 channel at 07/04/2012 07:36:34
ORA-19510: failed to set size of 3946992 blocks for file "/backup/nissandb2ba
ckup/bkp_20120628_1994_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
RMAN-03009: failure of backup command on c1 channel at 07/04/2012 08:47:20
ORA-19510: failed to set size of 3986905 blocks for file "/backup/nissandb2ba
ckup/bkp_20120628_1993_1.dbf" (blocksize=8192)
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9
Recovery Manager complete.
Now I modify the rman parameter:
CONFIGURE MAXSETSIZE TO UNLIMITED; --> CONFIGURE MAXSETSIZE TO 5G;
Any other things, I need to check or modify? Please help.
Maybe you are looking for
-
I have created one user exit for transaction CO02 .We acn navigate on different screens . My user exit works when you click on save button . But now problem is when you click on save button of on different screen first time it wont work . But if you
-
I have a strange phenomenon with the user profile picture (avatar). Via System Preferences/Users&Groups, I select another image as avatar. This image is updated correctly and I can also see it on e.g. the login screen. After some time; mostly after t
-
SQL-Developer 2.1.1.64: XML Extensions Wont Work Anymore
Hello, since version 1.5.* we use the following xml extension to add a "error" - tab to all nodes in the treeview and it works fine. But since version 2.1.* only the tabs with <item type="editor" node="<nameofnode>" vertical="true"> are shown. I thin
-
hi, when user enters the any fieldname from MARC table related , the only that field descrption should come in WE variable in selection screen. if no field existing in MARC , then error message will come.. can somebody give the logic. selection-scree
-
How to display korean letters in iTunes?
I am using Chinese Traditional iTunes , but seems that korean letters arent displaying correctly in every songs (eg song names, singers, etc) It displays a Square, --> 口 , instead of a korean letter. i tried change the ID3Tags but it doesnt help any.