RMAN - Is it possible to run Archivelog Backup while Full backup is running

Hi,
Our full database backups runs daily in the night. It fails whenever an archivelog backup kicks off. This happens on our big databases where backups run for long hours and we have to run the archivelog backup to backup/delete the archivelogs to maintain the archivelog destinations.
Is there any way to run these 2 backups in parallel without both failing. We use RMAN catalog to take backups, and we get errors when resyncing of catalog happens during backup.
We get these errors:-
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03008: error while performing automatic resync of recovery catalog
RMAN-20033: control file sequence# too low
and sometimes
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03008: error while performing automatic resync of recovery catalog
ORA-00230: operation disallowed: snapshot control file enqueue unavailable
Our archivelog destinations are not big enough to hold more than 1 days of logs and we have backups that runs for 30 hours. We have to backup and delete the archivelogs in between, while the full backup is running and right now its failing with able errors. Is there any solution or workaround I can opt for in this scenario.
Any help is Highly appreciated. Thanks in advance for the Help.
Thanks,
Vish

Your primary issue is SPACE. Allocate sufficient space to keep at a MINIMUM 4 days worth of archivelogs ONLINE.
Use multiple channels
you will need to test your system to see where you get optimal throughput.
Use compression
you will need to test your system to see where you get optimal throughput.
Use disk-disk backups (and sweep to tape later)...
If RAC, 11gR2 - consider ACFS (stored in ASM as well as OS accessible).
Anything less and you could be issuing the command "alter dba update resume".
Database management is not something that should be approached lightly... If you don't have the resources - maybe you need to trim the data or if the business requires that data volume, then the business needs to allocate sufficient resources to stay in business. Catastrophic database failures and the businesses ignorance on the importance of their data is a huge contributor business failures. At one point (not sure of the latest figures) if a business suffered such a data loss, they rarely stayed in business for more than a year.
Storage is MUCH cheaper and the proper configuration and allocation of those resources than a company failure.
onedbguru, CISSP.

