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

Similar Messages

  • 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

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

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

  • 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

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

  • 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

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

  • 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

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

  • RMAN backups in parallel, %U needed as filename ?

    Hi all,
    Oracle 10gR2
    Flash recovery area is used for backups with RMAN.
    I'd like to improve the speed of the backups.
    I take full backups every night of the databases.
    I'd like to use parallelism, let's say 2.
    My questions is: do I have to use %U in the name of backups? So that two files are used during the backup (the same when using expdp), or it's not needed?
    My scripts are like this:
    backup as compressed backupset database plus archivelog;
    And backups are done in the FRA, I don't specify either name or location, because FRA is used.
    If I add the following;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    Do I have to change anything else?
    Or I have to add %U to the name of the backup file(s)?
    Thanks in advance,
    Edited by: Diego on 14-nov-2011 9:12

    Hi LKBrwn,
    Thanks for your answer.
    Where should the %U be placed?
    I don't use "FORMAT", since I use FRA, RMAN automatically creates a directory the date and puts the backup there.
    I.E.
    /mnt/backup/EMPRE/backupset/2011_11_14/o1_mf_nnndf_TAG20111114T161916_7d2tfqoj_.bkp is the last backup of a database
    Regards,

  • 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

  • Why we need oracle database reboot to put database in  archivelog mode?

    I know how to enable archivelog mode, but what is the reason that to enable archive log we need database restart. which process forces to do that.

    SantoshGanjure wrote:
    Thanks a lot EdStevens for ur prompt response...I need something that satisfies my managers query.
    If the question has originated with the PHB, then my flippant answer is even more relevant ...
    PHB's are incapable of understanding the technical details, so I prefer to give them the 'executive summary':
    "Because that's the way Oracle is written.  We can argue over the technical merits of such a requirement 'till the cows come home.  But at the end of the day, we have to shut down the database because the 'alter database archivelog' command will only succeed when the database is in mount (not open) mode.  Now, let's work out how we can achieve our objective of putting the database in archivelog mode with minimal and appropriately scheduled down time."
    As for the actual down time, it's about as minimal as you can get.  How long does it take your database to complete a shutdown once the command is given?  How long does it take you to type "startup mount"?  How long does it take you to type "alter database archivelog"?  to type "alter database open;"?  For the database to complete the 'open' process?  You could even script it so as to eliminate the keyboard typing time.

Maybe you are looking for

  • Item category related to Quotation, Statistical value field

    Hi All, IN my Project, Item category Y003 which is used in creation of Quotions, for which Statistical value is 'X' which means "No cumulation - Values can not be used Statistically". My requirement is I need to change this filed value to 'Y' which m

  • Tecra A10-14Q: 3G modem with UMTS don't work with Vista 64bit

    Hello, after Vista 64 bit drivers have been made available, I switched the installed hard disk and did a clean install of Vista Business, along with the drivers that Toshiba posted. Everything is fine, except that the Wireless Manager accepts the SIM

  • How to Validate the Domain for a given email id. Is a valid or invalid

    Hello Frndz, I am trying to validate the domain of a given email as a valid or invalid using the below SQL Block. But the values are hard coded into it. Please suggest me some way to validate the email id Domain dynamically, so that it can be identif

  • ISE 1.2 NAC solution for 12500 Persona Deployment

    i have a deployment sceniro for  NAC solution ( ISE ) must support 12500 users and must provide the ability to implement security policies onendpoints before they connect so should i order ISE-3395 with ISE -3315 or its not a workable solution please

  • Communication channels restart

    Hi, Is there any way that we can start communication channels automatically. I mean any way to schedule the restart of channels.