How to speed up rman backup?

Hi,
we are taking backup using rman. my database size is increasing.so rman backup time is increasing. so i want to spped up rman bakup performance. how to speed up rman bakup?
Thnaks,

My general request whenever you post the question in forum please start your question something like this:
Oracle Version : <4 digit version> select * from v$version;
OS Information with complete version and/or patch whatsoever.
1. http://www.oracle-base.com/articles/10g/RMANEnhancements10g.php
2. Re: RMAN Backup Script
and read the reply of Adith
You can also use set
CONFIGURE BACKUP OPTIMIZATION ON
Additionally review
Restarting and Optimizing RMAN Backups
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp007.htm#i1006318
Best Regards
Girish Sharma

Similar Messages

  • How to make hot RMAN backup as consistent in 10g?

    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,

    user2017273 wrote:
    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,Take backup with "plus archivelog" command. This will require archived redo log files and automatically apply them

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

  • How to stop a rman backup in progress?

    OS: AIX 5.3 L and Oracle 10g R2
    I got panic when my scheduled rman backup (incremental level 0 plus archivelog) run too long and I want to stop the process. I could not find the rman doc mentioning how to use any rman command to do that, instead of just shutdowning the database instance.with ps -ef, there were just too many PID of oracle. Is there a way by rman to STOP the process?
    Furthermore, I had no idea why it happened. Last week when I did a full copy backup, it only took 23 minutes for 32G database, Today, I changed the scheme to a level 0 incremental, and it is still running after 5 and half hours. But it already created the archivelog, datafile backupset (checked by the DB control). How to find out what went wrong?

    I did not use any third party application with rman or TSM in my AIX. what is the tdpo? Killing at OS level is probably only thing I can do now. kill -9 PID#
    Message was edited by:
    user508054
    Message was edited by:
    user508054

  • How to ensure the rman backup is successful?

    Hi,
    we have scheduled rman backup jobs.
    1. But how do we ensure all the rman backups are successful?
    2. if the rman writes directly to tape, how do we ensure all tape backups are successful?
    thanks
    andrew

    But what is incremental merge, couldn't find in the 10g manual?check it out on http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmquick.htm#BRADV89354
    do you use image backup in real production environment?Of course. We have a standard to to use image copies that way.
    what do you suggest to do with rman normal way of backup or go for image backup?Depends on your specific situation. Like anything else, I prefer to provide some rationale on the recommendation.
    Image Copies with Incremental Merge
    Pros:
    (1) one one full backup taken ever; no need to take another full backup
    (2) the restore time is the same, regardless of the day of the week the db failed
    (3) every day the incremental merge's success means the backup was good - an automatic validation
    (4) it allows you to quickly switch to copy, rather than restore
    Cons:
    (1) Space requirement is more (since it's a bit to bit copy)
    (2) can't do a point in time recovery from the disk alone
    (3) can't go to the tape directly; must be a disk based backup.
    Backupsets with Incremental Backup
    Pros:
    (1) space requirement is lower (since only never-used blocks are not copied)
    (2) point in time recovery is possible
    (3) direct backup to tape possible (no need for disk backup)
    Cons:
    (1) restore time varies depending on the day of the week the db failed
    (2) you have to take a full backup regularly, perhaps once a week
    (3) no validation unless you use validate backupset (takes resources)
    So, as you can see, there are pros and cons to each approach. You have to decide for yourself which one weighs more (or less) to come to a conclusion.
    Hope this helps.
    Arup Nanda

  • Speeding up RMAN backup job

    Hi,
    Is there anyway to increase the speed of the RMAN backup job where the job is already started running?
    Regards,
    007

    007 wrote:
    Hi CKPT,
    I am using Oracle Database 11g(11.2.0.1).
    Regards,
    0071) If your backup is not streaming to tape, then make sure that the RATE parameter is not set on the
    ALLOCATE CHANNEL or CONFIGURE CHANNEL commands.
    2) Check init.ora/spfile parameters and confirm if async IO is configured:
    DISK_ASYNCH_IO=TRUE (or defaulted): native async io is assumed to be in use
    DISK_ASYNCH_IO=FALSE and DBWR_IO_SLAVES > 1: async io is simulated with disk IO slaves
    BACKUP_TAPE_IO_SLAVES=TRUE: tape IO slave is used
    DB_WRITER_PROCESSES - if >1 this is NOT compatible with DBWR_IO_SLAVES > 1
    3) If You Fail to Allocate Shared Memory, Set LARGE_POOL_SIZE
    LARGE_POOL_SIZE = number_of_allocated_channels *
    (16 MB + ( 4 * size_of_tape_buffer ) )
    4) Allocate 4 channels if backing up to disks, increase it further if required.
    5) Use rman backup operation during off business hours, to give more resource to rman jobs.

  • How to restore a Rman backup from Tape

    Hi,
    We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
    Can you please help me on the following,
    1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
    2) If yes how i can restore to Disk.
    Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
    We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
    Our support is highly appreciated.
    Thanks

    user11969666 wrote:
    Hi,
    We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
    Can you please help me on the following,
    1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
    2) If yes how i can restore to Disk.
    Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
    We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
    Our support is highly appreciated.
    Thanks
    Your questions are answered in the Backup and Recovery User's Guide -- Contents
    Thanks,
    Hussein

  • How do you plan RMAN backup for small and Large DBs ?

    DB version:11.2.0.3/RHEL 5.8
    I have 2 scenarios for which I was asked to come up with Backup strategies by the application stakeholders.
    I have devised the following strategies . Any comments ?
    Scenario 1
    ===========
    I have a large DB of 4TB in size. This DB is very critical and acceptable downtime for this DB is only 30 minutes.My Backup strategy: Incrementally updated Backup using Image copy to FRA
    Scenario2:
    ===========
    DB sizes vary from 40gb to 800gb. Acceptable downtime : 1 hour
    My Backup strategy : cumulative incremental backup to tape

    Only testing you will get the answer.
    I've seen many cases the technology is adequate but the procedure is wrong.
    Oracle provides multiple ways to perform database recovery.
    You need to create recovery scenario for each type of failure. (such as Storage failure, block corrupted, Human errors,etc)
    Eg: The User deleted data from a table causing major outage in its application.
    What is the procedure to be followed?
    The simplest is to restore the data using flashback (based Undo) which can take seconds.
    (note: Flashback using undo based does not need feature flashback database enabled).
    Believe the main cause of failures in databases today are caused by human error and that sometimes can be resolved simply and quickly.
    About Backup/Restore strategies:
    "Speed" you usually depends on the hardware resources available to you achieving the desired time.
    I can post here a ton of options, but I think your answer will be answered in the tests and procedures (scripts) already prepared to perform this restore.

  • How to check the size of rman backups to tape

    instead of asking tsm person to check, how do I check how big is a rman backup sent to tape?

    query to find the backupset sizes
    SQL> select ctime "Date"
      2       , decode(backup_type, 'L', 'Archive Log', 'D', 'Full', 'Incremental') backup_type
      3       , bsize "Size MB"
      4  from (select trunc(bp.completion_time) ctime
      5          , backup_type
      6          , round(sum(bp.bytes/1024/1024),2) bsize
      7     from v$backup_set bs, v$backup_piece bp
      8     where bs.set_stamp = bp.set_stamp
      9     and bs.set_count  = bp.set_count
    10     and bp.status = 'A'
    11     group by trunc(bp.completion_time), backup_type)
    12  order by 1, 2;
    Date      BACKUP_TYPE    Size MB
    03-JUL-10 Archive Log       7.31
    03-JUL-10 Full             29.81
    03-JUL-10 Incremental    2853.85
    04-JUL-10 Archive Log       3.59
    04-JUL-10 Full              7.45
    04-JUL-10 Incremental       3.05

  • Restoring RMAN backup from tape beyond retention policy ??

    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.

    dba.arnab wrote:
    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.
    Assuming the actual backup files still exist (the only thing actually deleted is the record of them in the catalog), you can make those files available and use the rman 'catalog' command to re-catalog them.

  • Create Data Guard Using ASM Managed RMAN backup

    we have an oracle database 11.1.0.7 working on Windows server 2003 (64bit). The storage in ASM managed (same 11.1.0.7). Our total database size is 4TB.
    I will have to create a physical standby database (Data Guard) of this instance. Now I am having issues on how to transport my RMAN backup pieces (which is also ASM managed).
    I cannot do an over the network RMAN backup because it will take months to complete.
    We have external 4 hard disks (2 TB each). But my RMAN backup pieces are ASM in format.
    Any ideas on how to easily create a data guard in this set up.

    TheAlchemist wrote:
    can you provide us any clear steps....Hope you asked for Restoring from backups.
    1) Prepare PFILE and put in nomount status.
    2) Restore standby controlfile
    RMAN> restore standby controlfile from '+DG/...'
    3) Mount controlfile
    SQL> alter database mount standby database;
    4) Restore database.
    If you are restoring into another diskgroups, then use as below.
    RUN {
    SET NEWNAME FOR DATAFILE 1 TO '+Dg1/....';
    SET NEWNAME FOR DATAFILE 2 TO "+Dg1/...';
    RESTORE DATABASE
    If same diskgroup you want to use then, just give RMAN> restore database;
    After successful restore
    5) Start MRP
    SQL> alter database recover managed standby database disconnect from session;

  • RMAN backup problme becasue of TSM

    I Joined one call today , topic was RMAN backups problem because of TSM, I am wondering what is TSM, i guess Tivoli Storage manager...Not sure, and how it can effect RMAN Backup & its performance...Just trying to get general idea....

    Yes, TSM is Tivoli Storage Manager which is IBM's backup/recovery/storage management product. RMAN needs a media manager interface to write to tapes, this is where TSM comes into play. It acts as this media manager passing off the data to write to tape. This is made possible via a library which TSM provides (an Oracle library link file is replaced with one pointing to the TSM library file) to inform RMAN of it's presence and enable it's use. There are also configuration settings (network timeout, throughput, client name, media server name, etc.) which to a great deal affect the performance of RMAN and TSM to the extent where backups may not be possible if setup incorrectly.
    For more information you can look at the IBM site.
    Hope this helps.

  • RMAN backup into multiple locations

    Hi All,
    Our database size is 1.4 TB. I am planning to schedule RMAN full backu. But i do not have mount point of size 1.4 TB. We have mount point /rmanbkp1 of size 1200GB and /rmanbkp2 of size 200GB. How can i distribute RMAN backup to these two filesystems.
    Can i take tablespace level backups..?
    Please suggest.
    Thanks
    Sandeep Vadlamudi

    Hello;
    First of all 1200GB, might be enough since you probably are not using all the blocks in the 1.4 TB and will compress you will also lose less.
    Can i take tablespace level backups..?
    Yes but the value is limited. You cannot for example recover a dropped tablespace.
    Test a backup first and get an idea of how much space you really need.
    Also once you have a backup how do you free space for the next backup?
    You could use the FORMAT command to backup the database to one location and the Archive to the other. 200 GB is not much space.
    RMAN backup into more than one location :
    http://www.oracle-class.com/?p=2043
    Best Regards
    mseberg

  • How can i do a RMAN backup of my database from the network ?

    i'm using oracle 8i.1.7.3 with win server 2003
    i want to know how can i do a RMAN backup of my database (sever machine A) from the network.
    i'd like to save the backup in another machine (the same LAN, the same OS ).
    to do that i've mapped a logical device in my comptur (z):
    when i run rman command i got this error:
    channel ORA_DISK_1: starting piece 1 at .......
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command ON ORA_DISK_1 channel at .......
    00
    ORA-19504: failed TO CREATE file "\\remote\save\"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is inco
    rrect.

    Hi,
    ORA-19504: failed TO CREATE file "\\remote\save\"make sure you have created this directory and change it's ownership (chown command)to oracle.
    also make sure that oracle user has permission to write to this direcotry (chmod command)
    hope this helps
    cheers, walrus

  • RMAN backup files are still exist since long time, how to delete?

    Dear sir;
    I'm using the below script to do daily backup, however there are many rman backup files are still exist and consumes HD size, how could I delete these files in daily bases? some files dated in FEB, MAR, APR,
    ============Daily RMAN script=========
    rman target /<<!
    backup incremental level=0 as compressed backupset database format '/u15/rman/full_backup_%U.rman';
    backup archivelog all not backed up 2 times format '/u15/rman/arc_backup_%U.rman';
    backup current controlfile format '/u15/rman/control_%U.rman';
    delete archivelog all backed up 2 times to device type disk completed before 'sysdate-7';
    delete noprompt obsolete;
    ================================END
    Thanks and best regards
    Ali

    Hi;
    Our backup policy should have 7 days; however we have here some files from JAN, FEB,MAR, APR /2012 WHICH ARE BEYOND THE RETENTION DATE and these files should be deleted by executing " delete noprompt obsolete; ".
    All files are exist in /u15/rman/
    -rw-r----- 1 oracle oinstall 1151763968 Jan 21 01:36 arc_backup_7kn19h4a_1_1.rman
    -rw-r----- 1 oracle oinstall 1136882176 Jan 21 01:36 arc_backup_7ln19h4q_1_1.rman
    -rw-r----- 1 oracle oinstall 1135984640 Jan 21 01:36 arc_backup_7mn19h5a_1_1.rman
    -rw-r----- 1 oracle oinstall 1126627328 Jan 21 01:37 arc_backup_7nn19h5q_1_1.rman
    -rw-r----- 1 oracle oinstall 880606720 Mar 12 02:53 arc_backup_7nn5ldhp_1_1.rman
    -rw-r----- 1 oracle oinstall 1093043712 Jan 21 01:37 arc_backup_7on19h6a_1_1.rman
    -rw-r----- 1 oracle oinstall 9797632 Dec 15 01:04 control_04mu7tcp_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 3 02:55 control_4cn4tm9k_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 4 02:53 control_4on50ahm_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 5 02:55 control_56n52v1j_1_1.rman
    -rw-r----- 1 oracle oinstall 16252928 Jan 23 01:40 control_8tn1eq3t_1_1.rman
    -rw-r----- 1 oracle oinstall 16252928 Jan 24 01:40 control_9cn1heg0_1_1.rman
    -rw-r----- 1 oracle oinstall 202940416 Dec 15 01:04 full_backup_01mu7t50_1_1.rman
    -rw-r----- 1 oracle oinstall 1097728 Dec 15 01:04 full_backup_02mu7tcc_1_1.rman
    -rw-r----- 1 oracle oinstall 201285632 Dec 14 01:04 full_backup_0nmu58ou_1_1.rman
    -rw-r----- 1 oracle oinstall 5957304320 Feb 29 02:46 full_backup_2ln4g9l1_1_1.rman
    -rw-r----- 1 oracle oinstall 4128768 Feb 29 02:47 full_backup_2mn4gft8_1_1.rman
    -rw-r----- 1 oracle oinstall 6027075584 Mar 1 02:49 full_backup_32n4o6ov_1_1.rman
    -rw-r----- 1 oracle oinstall 4128768 Mar 1 02:49 full_backup_33n4od66_1_1.rman
    -rw-r----- 1 oracle oinstall 6187171840 Mar 2 02:51 full_backup_3gn4qr50_1_1.rman
    -rw-r----- 1 oracle oinstall 4145152 Mar 2 02:51 full_backup_3hn4r1kn_1_1.rman
    -rw-r----- 1 oracle oinstall 6115786752 Mar 3 02:51 full_backup_40n4tfgu_1_1.rman
    above is a short list of contents.
    to do our daily backup we perform the following script (in daily)
    ==================
    backup incremental level=0 as compressed backupset database format '/u15/rman/full_backup_%U.rman';
    backup archivelog all not backed up 2 times format '/u15/rman/arc_backup_%U.rman';
    backup current controlfile format '/u15/rman/control_%U.rman';
    delete archivelog all backed up 2 times to device type disk completed before 'sysdate-7';
    delete noprompt obsolete;
    ==================
    Thanks and best regards
    Ali

Maybe you are looking for