Similar Messages

  • Does time machine do incrementals backups or full backups each time?

    does time machine do incremental backups or full backups each time? in other words, is it only backing up changes or everything that itis told to backup?

    +is it only backing up changes or everything that it is told to backup?+
    Time Machine makes physical copies of new and changed files for each backup but it just establishes hard links to files previously backed up that still exist on the source rather than making new copies of them.
    This Ars Technica article explains how the hard links work.
    http://arstechnica.com/reviews/os/mac-os-x-10-5.ars/14

  • Is it possible to restore database from a full backup without controlfile?

    Hi,
    I have done a full backup for the database oracle 11g using:
    run{
    allocate channel c1 type disk;
    set limit channel c1 kbytes 102400;
    sql 'alter system archive log current';
    backup full tag 'dbfull' format 'd:\dbbackup\f_%d_%u_%s_%p_%t' database include current controlfile;
    backup archivelog all delete input format 'd:\dbbackup\al__%d_%u_%s_%p_%t';
    release channel c1;
    but, I deleted all the datafiles include all control files.
    Is it possible to restore the database?
    Is there a way to restore the control file from the backup files?

    Thanks Werner!
    I finally find the correct backuppiece for the controlfile.
    D:\dbbackup
    2010-03-19 18:41 <DIR> .
    2010-03-19 18:41 <DIR> ..
    2010-03-19 18:41 5,711,872 AL__ORCL_04L8VSN6_4_1_714076902
    2010-03-19 18:41 104,857,600 F_ORCL_02L8VSJ0_2_10_714076768
    2010-03-19 18:41 104,857,600 F_ORCL_02L8VSJ0_2_11_714076768
    2010-03-19 18:41 104,857,600 F_ORCL_02L8VSJ0_2_12_714076768
    2010-03-19 18:41 24,535,040 F_ORCL_02L8VSJ0_2_13_714076768
    2010-03-19 18:39 104,857,600 F_ORCL_02L8VSJ0_2_1_714076768
    2010-03-19 18:39 104,857,600 F_ORCL_02L8VSJ0_2_2_714076768
    2010-03-19 18:40 104,857,600 F_ORCL_02L8VSJ0_2_3_714076768
    2010-03-19 18:40 104,857,600 F_ORCL_02L8VSJ0_2_4_714076768
    2010-03-19 18:40 104,857,600 F_ORCL_02L8VSJ0_2_5_714076768
    2010-03-19 18:40 104,857,600 F_ORCL_02L8VSJ0_2_6_714076768
    2010-03-19 18:40 104,857,600 F_ORCL_02L8VSJ0_2_7_714076768
    2010-03-19 18:40 104,857,600 F_ORCL_02L8VSJ0_2_8_714076768
    2010-03-19 18:40 104,857,600 F_ORCL_02L8VSJ0_2_9_714076768
    2010-03-19 18:41 9,830,400 F_ORCL_03L8VSMP_3_1_714076889 ---->the controlfile backup piece.the file name contains '03' instead of '02'(datafile).
    After run 'start nomount', I restore the controlfiles using 'restore controlfile from 'd:\dbbackup\F_ORCL_03L8VSMP_3_1_714076889';
    The key point is to find the right backup file piece for the control file.

  • RMAN Incremental Lvl 0 backup vs Full Backup

    Hi all professionals,
    If my RMAN backup script did not specify the incremental backup strategy, what is the default strategy it would adopt?
    say for example: backup as compressed backup set database plus archive log delete input;
    Will it use full backup or lvl 0 incremental backup?
    There is a RMAN script (similar with the above) running as scheduled job daily and I will also use backup exec to backup the database to tape (manually scheduled to run for each time but not daily) at the same time.
    Will the scheduled daily rman script backup affect the scn of the backup using backup exec so that it could not be restore the tape backup using backup exec to a testing db as usual?
    (checked that backup exec also use rman script to backup but it uses incremental lvl 0)
    Welcome your professional comments and sharing.
    Thanks,
    Calvin
    Edited by: Calvin CS Ng on Aug 8, 2010 9:29 PM

    backup as compressed backup set database plus archive log delete input;
    Will it use full backup or lvl 0 incremental backup?
    It will be a full backup.
    There is a RMAN script (similar with the above) running as scheduled job daily and I will also use backup exec to backup the database to tape (manually scheduled to run for each time but not daily) at the same time.
    Will the scheduled daily rman script backup affect the scn of the backup using backup exec so that it could not be restore the tape backup using backup exec to a testing db as usual?There should be no impact on restore/recovery.
    Doc http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1011483 says:
    >
    The only difference between a level 0 incremental backup and a full backup is that a full backup is never included in an incremental strategy.

  • How to restore using increment backup after full backup restore in RMAN?

    Hi All,
    We have a files of full backup of database after turning on the Archive log.
    And after that, daily incremental backup is taken.
    Now, i want to restore the the database into a new machine using both files of full and incremental backups. Can anybody give me script for restore of full backup and after that restore of incremental backup?
    Thanks,
    Praveen.

    Praveen,
    >>
    In my case, i have 2 sets of backups. One is full backup and other is incremental backup. In order to keep the restored database upto date, i need to restore the full backup and then restore incremental backup. Now, i got any idea how to restore using full backup. My doubt is how to update the restored database with incremental backup also?
    >>
    Restore always looks for level 0 backup, not the incremental backups.
    Incremental backups comes in picture during recovery.
    During Recovery, Oracle looks for incremental backups, if exists, it will do the recovery with the incremental backups, if no incremental backups available, then, it will look for archived logs.
    Therefore, incremental backups never used during restore, they are used only during the recovery.
    Jaffar

  • Whole backup vs Full Backup

    Dear Gurus,
    Please let me know about whole backup vs Fullbackup.
    As per my knowledge,
    1. Whole Backup can be used with incremental backup plan, because it is not cataloged.
    2. Fullbackup will be used with incremental backup because it is cataloged.
    But, Now my question is that
    Will we restore whole backup and rollforward remaining redo logs?
    Will we restore full backup and rollforward remaining redo logs?
    Or Both ?
    Regards
    Dharmendra

    Hi Eric,
    thank you very much for your response.
    So it is imposible to implement the back up strategy with incremental back up without applying RMAN, right?
    Then I should set up my strategy as follows:
    - daily whole database backup
    - daily two times redo log backup
    How difficult it is to set up RMAN in order to use incremental back up?
    Many thank's
    Regards
    Thom

  • 2nd backup always full backup

    Hi:
    I'm setting up time machine to work on a USB drive attached to an airport extreme.
    Just reformatted the drive to GUID and took the apostrophes and periods out of my network name.
    Things work but there is one problem: the second backup is always a full backup. Ie it backs up 90 gigs, then the second backup is again a 90gig backup.
    After that it works fine.
    For my first backup I'm plugging the drive in directly through USB, then I go and plug it in through the airport extreme, then when it starts to do a full 90 gig backup for the second backup I cancel, unplug the drive, plug it back in through USB and let it finish the second backup.
    After that things work normally but I'm concerned because there's an extra 90 gig on my disk=my disk will get full quickly. I'm using a 500gig disk to backup two macbooks with about 90gig a piece on them currently.
    From console the only thing that looks out of place is:
    25/03/08 2:27:45 PM /System/Library/CoreServices/backupd[2925] Event store UUIDs don't match for volume: Gojira
    Should I be concerned? Am I doing something wrong here?

    Short answer, yes. Both computers backed up for the second time as if it were an initial backup.
    However that was before I reformatted the hard drive -- it wasn't GUID.
    Sorry, that's confusing. Here's what happened:
    1. Plugged in macbook. Did full backup.
    2. Second backup on macbook: did full backup again.
    3. From then on with macbook: normal backups.
    4. Plugged in macbook pro, did full backup.
    5. Second backup on macbook pro did full backup.
    6. From then on macbook pro backedup normally.
    7. Realized I needed to reformat the drive to GUID. Refmoratted.
    8. Did first backup with macbook pro. Did full backup.
    9. Did second backup with macbook pro... doing full backup. I'm mid-backup right now.
    For my initial backup on the macbook pro, console reported 465.29GB available. For the second backup 379.48GB available. Currently in the finder -- I am mid-second backup -- it reads 301GB available. So it seems like it's copying everything on my computer twice...
    - P

  • Diffrent name for backuppiece archivelog and full backup

    Hi,
    Is it possible to set in RMAN diffrent name for archivelog backup and full backup?
    I need to recognize file in os like.
    archivelog backup in backuppiece ... arch_%U
    full backup in backuppiece ... full_%U
    Tx & reg
    Tom
    http://oracledba.cz

    Hi Soli!
    You may use the code from the following example to solve your problem:
    <pre>
    RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE disk FORMAT '/u01/backups/datafiles_%U.bkp';
    ALLOCATE CHANNEL ch2 DEVICE TYPE disk FORMAT '/u02/backups/controlfile_%U.bkp';
    ALLOCATE CHANNEL ch3 DEVICE TYPE disk FORMAT '/u03/backups/archivlog_%U.bkp';
    BACKUP
    (DATAFILE 1,2,3,4 # channel ch1 backs up datafiles
    CHANNEL ch1)
    (CONTROLFILECOPY '/oracle/copy/cf.f'
    CHANNEL ch2) # channel ch2 backs up control file copy
    (ARCHIVELOG FROM TIME 'SYSDATE-14'
    CHANNEL ch3); # channel ch3 backs up archived redo logs
    Hope that helps!
    yours sincerely

  • Enable archivelog mode while datbase is open

    Hi everybody
    Kindly I need to ask if possible to enable archivelog mode while database in open status for oracle 11g? and if yes .. what is the statment?
    Thanks in advance
    Edited by: user11254543 on Jun 8, 2011 11:51 PM

    You cant enable the archivelog mode when the database is in nomount state because the archive log information is kept in Control file like db in archivelog mode or not,log sequence number,SCNs,logfiles members,etc.. When we start the database in nomount state then only the pfile/spfile is read and sga is allocated and background processes are started but no controlfile is read ..to read the controlfile the database must be started in mount state..Why we require a controlfile is because it stores critical information about the database...If we start the database in mount state then it recognizes whether database is in archivelog mode or not , If it is in archivelog mode then it sees whether an instance recovery is needed or not by verifying the log sequence numbers in controlfile,redologfile & the datafile ..If an instance recovery is required then it performs the instance recovery by calling smon background process or if a datafile header is not up to date then we have to perform the media recovery using the redo logfiles...
    For open state you have to post the reply..it will help you to explore yourself...Good Luck!

  • Changing the Full Backup filename

    Hi All:
    This actually seems like a ridiculous simple question...
    I f I name my full medium, the name is static.  Is there anyway to create the filename that will change (auto increment or date append etc)?
    (same question for incremental file).
    The reason I need this is I don't want the files to overwrite.
    Thanks
    Tony

    Hi Tony,
    sorry, it's not possible to create a backup medium (full backup or incremental) such that the filename will change (auto increment or date append etc). Your only option is to change the name of the file on the OS level, or more simply, move the backup file to another location. You can then continue to use the same medium for subsequent backups.
    Since you don't want the files to be accidentally overwritten, you should also set 'overwrite = no' in the medium properties.
    Thanks,
    Ashwath

  • Constantly attempting Full Backup

    Time capsule is constantly attempting full backup.
    Full backup completed on startup.
    I allowed it to complete a second full backup but as soon as that finished started again.
    2TB machine 500 Gb to backup 1 iMac using Lion..
    Any ideas appreciated

    See #D7 in Time Machine - Troubleshooting.

  • Is it possible to do DB restore from FS backup ?

    Hi All,
    I would like to share issue which I have confronted recently......Here is the scenario
    We have taken cold backup of DB ( sizing to 900 gb) to disk, via RMAN. We took FS(file system) backup of that disk backup to tape using Legato MML. There was request to restore the DB using same backup and to be hosted in different server. We had two options:
    1) do a FS restore to the target ( in same directory structure) and proceed with restore using RMAN
    2) do SCP of all backup sets to the target ( in same directory structure) and proceed with restore using RMAN
    We opted first one, but it was time consuming....I believe other one also time demanding.
    I doubt whether its possible to do DB restore directly from ( FS backup of disk backup to tape) tape rather than doing FS restore and doing DB restore?
    I appreciate your reply at the earliest, we are expecting one more such request in near future
    Regards
    Amjath

    Hi Amjath,
    Timewise your san migration will be (much) faster compared with the tape backup and restore.
    Anyway after you have configured rman, the fra and the nmo the (coldbackup) procedure would be:
    Make a backup to the fra:
    connect target /;
    connect catalog rman/define_pwd@define_rcv;
    shutdown immediate ;
    startup mount ;
    backup database;
    alter database open;
    Backup the fra to tape:
    connect target /;
    connect catalog rman/define_pwd@define_rcv;
    run
    allocate channel c1 type 'SBT_TAPE';
    allocate channel c2 type 'SBT_TAPE';
    backup recovery area;
    release channel c1;
    release channel c2;
    On the second server
    connect target /;
    connect catalog rman/define_pwd@define_rcv;
    # could be you need to set the dbid
    # set dbid = define_dbid;
    STARTUP NOMOUNT;
    run
    allocate channel c1 type 'SBT_TAPE';
    allocate channel c2 type 'SBT_TAPE';
    restore controlfile;
    sql 'alter database mount';
    restore database;
    sql 'alter database open resetlogs';
    release channel c1;
    release channel c2;
    Regards,
    Tycho

  • Keeping ARCH and Deleting FULL backups on RMAN

    Dear all,
    RMAN deletes all my full backup and archivelogs in 2 days with;
    DELETE NOPROMPT OBSOLETE RECOVERY WINDOW OF 2 DAYS;
    But I want to keep archivelogs at least 9 DAYS and delete just the FULL backups after 2 DAYS. How can i set this?
    Any recommendations?
    Regards

    You reported the Sybrand's post as an "abuse to consider" to the mod. Not to take a part or the other, but Sybrand made several points you should yourself to consider up front :
    1. you claimed your problem as an emergency case, it is considered as rude in a public forum based on volunteers.
    2. also you did not provided any information which can make difference, as the minimum of Oracle version (and OS...), for one who want to be considered as an emergency, that's rather strange, no one here is sitting next to you
    3. Sybrand gave you a command to run that you should see the suggestion resulted
    4. He also made a point about the documentation, whether it can appears rude to you, it's always, ALWAYS, good to show exactly to your peers what you have done so far to solve your problem, based on what docs...
    5. We could also point you a link such as How to ask question
    Please, keep it in mind, and come down.
    Nicolas (moderator).
    PS: without saying that 2 mods spent their time to proceed with your faulty reported abuse case
    Message was edited by: Nicolas.Gasparotto

  • RUN "delete noprompt obsolete" before "backup database"

    Hello,
    11g on windows 2003, 3 day recovery window
    For almost a year now, I having been running the below script daily to backup my database. Now I am begining to run out of disk space, and can not run the backup commands unless I run "delete noprompt obsolete" first.
         backup database tag=database_full_backup;
         backup archivelog all delete input tag=achivelog_backup;
         crosscheck backup;
    delete expired backup;
         delete noprompt obsolete;
    Is it a bad idea to rearange the order of the commands like below?
    crosscheck backup;
    delete expired backup;
         delete noprompt obsolete;     
    backup database tag=database_full_backup;
         backup archivelog all delete input tag=achivelog_backup;
    thanks for any help

    Hi,
    No problem. You configured a recovery window of 3 days, it means you want to be able to restore/recover until sysdate - X (X up to 3) at any time. RMAN will always respect that, you can "delete obsolete" whenever you want.
    Best regards
    Phil

  • Full backup with archivelogs

    I tried to do an incremental level 0 backup with archivelogs, it failed with the error messages said that can not recognize file C:\ARCHIVE\ORCL\4_1_684433700.ARC, the error code was ORA-19625. So I added "crosscheck archivelog all;" to the backup script and Redo it.
    This time it succeeded, but there is still something I'm confused. I set up two folders to store the archivelogs, during the process, the archivelogs in the folders were not deleted synchronously,for example arhivelog a was deleted from one folder while the same file in the other folder was remained. Below is my backup script
    RUN {
    ALLOCATE CHANNEL ch00 TYPE DISK;
    ALLOCATE CHANNEL ch01 TYPE DISK;
    BACKUP
              incremental level 0
    SKIP INACCESSIBLE
    TAG hot_db_bk_level0
    FILESPERSET 5
    # recommended format
    FORMAT '\\dell090121\rman_hotbackup\bk_full_%s_%p_%t'
    DATABASE;
    sql 'alter system archive log current';
    RELEASE CHANNEL ch00;
    RELEASE CHANNEL ch01;
    # backup all archive logs
    ALLOCATE CHANNEL ch00 TYPE DISK;
    ALLOCATE CHANNEL ch01 TYPE DISK;
    BACKUP
    filesperset 20
    FORMAT '\\dell090121\rman_hotbackup\al_%s_%p_%t'
    ARCHIVELOG ALL DELETE INPUT;
    RELEASE CHANNEL ch00;
    RELEASE CHANNEL ch01;
    # Note: During the process of backing up the database, RMAN also backs up the
    # control file. This version of the control file does not contain the
    # information about the current backup because "nocatalog" has been specified.
    # To include the information about the current backup, the control file should
    # be backed up as the last step of the RMAN section. This step would not be
    # necessary if we were using a recovery catalog.
    ALLOCATE CHANNEL ch00 TYPE DISK;
    BACKUP
    # recommended format
    FORMAT '\\dell090121\rman_hotbackup\cntrl_%s_%p_%t'
    CURRENT CONTROLFILE;
    RELEASE CHANNEL ch00;
    }

    Even if you have two (or more) archivelog destination directories, the "DELETE INPUT" clause in "BACKUP ARCHIVELOG ..." would delete only archivelogs which it reads for the backup. Thus, because the backup could read from dest_1 (for instance), it would archivelogs from dest_1 but not from dest_2. The Backup is free to backup files at either dest location and delete only what it has backed up, by default with "DELETE INPUT".
    However if you specify DELETE ALL INPUT, then Oracle deletes all copies of the ArchiveLogs.
    Thus your backup command would be
    BACKUP ARCHIVELOG ALL DELETE ALL INPUT;where the first "ALL" is "all archived log sequences available, but only 1 copy of each" while the second "ALL" is "all copies of each archived log backed up by the BACKUP"

