Error in recovery after BACKUP DATABASE PLUS ARCHIVELOG

Hi,
With Oracle 9.2.0.6 on Unix Aix 5, I made:
rman ...
RUN
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/base/tempora/%U';
BACKUP DATABASE PLUS ARCHIVELOG;
Copy files from /base/tempora/% to another server in a directory with the same name.
Recreate the pfile and directory structure, and then
rman...
RUN
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/base/tempora/%U';
restore controlfile to '/base/rcterefo/oracle/o1_mf_19xw2mvb_.ctl';
restore controlfile from '/base/rcterefo/oracle/o1_mf_19xw2mvb_.ctl';
sql 'alter database mount';
restore database;
recover database;
sql 'alter database open resetlogs';
release channel disk1;
But rman fails at -> recover database; by asking an archive log 6 months old (and not in the backupset):
ORA-00279: change 1224563589 generated at 02/09/2006 16:29:46 needed for thread
1
ORA-00289: suggestion : /base/.../arch/arch0000001819.arc
ORA-00280: change 1224563589 for thread 1 is in sequence #1819
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log '/base/.../arch/arch0000001819.arc'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Original base seems to works fine (can be stoped and restarted).
I thought that this BACKUP DATABASE PLUS ARCHIVELOG would contain in itself all the data needed to restart the database. Database has been stopped and restarted last week with no problem and I regularly do full backup with RMAN and TSM (we are testing now backups without TSM for a spacial case).
Has someone an idea of what's wrong?
Thanks

Hi,
Thanks for taking care of my problem.
When I try to do a set until sequence..., the RESTORE CONTROLFILE fails, telling it has nothing to restore. I think this is the same kind of problem I encounter with the full restore.
Aniway, the restore being good, i try to finish the recover and it fails, asking for a very old archive. Is it possible a transaction to be active after so much time?
In fact, I just decovered a file is in RECOVER status. I did an :
alter database datafile '...' offline drop;
since that, the recover is ok, from oracle (not rman):
recover database using backup controlfile until cancel;
Thanks again to everyone.
Regards.

