Online Backups Rman

HI,
I have setup an oracle database running one of our inhouse applications on a Linux Red Hat 4 Enterprise OS. Project go live
is a few days away and I don't have time to teach myself Oracle backups at this stage. I was hoping a few experts could
help me out with the following.
1. What configuration settings do I make to Oracle database and RMAN to prepare for online backups? How do I check
that the settings have already been done?
2. what commands do I then run to trigger off a online backup and what script type do you use so it can be scheduled?
3. How do you schedule the online backup?
My plan its to do an online backup to a folder on another partiton and then use rsync to sync the backup over to another
server which has tape backup.
I also though of running a script to shutdown the databse, then use rsync to copy the databse to a new location and then
startup the database again. Anyone ever use this backup type?
Many Thanks!
Raikal.

Hi 581156,
You can use RMAN to do your online backups, please can you tell us your RDBMS version,OS and if the DB is on archive mode or not? I need this to send you the right links to help you on this process.
Please take a look on this link:
http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ
Also if you need more information, please refer to:
http://tahiti.oracle.com/
Cheers,
Francisco Munoz Alvarez

Similar Messages

  • Online backup and RMAN

    Can I do online backup / RMAN together?
    I want to shedule both online back up and RMAN running on everyday..
    Is there any known issue by doing this?

    Hi,
    Yes you can do but what is need to use two method for backup.
    is there anything special reason.
    regards
    Taj

  • Less redo generates at the time of online backup using RMAN

    Hi,
    can someone eleborate that why less redo generates at the time of RMAN online backup in comparison of manual hotbackup.
    Thanks

    A manual hot backup (aka "OS backup" or "scripted backup") cannot handle fractured blocks. This happens when a backup command is copying out blocks from a datafile at the same time as DBWR is updating blocks. The Oracle Block Size (8KB) is generally a multiple of the OS Block size (512Bytes to 4KB or 8KB, depending on the filesystem / raw device and how the OS command copies blocks out). It is possible for DBWR to write 8KB and the OS backup utility to be concurrently reading the same Oracle block as, say, two different 4KB reads. The first half of the Oracle block may be read by one OS call and the second half by another OS call -- the two halves would be inconsistent with each other if Oracle were writing the database block at the same time.
    (Therefore a restore of such a backup would give you an inconsistent -- i.e. fractured -- block, which would be logically corrupt).
    In order to handle such issues, after a BEGING BACKUP is issued, for every first change to a database block, the whole block is written to the redo stream, not just the change vectors. (If the same database block is subsequently modified while in BACKUP mode, it is only the change vectors that have to be written to the redo stream). Once the END BACKUP is issued, the redo stream does not need to capture whole database blocks.
    If such a backup is restored, it still has fractured blocks. However, when applying the ArchiveLogs generated during the Backup, each such fractured block is "automagically repaired" because a whole image is restored from the ArchiveLog. (Subsequent changes are replayed as changes through the change vectors).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • RMAN vs Online backup

    what would be the main advantages to use RMAN vs Online backup?
    On both backup/recovery stand point, RMAN is a lot more reliable and less user error/easy to recover/ faster backup and revocery time?
    I am using online backup but want to switch to RMAN..

    RMAN is the oracle suggested way of doing backups. RMAN automates a lot of the things that you need to handle if doing a backup the "old fashioned way". Things like the spfile, etc are automatically done w/ the backup.
    Another advantage is that RMAN only backs up blocks that are used, so if you have a datafile that is 2G, but only 100M of it is used it will only have to backup 100M, where with a manual backup you would need to backup the entire file.
    Is one way better than another? It is hard for me to say, once you become familiar with RMAN, you'll wonder why you didn't learn it earlier.
    My 2 cents anyway.

  • Ebs r12 cloning using rman online backup

    dear all,
                 how are you guys? i have ebs r12  on multi node and i want to clone db tier and apps tier using rman online backup,can  anybody provide me the detail steps of cloning ebs(db tier and appstier ) using rman online backup and  directory structure on source and target database is also different.your help highly appreciated thanks in advance.
    regards.

    Hi,
    You cannot use RMAN to clone the Apps tier of the EBS and you may use RMAN only on the DB tier. For a complete backup, as mentioned by Hemant K Chitale, you will have to use the rapid clone utility.
    To perform a rapid clone using RMAN there are plenty of step by step instructions in google which may guide in addition to support.oracle.com, Let me google that for you
    Thanks &
    Best Regards,

  • How RMAN do online backup?

    When doing RMAN online backup, all datafiles are not in backup mode( not like user managed backup). How oracle did that? multifiles backup at same time without redo and undo.
    Thanks.

    From Article Note:76736.1 RMAN FAQ: Recovery Manager -- Frequently Asked
    To understand why RMAN does not require extra logging or backup mode,
    you must first understand why those features are required for non-RMAN
    online backups.
    A non-RMAN online backup consists of a non-Oracle tool, such as cp or
    dd, backing up a datafile at the same time that DBWR is updating the
    file. We can't prevent the tool from reading a particular block at the
    exact same time that DBWR is updating that block. When that happens,
    the non-Oracle tool might read a block in a half-updated state, so that
    the block which is copied to the backup media might only have been
    updated in its first half, while the second half contains older data.
    This is called a "fractured block". If this backup needs to be restored
    later, and that block needs to be recovered, recovery will fail because
    that block is not usable.
    The 'alter tablespace begin backup' command is our solution for the
    fractured block problem. When a tablespace is in backup mode, and a
    change is made to a data block, instead of logging just the changed
    bytes to the redo log, we also log a copy of the entire block image
    before the change, so that we can reconstruct this block if media
    recovery finds that this block was fractured. That block image logging
    is what causes extra redo to be generated while files are in backup
    mode.
    The reason that RMAN does not require extra logging is that it
    guarantees that it will never back up a fractured block. We can make
    that guarantee because we know the format of Oracle data blocks, and we
    verify that each block that we read is complete before we copy it to the
    backup. If we read a fractured block, we read the block again to obtain
    a complete block before backing it up. non-Oracle tools are not able to
    do the same thing because they do not know how to verify the contents of
    an Oracle data block.
    Backup mode has another effect, which is to 'freeze' the checkpoint in
    the header of the file until the file is removed from backup mode.
    We do this because we cannot guarantee that the third-party backup
    tool will copy the file header prior to copying the data blocks.
    RMAN does not need to freeze the file header checkpoint because we
    know the order in which we will read the blocks, which enables us to
    capture a known good checkpoint for the file.

  • How does recovery work after an online backup

    Hello,
    While trying to conceptually understand how backup and recovery works, I came accross a question concerning hot (online) backup.
    This is a conceptual question (I am trying to understand how things work), it is not a "how should I proceed/ what should I do step by step" question.
    As far as I understand, an online backup of a tablespace can be performed by copying the OS files making up a tablespace while the database is up and being used (i.e. transactions are modifying data in the database). Before the copying of the OS files starts, the Oracle RDMS must be notified that an online backup is being taken via "ALTER...BEGIN BACKUP" (such that some additional information is written to the Redo Log, which may be required for subsequent recovery using the online backup). During recovery the Oracle RDBMS uses the copies of the OS files together with the online and archived redo logs in order to reconstruct all committed transactions and it further uses the UNDO tablespace to rollback open (uncommitted) transactions.
    Thinking about this, it seems to me, that in order for this to work in all possible scenarios the undo information from the time the backup was taken may be required. Therefore backup of the UNDO tablespace should be taken as well (see the explanation for this assumption below). However browsing the internet (including the Oracle online documentation) I did not find any statements concerning the backup of the UNDO tablespace when an online backup is taken. Moreover I couldn't figure out when exactly such a backup of the UNDO tablespace must be done, to ensure that the database can be recovered in all scenarios.
    I believe that undo information from the time the hot backup was taken may be required e.g. in the following scenario:
    Assume we are taking a hot backup of a given tablespace, i.e. we are copying all OS files that make up this tablespace, while the database is potentially being used. Let D1 be one of the datafiles in our tablespace and let transaction T1 modify datafile D1. Let transaction T1 further be uncommitted while the copy of datafile D1 is being made and let (at least some of) the changes from T1 be included in the backup copy D1' of D1 (because DBWR has already written the modified blocks at the time they were being copied to the backup). Let transaction T1 be rolled back after the copy is completed. D1' will thus contain modifications from T1, while D1 will not.
    Now some time later the datafile D1 is lost. When recovering D1 from the copy D1', the (archived) redo logs will be applied to D1'. Before that, transaction T1 should be rolled back in the copy D1', because modifications from T1 must not appear in the recovered version of the database.
    I do however not understand, where the information to rollback transaction T1 exactly comes from. It may still be in the current UNDO tablespace. I do however assume that rollback information is not kept in the UNDO tablespace forever. I see three possible answers to this
    (a) There are some requirements which I missed so far to backup the UNDO tablespace whenever a hot backup is made.
    (b) Since the Oracle "RDBMS" has to be notified that an online backup is being done, it might store all relevant undo information (e.g. write it to the redo log) when the tablespace is put in backup mode.
    (c) There are situations when recovery is not possible due to "missing old UNDO information".
    Answer (b) seems the most plausible to me. I did however not find any confirmation of this and if (b) really is the answer, I would be interested to understand what information is stored where by the Oracle RDMBS and how it is used for recovery.
    To summarize I have the following questions:
    (I) Is there any requirement to backup the UNDO tablespace together with an online backup of a tablespace, and if so, where is this stated in the Oracle documentation?
    (II) What mechanisms ensure that uncommitted transactions can be cleared from the online copy of a tablespace (potentially a long time after the copy was taken)?
    (III) Do you know any links (Oracle documentation or other online resources) explaining these datails?
    Thank you for any hints and answers
    kind regards
    Martin

    Its a highly technical question and I can be completely wrong due to my very less knowledge but I would attempt to answer still. Hope I say something sensible so bear with me.
    As far as I understand, an online backup of a tablespace can be performed by copying the OS files making up a tablespace while the database is up and being used (i.e. transactions are modifying data in the database).Correct. But it would depend on the tool you are going to use to do so.Using o/s level commands like CP and all would require you to manually copy the files to the backup location. Using RMAN, it would be lot easier and RMAN would take care of everything.
    Before the copying of the OS files starts, the Oracle RDMS must be notified that an online backup is being taken via "ALTER...BEGIN BACKUP" (such that some additional information is written to the Redo Log, which may be required for subsequent recovery using the online backup). Again, this is a requirement only in the case of user-managed backup . In that case, because of the fractured block issue , its important that the corresponding older information/image of the buffer is also copied in the redo stream and that's done when the begin backup command is used. Using RMAN, this is not needed as RMAN can read the consistent image which it would store in the backup piece, exactly in the same way in which select request is fulfilled by oracle for a dirty buffer which is yet to be made consistent.
    During recovery the Oracle RDBMS uses the copies of the OS files together with the online and archived redo logs in order to reconstruct all committed transactions and it further uses the UNDO tablespace to rollback open (uncommitted) transactions.Correct!
    Thinking about this, it seems to me, that in order for this to work in all possible scenarios the undo information from the time the backup was >taken may be required. Therefore backup of the UNDO tablespace should be taken as well (see the explanation for this assumption below). >However browsing the internet (including the Oracle online documentation) I did not find any statements concerning the backup of the UNDO >tablespace when an online backup is taken. Moreover I couldn't figure out when exactly such a backup of the UNDO tablespace must be done, to >ensure that the database can be recovered in all scenarios.The reason that its not a must to do so is that if the transaction is yet active, there is no way that Oracle would overwrite the Undo information of it, even if you may come after 100 years, it would be there. The Undo segment would mark those blocks as active undo blockswhich contains the information of that transaction whose status within the transacton table of that undo segment is still marked as active. So its there all the time in the undo tablespace. Now, for an instance, let's assume that the undo is not there as well( it would be but let's assume), the changes made to the undo segment's blocks are also recored in the redo as its just a change happening to any other segment like EMP,DEPT except with the difference that its not done by you but by oracle. So using that information, in the future , if there would be a need to replay those changes, necessary information to do so can be brought up from the redo blocks stored in the redo/archive logs. Yes, if there would be pending transactions that would require Undo information to get them rolled back and you have lost Undo tablespace and have no backup of it , you wont be able to bring back the database as it would be inconsistent and oracle would not let you to do it. In that case, you may require to use hacks to get it up and that would be really tricky situation.
    (I) Is there any requirement to backup the UNDO tablespace together with an online backup of a tablespace, and if so, where is this stated in the Oracle documentation?As I said above, it must be there if you are anticipating loss of Undo tablespace. If you have lost it, you would need a backup and all the archive logs and redo logs to recover and get it back to the point where the current database is . Rest, oracle would take care as it would reapply the redo contents of the undo segments over the undo segment and get it consitent.
    (II) What mechanisms ensure that uncommitted transactions can be cleared from the online copy of a tablespace (potentially a long time after the copy was taken)?As I said , pending transaction's undo is never overwritten by Oracle. Its always kept and marked as active undo . Only a transaction end would make it elgible to get overwritten and that too won't happen immediately(undo_retention would kick in) .
    (III) Do you know any links (Oracle documentation or other online resources) explaining these datails?I have to see if its there some where step by step mentioned and I shall update the reply once I shall find the link. Hoep someone else in the meantime finds it .
    HTH
    Aman....

  • Aperture vs Carbonite online backup

    Welcome,
    I'm wondering if actualy any of you use Carbonite online backup services. For flat 50$ yearly fee they offer unlimited online storage and a backup program.
    My current backup scheme includes Time Capsule plus Vault for Aperture, that is updated from time to time. I do like the idea of offsite storage of my data, and when I say data I'm mainly concerned with my photos.
    I don't expect Carbonite software to be Aperture library aware, and my library is not very big but it grows (46GB today plus 30GB iPhoto waiting for better times to be migrated into Aperture) - and this. I don't use referenced files and now I'm starting thinking about file and backup management scheme, that would eventually include Carbonite.
    So here are my concers:
    1. I assume, that in order to backup and restore I must have whole library, means in my case almost 80GBs - probably to much to achive reasonable restore time, even if I don't make money of my pictures.
    2. What would happen if I move to referenced files? Will I be able to restore library only in limited time, and then let Carbonite restore all my pictures - this may even take days (means RAW, JPEG, PS, sometimes TIFF)? Will the library (previews and thumbs work in the mean time?
    3. Does anyone can tell me what size would be a DB that has, lets say, a 150GB of referenced photos (double sieze of my current library?
    Any toughs, will such service work for Aperture users?
    Thanks in advance for your inputs,
    Adam

    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

  • Regarding Full online Backup failed

    Dear All,
    I have faceing one issue related to SAP system backup, i have shedule sap backup by DB13(full online backup) but frequently it will failed and showing same return code 005. Bellow mentioned is log details pls. check:-  
    datafile copy filename=/oracle/P01/sapbackup/behgluac.spa/p01.data26 recid=40001 stamp=767722216
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 11/20/2011 16:10:16
    ORA-19665: size 517120 in file header does not match actual file size of 514560
    ORA-19664: file type: datafile copy, file name: /oracle/P01/sapbackup/behgluac.spa/p01.data27RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2011-11-20 16.10.17
    *BR0279E Return code from 'SHELL=/bin/sh /oracle/P01/102_64/bin/rman nocatalog': 1*
    BR0536E RMAN call for database instance P01 failedBR0280I BRBACKUP time stamp: 2011-11-20 16.10.17
    BR0532E Cataloging backups of all database files failedBR0056I End of database backup: behgluac.fnt 2011-11-20 16.10.17
    BR0280I BRBACKUP time stamp: 2011-11-20 16.10.17
    BR0054I BRBACKUP terminated with errors
    Pls. guide me and help me to reslove this issue.
    Our server OS is solaries 10 and DB is Oracle 10g.
    Regards,
    Sweetdiya.

    Hii,
    Can you tell  me option to take backup again on same day if 1st bakup will failure? Bcoz we have try to take backup on same day on same tape when 1st backup had terminated due to error sytem is not take backup. e.g if today tuesday i have take(sunday S01B01,mon S01B02 likethis) tape name S01B03 our  backup is failed due to error RC:- 005. we can re-execute bakup or shedule bckup in DB13 again it is agin failed.
    so can any body can guide us on this issue plz..
    Thanks in advance.
    Regards,
    Sweetdiya
    Edited by: sweetdiya on Nov 22, 2011 10:11 AM

  • Online backup fail through DB13

    Dear experts,
    I am using sap BW 7.4 under oracle 11.0.2.4
    I am trying to take online backup on disk
    I select action whole database online backup + redo file backup as will as
    Full database online backup and BRACHIVE function is -sd
    but  backup was failed I am unable to resolve it  following are logs generated during backup
    #SAVED.... /oracle/online/beokvzrl/system.data1  #1/17
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
    BR0063I 17 of 17 files processed - 51610.133 of 51610.133 MB done
    BR0204I Percentage done: 100.00%, estimated end time: 10:58
    BR0001I **************************************************
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
    BR0317I 'Alter tablespace SYSTEM end backup' successful
    BR0252W Function kill() failed for '17891582:15' at location BrKill-3
    BR0253W errno 3: No such process
    BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.40 (6)
    PID=17891582
    BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:22
    BR0530I Cataloging backups of all database files...
    BR0278E Command output of 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog':
    Recovery Manager: Release 11.2.0.4.0 - Production on Sat Aug 2 10:58:23 2014
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: BWD (DBID=2340275772)
    using target database control file instead of recovery catalog
    RMAN> **end-of-file**
    RMAN>
    host command complete
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 08/02/2014 10:58:25
    ORA-19564: error occurred writing 8192 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 3
    Additional information: 4
    Additional information: 4194434
    RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0279E Return code from 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog': 1
    BR0536E RMAN call for database instance BWD failed
    BR0200I BR_TRACE: location BrRmanCall-56, commands for RMAN in: /oracle/BWD/sapbackup/.beokvzrl.cmd
    @/oracle/BWD/sapbackup/..beokvzrl..cmd
    host '/usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapbackup/..beokvzrl..cmd';
    catalog datafilecopy
    '/oracle/online/beokvzrl/sr3.data1',
    '/oracle/online/beokvzrl/sr3.data2',
    '/oracle/online/beokvzrl/sr3.data3',
    '/oracle/online/beokvzrl/sr3.data4',
    '/oracle/online/beokvzrl/sr3.data5',
    '/oracle/online/beokvzrl/sr3.data6',
    '/oracle/online/beokvzrl/sr3740.data1',
    '/oracle/online/beokvzrl/sr3740.data2',
    '/oracle/online/beokvzrl/sr3740.data3',
    '/oracle/online/beokvzrl/sr3740.data4',
    '/oracle/online/beokvzrl/sr3740.data5',
    '/oracle/online/beokvzrl/sr3740x.data1',
    '/oracle/online/beokvzrl/sr3740x.data2',
    '/oracle/online/beokvzrl/sr3usr.data1',
    '/oracle/online/beokvzrl/undo.data1',
    '/oracle/online/beokvzrl/sysaux.data1',
    '/oracle/online/beokvzrl/system.data1'
    level 0 tag beokvzrl;
    exit;
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0532E Cataloging backups of all database files failed
    BR0056I End of database backup: beokvzrl.fnd 2014-08-02 10:58:25
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    I am unable to understand why RMAN is use ?
    and what parameters are used when I will take backup on tape
    Kindly guide me
    Regards

    Dear Srivastava for your reply,
    I download latest brtools patch and apply it and change authorization  profile parameters is also OK ( I run whole database online backup from brtools using same profile it done successfully )
    full permission ( 777) in sapbackup folder and sub folder but through db13 backup is successfully with warning
    BR0204I Percentage done: 100.00%, estimated end time: 11:57
    BR0001I **************************************************
    BR0252W Function kill() failed for '10420324:15' at location BrKill-3
    BR0253W errno 3: No such process
    BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.40 (10)
    PID=10420324
    BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2014-08-04 11:57:59
    BR0340I Switching to the next online redolog file for database instance BWD ...
    BR0321I Switch to the next online redolog file for database instance BWD successful
    BR0117I ARCHIVE LOG LIST after backup for database instance BWD
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /oracle/BWD/oraarch/BWDarch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     838
    Next log sequence to archive   841
    Current log sequence           841              SCN: 28074154
    Database block size            8192             Thread: 1
    Current system change number   28074155         ResetId: 842452156
    BR0202I Saving space_log
    BR0203I to /oracle/bck/online/BWD ...
    BR0202I Saving /oracle/BWD/sapbackup/beolgapq.and
    BR0203I to /oracle/bck/online/BWD ...
    BR0202I Saving /oracle/BWD/sapbackup/backBWD.log
    BR0203I to /oracle/bck/online/BWD ...
    BR0056I End of database backup: beolgapq.and 2014-08-04 11:58:01
    BR0280I BRBACKUP time stamp: 2014-08-04 11:58:01
    BR0053I BRBACKUP completed successfully with warnings or non-fatal errors
    1. BR0252W Function kill() failed for '10420324:15' at location BrKill-3
        BR0253W errno 3: No such process
    2. BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location  global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    why it backup not open file .user.pas ( it is not exist in this folder )
    Kindly guide me
    Regards

  • Online backup details

    I'm looking for a specific online backup plan (detailed steps) for 10g. Don't know if anyone knows some useful link about it? Thanks a bunch!

    Try the Oracle document. Most people use RMAN these days. <br><br>
    Backup and Recovery Quick Start Guide <br>
    <br>
    Backup and Recovery Basics

  • Online Backups

    Hi,
    I am working as a dba and i am not familiar with Online Backups now i want to implement it in one of my client place so please any body can help me regarding
    these time is less .
    please anybody help me.
    regards,
    srinivasr

    Hi 581156,
    You can use RMAN to do your online backups, please can you tell us your RDBMS version,OS and if the DB is on archive mode or not? I need this to send you the right links to help you on this process.
    Cheers,
    Francisco Munoz Alvarez

  • Online Backup of tablespace

    Hello,
    I have a Oracle 9i database which is running in Archivelogmode mode and I perform online backups with RMAN. I use the command:
    backup tablespace <tablespace_name>;
    My documentation now says that I would have to put the specific tablespace into backup mode first. I understand that applies with user-managed (with O/S command) backups of the datafiles but why for online backups too ? My documentation says that if I do not do the step the backup is faulty.
    But I tried it ... it works. I performed the online backup...deleted the datafile...and could restore it without no problem.
    So is the documentation wrong ?
    Thanks Marcus

    Putting a tablespace into backup mode is required for
    **user managed** online backups. It is not required
    for RMAN backups.
    Hope this helps.
    Kailash.

  • Oracle Restore from Online backup without any archive logs

    Hi,
    May be a dumb question. If I have a good online backup (say it took 2 hours to do that. And there is database activity while backup is going on), and lost all the archive logs happened after the online backup, is it possible at all to do the restore using that backup? complete or incomplete? and bring back the database to normal operation mode? Some details on this.
    Thanks.

    Let us see the reasoning behind this.
    Database:WORLDDB
    WORLDDB configuration:-
    TBSP_WDB
    ->TBSP_WDB_01.dbf
    ->TBSP_WDB_02.dbf
    SYSTEM
    ->SYSTEM.dbf
    USERS
    and so on for the tablespaces.
    CASE 1:-
    User managed backup.
    You issue
    ALTER TABLESPACE TBSP_WDB BEGIN BACKUP;
    DB keeps working all transactions are recorded in the redo stream, the scn information is not updated in the file header.
    Also note that the other tablespaces were been continuously worked on hence their scn numbers are a moving target.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96572/osbackups.htm#10012
    So if you begin tablespace TBSP_WDB backup at time t1 and by the time you are done with your backups you are at time t2, you will need all of the archive log's between time t1 and t2.
    CASE 2:-
    If we do with rman, rman takes care of the file header update information and goes on its merry way, those details are hidden from the end user. If one of the tablespace is fractured, updated while backups are going on , rman knows about it and will re-read the affected blocks in question.
    My thinking would be that you might need archive logs, unless it is a cold backup, with switch logfiles in between.
    If you do hot backups you need archivelogs is my thought. The number of archivelogs required will be decreased considerably through rman.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmconc1.htm#458821
    Summary:-
    Either way archivelogs are needed.

  • Online Backup error in QA server

    Dear all,
    AIX ,Oracle 10g ,ECC6.0
    Online backup has been finished with error .
    Kindly check the belog logs
    BR0063I 14 of 43 files processed - 72560.109 MB of 182799.625 MB done
    BR0204I Percentage done: 39.69%, estimated end time: 16:14
    BR0001I ********************______________________________
    BR0280I BRBACKUP time stamp: 2010-06-01 15.43.44
    BR0301E SQL error -600 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
    BR0310E Connect to database instance IRQ failed
    BR0311E Connect to database instance IRQ during online backup failed
    BR0278I Command output of '/usr/sap/IRQ/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.00 (34)
    PID=1589294
    2515030 : map : Permission Denied
    3264560 : map : Permission Denied
    1233032 : map : Permission Denied
    BR0280I BRCONNECT time stamp: 2010-06-01 15.43.45
    #SIGNAL CAUGHT: 15
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2010-06-01 15.43.47
    BR0301E SQL error -600 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
    BR0310E Connect to database instance IRQ failed
    BR0056I End of database backup: bediybrd.ant 2010-06-01 15.43.44
    BR0280I BRBACKUP time stamp: 2010-06-01 15.43.47
    BR0054I BRBACKUP terminated with errors
    Kindly suggest
    Regards

    Hi,
    It is funny that Ora-600 is not passing any valid arguments. For checking it on metalink, you will atleast need the first two arguments. Please check the alert log for any more details..
    Also is  your system working fine now? and are the offline backups taken successfully? If the backup is failing at a particular datafile then I would suggest to check that file for any possibl block corruptions using RMAN check of DBV..
    Regards,
    Anup

Maybe you are looking for