Maybe you are looking for

  • Unable to load the following resource: Error: too many columns- form won't

    Hi .. Can you please suggest on the following error, which i am facing the issue while opening data form in Hyperion Planning 11.1.1.4 . Unable to load the following resource: Error: too many columns- form won't Regards, Vasu

  • JavaPlugin2_NPAPI alias file in home folder ?? What for

    Does anyone know why this file is in the home folder. It is a black arrow alias file. I right click to show original and nothing happens. I think the original file is  gone, do you think I can safley delete the file. thanks

  • Variable reading other's characteristic value.

    Hi gurus, do you know, how can I make a variable (characteristic value variable) that reads other characteristic's value? i.e. I have 0CALMONTH in columns and a structure with 3 restricted key figures - I need to show KF value for 1st, 15th and last

  • Strange Problem with datagrid item renderer in flash palyer 10

    Hi All In Flash player 10 when i use a text input as a item renderer in grid with a custom textinput skin , it does not show us the text , where as in flash player 11 it shows us. is there any work around for it or it's a bug. Plz help  me on this.

  • ASA 8.2 configuration for an ASA 9.1.(1) device

    Hello, I have a configuration file from a 5510 running ASA ver 8.2 I have a brand new ASA5525 running ASA ver 9.1(1) It is my understanding the configuration syntax is different between these versions I need to take this config I have and somehow aut