Similar Messages

  • Should I keep media after "BACKUP DATABASE PLUS ARCHIVELOG"?

    Hi there,
    If I do full backup like this ...
    BACKUP DATABASE PLUS ARCHIVELOG
    ... do I have to keep copy of media (database files)? I am under impression that as long as my recovery window falls between "BACKUP DATABASE PLUS ARCHIVELOG" and NOW ... I don't have to keep media files.
    Am I right or wrong?
    Thanks to all answers!

    Sure..if you don't need to restore back to one of the previous backups, then they are no longer needed.
    Configuring a retention policy will handle this maintenance for you automatically.
    However, some people will keep them around as a fall back if something should happen to their most recent backup. It depends on your paranoia level and amount of disk/tape space that you have.

  • Backup database plus archivelog

    Hi
    I am using 10.2.0.3. What is the difference between "backup database plus archivelog" and "backup database"?
    I deleted the archive logs after disabling the archive log option. How to fix the below problem? thank you
    When I do backup database plus archivelog;
    ORACLE error from target database:
    ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=869 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=434 devtype=DISK
    archived log /export/home/oracle/archivelog/2008_06_23/o1_mf_1_82_45ymxtqd_.arc not found or out of sync with catalog
    trying alternate file for archivelog thread 1, sequence 82
    archived log /export/home/oracle/archivelog/2008_06_23/o1_mf_1_83_45ymxwcs_.arc not found or out of sync with catalog
    trying alternate file for archivelog thread 1, sequence 83
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 02/16/2009 11:48:41
    RMAN-06059: expected archived log not found, lost of archived log compromises re
    coverability
    ORA-19625: error identifying file /export/home/oracle/archivelog/2008_06_23/o1_mf_1_84_45ymxxyf_.arc
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 2: No such file or directory
    Additional information: 3

    Even if you've switched your database to NOARCHIVELOG mode, the ArchiveLogs that were generated earlier are still "known" as they are still cataloged in the control file (a query on V$ARCHIVED_LOG would show them).
    As you are running NOARCHIVELOG, you really do not need to do BACKUP DATABASE PLUS ARCHIVELOG;
    Your backup would be in MOUNT but not OPEN state so there would be no transactions.
    If you really want to "clear" those older archivelogs so that RMAN doesn't attempt to backup them, you need to run these commands in RMAN :
    Crosscheck Archivelog All;
    Delete Expired ArchiveLog All;The first command will verify the controlfile records against the files actually present on disk and mark as "Expired" all those they do not exist on disk. The second command will "delete" them in that RMAN will no longer look for them.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • 1st RMAN backup database plus archivelog fails

    Hi
    I've just setup RMAN on Oracle 11g within a two node cluster environment.
    I have completed the following:
    * Created a recovery catalog
    * Registed Database
    * Configured retention policy window of 7 days
    * Configured default device type to disk
    * configured controlfile autobackup on;
    * configured device type disk backup type to compressed backupset
    * configured channel device type disk format
    * validated database
    * backup database plus archivelog and I received the following error,
    RMAN> backup database plus archivelog;
    Starting backup at 24/07/2008 17:37:17
    current log archived
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 07/24/2008 17:37:20
    RMAN-06059: expected archived log not found, lost of archived log compromises re coverability
    ORA-19625: error identifying file /u01/app/product/admin/RAC/arc/rac2_2_4_660689 305.arc
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    On node 2 I can list the file:
    SQL> !ls -lt
    total 4120
    -rw-rw---- 1 rac dba 14336 Jul 24 17:18 rac2_2_5_660689305.arc
    -rw-rw---- 1 rac dba 4196352 Jul 24 17:13 rac2_2_4_660689305.arc
    SQL>

    Read the chapter
    http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/rman.htm#i474611
    The node that is doing backups must be configured to have access to archivelogs on all the nodes.
    See "RMAN Archiving Configuration Scenarios" -> "Noncluster File System Local Archiving Scheme".

  • I can't backup database plus archivelog

    Hi.
    I lost few previous archivelogs, and can't run "backup database plus archivelog;".
    That's what I got from rman:
    RMAN> backup database plus archivelog;
    Starting backup at 12-APR-09
    current log archived
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 04/12/2009 13:06:14
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: error identifying file /u01/app/oracle/backup/ORCL/archivelog/2008_08_04/o1_mf_1_11_49f37bn1_.arc
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    How to fix it ?
    Hi
    Run commands:
    RMAN> CROSSCHECK ARCHIVELOG ALL;
    RMAN> DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
    And then "backup database plus archivelog;"
    Edited by: val75 on Apr 12, 2009 11:31 AM

    After deleting expired archivelogs, backup is working fine...
    RMAN>delete noprompt expired archivelog all;
    RMAN>crosscheck archivelog all;
    RMAN>backup database plus archivelog;
    Actually, what is doing while issuing "crosscheck archivelog all" command????
    thanks

  • Newbie.. is 'backup database plus archivelog...' needed?

    On my Oracle 11.1, I'm performing full backup with command:
    backup incremental level 0 database plus archivelog delete input tag LEVEL_0_INC;Since this database is not in flashback mode, I'm wondering is it needed to backup archivelogs together with datafiles?
    could I done it without achivelogs and to delete them after that?
    regards

    799165 wrote:
    On my Oracle 11.1, I'm performing full backup with command:
    backup incremental level 0 database plus archivelog delete input tag LEVEL_0_INC;Since this database is not in flashback mode, I'm wondering is it needed to backup archivelogs together with datafiles?
    could I done it without achivelogs and to delete them after that?
    regardsYou need to have archived redo log files with your backup in order to perform a complete recovery

  • Javascript error in BEx after system database copy

    Hello,
    we made a database copy of our BW 3.1 system on another hardware. After having done everything described in the How-To-Guide "Enable SAP BW Web functionality", we called the BEx via URL. The login screen displays and also the Report menu, but there occur JavaScript errors on the page, that didn't occur in the copy master. E.g.
    "SAPBWSSgdo is null or not an object" or
    "SAPBWItemCatalog undefined".
    These errors prevent the choice menu for BW report value options to be displayed, which is quite annoying. Does anybody know where the error might come from? Are there any components required by BEx which weren't copied with the database copy?
    Thanks for your help in advance,
    Volker Hofmann

    Hi Beat,
    thanks you're helping me! The MIME-Repository objects like JS-Files, stylesheets and images can be read. The strange thing is:
    The J2EE engine is hosted by a provider. When they're calling the BEx web reports, they're displayed correctly. But when we call them (via proxy!), the error occurs. Even the application management doesn't know where the error comes from, after having checked if the proxy caches old data. The error is still not resolved...
    Do you have another idea?
    Regards,
    Volker

  • Why Backup database then backup archivelog from time...

    Dear Experts,
    I found in one of our rman scripts the 2 following statements:
    backup database;
    backup archivelog from time 'SYSDATE -8';
    It seems to me that a "backup database plus archivelog;" is more simple/accurate instead of these 2 lines as the retention windows is defined (5 days) for this DB so rman will manage the retention of datafiles and archived log, isn't it ?
    Why this separate statement for the archivelog ? I find it redondant but is it...
    Any advice is as usual greatly appreciated.
    Best Regards,
    Guillaume

    You are right. The use of backup database plus archivelog; is much better and you are sure that you backup all archived log you need.
    Probably that is an old script, previous version or the responsable of this script didn't know RMAN so good and the option you posted.
    Bye, Aron

  • 10g rman database and archivelogs backup with multipled archlog destination

    I would like to use the 10g database and archivelogs backup statetement
    backup database plus archivelog;
    I would like to restrict the location of the archivelogs backed out as I am multiplexing the
    archivelogs
    I did not find a LIKE statement and the backup database plus archivelog
    Did i miss something
    patrick boulay

    I meant backup
    I just want to restrict rman form backing up the two location using the 'one shot' 10g syntax
    I used to backup using two steps
    1) datafile
    2) archlogs with a LIKE expression to tell Rman where to find the archlogs
    1+2 with autobackup of control+spfile
    the 'backup database plus archivelog ' syntax does accept a 'LIKE' expression
    patrick

  • Backing up Database plus 48 hour achivelog

    Hi!
    I wanna create a script to backup all database files and archivelog with less than 48h (not interesting if they where previously backed up or not).
    I am trying to run the folowing statement:
    backup database plus archivelog from time 'SYSDATE-2' format 'E:\tmp\backup_%d_%u_%s';
    But got the message:
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "time": expecting one of: "tag"
    RMAN-01007: at line 5 column 17 file: e:\tmp\backupbanco.rman
    If i try the follow it works fine:
    backup archivelog from time 'SYSDATE-2' format 'E:\tmp\backup_%d_%u_%s';
    I think there is a stupid syntax error but i can't figure it out.
    Can anyone give me a light?
    Thx in advance!

    OH no... Bad news! :(
    Is there any alternative? It seems that:
    backup database plus archivelog NOT BACKED UP SINCE TIME 'SYSDATE-2' format 'E:\tmp\database_%d_%u_%s';
    Work runs ok but on the second day it will not back up again the data from previuos day...
    Edited by: user9087711 on 16/07/2010 11:26

  • Is a Level 0 Incremental the same as Backup Database?

    hi experts,
    This is a 10g database running in archivelog mode.
    This is the backup scheme I'm currently using:
    backup database plus archivelog; (runs once per day)
    backup incremental level 1 database; this runs every 3 hours
    (All the incrementals I make are level 1.)
    In another forum, I was advised to make a level 0 incremental backup, because you cannot restore a level 1 if there was no level 0 made earlier. Now, I'm looking for the RMAN expert's advice :-)
    ** If I do this will I have what I need to be able to restore: **
    - backup incremental level 0 database; (this will run once per day)
    - backup incremental level 1 database; (this will run every 3 hours
    In other words, will I miss anything if I dont do a backup database ?
    Thanks, John

    If you taking level 1 backup and If you dont have any level 0 then RMAN take hole database backup (level 0) with level 1 command.
    It is always advisible to take level 0 and follow the level 1.
    I advise to see the below doc which covers all your doubts and best way to backup.
    Hope this solves your issue.
    http://www.mcs.csueastbay.edu/support/oracle/doc/10.2/backup.102/b14192/bkup004.htm
    Regards
    Satishbabu Gunukula
    Click here to improve[ RMAN backup Performance |http://oracleracexpert.blogspot.com/2009/09/block-change-tracking-in-oracle-10g.html]

  • While taking  backup  database

    HI guys
    while i was taking backup database plus archived . i faced missing archived log .
    please provide solution .
    Thanks and regards

    Osama_mustafa wrote:
    906313 wrote:
    HI all ,
    i allocated channel and crosscheck archivelog all;
    rman>show all ;
    configure channel 1 device type disk format '/d01/backup/db.%U';
    run
    crosscheck archivelog all;
    backup database plus archivelog;
    Thanks and Regardsalso you can use this
    run {
    ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/u01/%U';
    crosscheck archivelog all;there are many ways to allocate channels, but none of them address the fact that the OP reports a missing archivelog.

  • Backup Assistant Plus error won't go away.

    Hello, 
    After Backup Assistant Plus was pushed to my phone i keep getting an application error:
    Is there a way to disable Backup+ since i will probably never use it. 
    This is on a Samsung Stratosphere device.
    Thanks,

        Hi NickM219,
    Application errors are no good! I know its important to have a properly working phone at all times. Let's get this resolved. If you are not going to use this great feature, you can remove it via MyVerizon http://bit.ly/xB4iTc . Sign in>Click " " sign next to I want to>Plan>Change features>Remove Backup assistant plus> save changes. The device will no longer prompt you to use this application, however the app icon will remain on the device. Keep me posted.
    Thanks,
    Pamelaf_vzw
    Tweet us @vzwsupport 

  • Backup Database Task - User Permissions

    Hi
    I am currently implementing an SSIS package to cater for the backup of our database system.  I am using a Back Up Database Task connecting to the database using SQL Authentication.  This login has public server rights and db_backupoperator database
    role rights.
    Having tested the package, it seems to fail on the backup task because of the following error:
    [Execute SQL Task] Error: Executing the query "BACKUP DATABASE [CAAP] TO  DISK = N'R:\CAAP_Backup..." failed with the following error: "Only users who are members of the following roles can perform this operation: sysadmin fixed server
    role; dbowner or dbcreator fixed database role in the current database.
    Only users who are members of the following roles can perform this operation: sysadmin fixed server role; dbowner or dbcreator fixed database role in the current database.
    Why does it need dbOwner/dbCreator/sysadmin rights to execute a simple backup?  Isn't this the point of the dbBackupOperator role?
    Thanks.

    Hi divvyboy,
    I am unable to reproduce the issue in my test environment. The backup script works well in an Execute SQL Task which uses the ADO .NET Connection Manager created by a Back Up Database Task using SQL Server authentication type. Only the Public and db_backupoperator
    database roles is okay.
    According to the screenshots, the error was thrown by the Execute SQL Task actually. Since the package also contains a Back Up Database Task, there is no need to perform the backup operation from the Execute SQL Task. You can test whether the Back Up Database
    Task which doesn’t need us to input a backup script can perform the database backup correctly. If the Back Up Database Task works well, you can remove the Execute SQL Task and go with the Back Up Database Task.
    Regards,
    Mike Yin
    TechNet Community Support

  • What difference do adding 'Plus Archivelogs' make to an open database backup

    Hi,
    Does adding the 'plus archivelogs' command to RMAN>backup database;
    make any difference to the backup when the database is open ?
    If the database is open, then RMAN>backup database; is having to include the archivelogs anyway to ensure the backupset pieces will have a consistent SCN and are not fuzzy.
    So it seems to my mind that RMAN>backup database;
    effectively implicitly adds 'plus archivelogs' anyway
    Any clarity greatly appreciated,
    Jimbo

    Hi Jim,
    As far as I understand , its not a compulsion to take archive log backups  ( though highly recommended).
    You may run into a situation where you just need the DB backup and while recovery you could use the archives already present without taking the rman backup.
    For example in case of creating a DR standby database , you can use the rman backup from prod , ship it to the BCP location and thn simply restore using a standby controlfile. Post that start RFS process and it will bring the archives on its own.
    regards
    KK

Maybe you are looking for