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

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.

  • 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

  • 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.

  • 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".

  • 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

  • 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.

  • 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

  • Does it necessary to put the "plus archivelog" in incremental backup?

    Hi
    Because RMAN is using the archivelog to create the incremental backup , does it necessary to put the "plus archivelog" in backup command?

    VahidS wrote:
    Hi
    Because RMAN is using the archivelog to create the incremental backup , does it necessary to put the "plus archivelog" in backup command?
    Please cite the documentation that says rman is using the archivelog to create the incremental backup.
    Lacking documentation, please post a proof example.In your personal sandbox database, do the following:
    1 - delete any existing archivelogs
    2 - take a level 0 incremental backup
    3 - generate a few archivelogs
    4 - delete the generated archivelogs manually, using and os command
    5 - take a level 1 incremental backup

  • Error while run rman backu plus archivelog to tape

    hi all,
    am trying to run rman backup plus archivelog TO tape disk
    my rman configuration settings are as seen below
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/dev/nst0/%u';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/Ora10R2/Orahome/dbs/snapcf_dse.f
    '; # default
    get the following error when i do this,
    RMAN-03009: failure of backup command on C3 channel at 01/03/2013 11:33:45
    ORA-00600: internal error code, arguments: [ksfdfetch1], [], [], [], [], [], [],
    Can any one tell why am getting this error?
    Thanks

    Hi,
    ora-600s are very strange errors, and most times difficult to understand.
    there are however some useful notes.
    ORA-600/ORA-7445/ORA-700 Error Look-up Tool          [Article ID 153788.1]
    Master Note for Diagnosing ORA-600          [Article ID 1092832.1]
    besides that, you could inform us of the platform, OS, DB version that you are using.
    br,
    jpinela.

  • Can't backup database in NOarchivelog mode

    Hi there,
    I get this error when I run this command from rman:
    backup database
    Starting backup at 19-JAN-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/19/2011 17:18:10
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    please help.
    Thanks in advance!

    user13286861 wrote:
    ok it finally shutdown cleanly.
    I altered it in archivelog mode.
    Now I can run a backup database command from rman?What does it cost to try it and see? What would be the worst thing that could possibly happen? An error message saying you can't do that?
    And please note, this forum is not a chat line. Operators are NOT standing by. Posting a new message every two minutes to give an update on the fact that the database hasn't shut down yet is not necessary and not productive.
    If there are a lot of pending transactions when you issue SHUTDOWN IMMEDIATE, they will all have to be rolled back as part of the shutdown. That can take some time. And if you bypass that with SHUTDOWN ABORT, they will have to be rolled back as part of instance crash recovery on the next startup, which will also take some time. Five minutes may feel like an eternity when you are sitting there waiting for your command to complete, but is no reason to panic.

Maybe you are looking for