RMAN Backup to Disk in a RAC cluster...?

We have a two-node RAC cluster, using Linux and ASM. Pretty typical setup.
We are backing up to disk via RMAN. Right now, that filesystem is mounted on node #1. It's a SAN volume but is not presently clustered.
My questions...
(1) Is it best practice that only one node out of the cluster performs the backups?
(2) Or is there a config where all nodes participate in the backup?
My concerns are what happens when node #1 fails (presumably we'd have to mount the volume on node #2), and also the asymmetrical load during backups.
Thank you!

Hello;
Managing backup and recovery for RAC databases is no different from managing those for single-instance databases.
RMAN backs up the database not the individual instance.
This may help :
http://www.databasejournal.com/features/oracle/article.php/3665211/Oracle-RAC-Administration--Backing-up-your-RAC-with-RMAN.htm
Instance Recovery in Oracle RAC
http://docs.oracle.com/cd/E11882_01/rac.112/e16795/backup.htm#i492578
Best Regards
mseberg

Similar Messages

  • Rman backup to disk 2 Minutes; Backup to tape hours

    Solaris 10
    Oracle 10gR2
    MML Netbackup 6.0
    I have the following scenario
    Rman backup to disk < 2 Minutes; Backup to tape takes hours
    and occassionaly fails with a media manager layer error.
    Any suggestions to speed up the backup to tape?

    A backup of under 2 minutes . . . not very big.
    A backup to tape of hours?
    I don't think that is your problem . . . I think you need to check and see if your tapes are valid. If Oracle fails at the end of a backup to tape, it sounds like the tapes are 'bad'.
    If the tapes are good: Then look at why it is so slow - I would 'guess' network backup.
    Can you backup to disk and then send them to tape?
    Solaris 10
    Oracle 10gR2
    MML Netbackup 6.0
    I have the following scenario
    Rman backup to disk < 2 Minutes; Backup to tape takes
    hours
    and occassionaly fails with a media manager layer
    error.
    Any suggestions to speed up the backup to tape?

  • Oracle RMAN backup to disk on vbox4.2 shared folders

    [https://forums.virtualbox.org/viewtopic.php?f=7&t=53683]
    Cross posting a virtualbox forum post in case someone has this working.
    [posting snippet]
    Anyone successfully using Oracle 10.2/11.2 RMAN to backup to mounted vbox guest shared folder? I'm thinking there may be some special configuration requirement like there is with NFS share mount options.
    RMAN> backup incremental level = 0 database include current controlfile plus archivelog delete input;
    [lengthy output clipped]
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 01/18/2013 00:03:14
    ORA-19504: failed to create file "/media/sf_backup/vux099/oracle/vux099db/dataS217_P1_T804988992"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 22: Invalid argument
    Additional information: 2
    RMAN>
    Recovery Manager complete.
    oracle@vux099:vux099db1 [app/oracle]
    $ touch /media/sf_backup/vux099/oracle/vux099db/myfile; ls -l /media/sf_backup/vux099/oracle/vux099db/myfile
    -rw-r--r-- 1 oracle oinstall 0 Jan 18 00:04 /media/sf_backup/vux099/oracle/vux099db/myfile
    oracle@vux099:vux099db1 [app/oracle]
    $ touch /media/sf_backup/vux099/oracle/vux099db/myfile;
    oracle@vux099:vux099db1 [app/oracle]
    $ mount | grep sf_backup
    backup on /media/sf_backup type vboxsf (uid=51115,gid=51116,rw)
    oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
    $ getent passwd 51115; getent group 51116
    oracle:*:51115:51116:Oracle Administrator:/app/oracle:/bin/bash
    oinstall:*:51116:grid,oracle
    oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
    $ printf "show all;\nexit\n" | rman nocatalog target / | grep DISK
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/media/sf_backup/vux099/oracle/vux099db/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/media/sf_backup/vux099/oracle/vux099db/dataS%s_P%p_T%t';
    oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
    $
    [end]
    Edited by: user12130856 on Jan 18, 2013 8:08 PM

    Hi,
    never tried it, but I know that the shared folders in vbox don't work like normal filesystems.
    I would rather setup an NFS server on the host and mount an NFS share in the guest.
    Regards
    Sebastian

  • CAN WE MULTIPLEX THE BACKUPSET OF RMAN BACKUP ON DISK

    CAN WE MULTIPLEX THE BACKUPSET OF RMAN BACKUP ON DISK

    Hi
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    Regards

  • RMAN backup to disk vs tape

    AIX R 2
    Oracle: 10.2.0.4
    I have been testing rman backup strategies on a db in noarchivelog (development) using the following command:
    (*) note: if db is in noarchivelog then you must do a cold backup - have the db mounted but not opened.
    rman> backup database format '/a010/d01/bck/%U'
    I have found that rman will backup to disk about 2GB per minute. Now I want to test this to tape to compare metrics.
    Question: What configurations does RMAN need to write directly to tape?
    What are the backup steps to write to tape? Do I need to specify both the tape channel and also where the format output gets written?
    Thanks all.

    OK
    You need to install the Oracle driver for Tivoli (optionally sold with Tivoli) and install that in your Oracle software tree.
    Then you can configure your channels to write to tape (this is documented).
    For the rest there is no difference, although there are no directory names.
    Sybrand Bakker
    Senior Oracle DBA

  • RMan Backup to Disk Options

    Hello,
    In Oracle 8.17 on Sun using RMan with a FULL DATABASE backup to Disk can someone please explain:
    1. How to specify a tablespace(s) to NOT backup?
    2. How to compress the RMan file during the backup (I am low on diskspace).
    3. How to break the backup into two pieces and specify a different location for both?
    I am not sure if the above are possible. Thanks for you help.
    Thanks very much for your advice,
    Michael42

    Re your 2nd question :-
    I've looked into RMAN and on the fly compression ( unix/linux).
    It looks like it can't be done well not easily, ( check AskTom or dbForumns if you like).
    Several others have tried and RMAN defeats you each time, the problem is that RMAN can't be made to write to STDOUT or STDERR or STD<anything> and thus any "on the fly" compression tools ie:gzip|bzip2| compress just doesn't get a chance at it.
    If you are prepared to do some heavy scripting you can use a named pipe into a fixed file name and apply compression through the pipe, but it's a hell of a lot of work and there's a lot that can go wrong.
    Re: Your 3rd question :-
    Not sure that this will help you 100%, but it may give you an idea or 2.
    I splice the DB backup like so; database on one volume and archivelogs on another as follows ...
    run {
    allocate channel ch1 type disk format '/backupdir1/b_%u_%s_%p.db';
    allocate channel ch2 type disk format '/backupdir2/b_%u_%s_%p.arch';
    sql 'alter system switch logfile';
    set limit channel ch1 kbytes 1024000;
    backup (database include current controlfile channel ch1);
    set limit channel ch2 kbytes 1024000;
    backup (archivelog all delete input channel ch2);
    I also limit the size of the pieces.
    Hope you get your problems sorted.

  • RMAN backup to disk on third machine

    Hi,
    How to take backup of oracle database running on machine M1 to the hard disk of other machine M2 using RMAN
    Thanks

    Hi,
    never tried it, but I know that the shared folders in vbox don't work like normal filesystems.
    I would rather setup an NFS server on the host and mount an NFS share in the guest.
    Regards
    Sebastian

  • How to perform a Oracle-Offline-Backup started from within SAP in Cluster

    Hello,
    I didn't find a solution on web (at SAP/SUN/newsgroups) for the following problem:
    environment
    - offline-backup of Oracle-database (database of an SAP-R/3 ERP-system)
    - Sun Cluster 3.1 environment (SUNW.oracle_server:3.1, SUNW.oracle_listener:3.1, SUNW.sap_ci_v2)
    - backup should be started from within the SAP R/3 scheduler (SAP transaction: db13)
    - Oracle-RMAN-backup with Legato networker 7.1
    - SID of SAP-system: Q22
    problem
    When SAP starts the backup-job (scheduler: db13, type: Full database offline backup >> option: offline_force) the brbackup commands shuts down the database and starts RMAN-backup. But then the Sun Cluster sees that the database is down and starts it up. This action of the cluster crashes the backup.
    Now I found a tricky solution for that problem:
    1.
    Install sudo because the following script will not be run as root...
    2.
    run visudo and add this line (the scheduler db13 uses the OS-user <SID>adm)
    q22adm ALL=NOPASSWD: /usr/cluster/bin/
    3.
    make a shell-script which should reside on a global mount:
    /sapmnt/Q22/MB/offline_backup_Q22.sh
    #!/bin/sh
    /usr/local/bin/sudo /usr/cluster/bin/scswitch -n -j Q22db-srv
    sleep 10
    /usr/sap/Q22/SYS/exe/run/brbackup -u / -c force -t offline_force -m full -p initQ22rmanoffline.sap
    /usr/local/bin/sudo /usr/cluster/bin/scswitch -e -j Q22db-srv
    4.
    edit the table sapr3.sxpgcotabe in the Oracle-database and add an entry like:
    NAME: ZOFFLINEBACKUP_Q22
    OPSYSTEM: ANYOS
    OPCOMMAND: /sapmnt/Q22/MB/offline_backup_Q22.sh
    this is not possible via SAP, use Oracle-tools!
    5.
    edit table sdbac via SAP-transaction se16, select DBSYS=ORACLE and add an entry like:
    SHORTCUT ZOFF
    DBSYS ORACLE
    OPSYS *
    LANGUAGE E
    SHORTNAM FullOffClu
    LONGNAME Full database offline backup >SunCluster
    HOST $DBHOST
    CTYPE EXT
    CNAME ZOFFLINEBACKUP_Q22
    6. Schedule the offline-backup via SAP-transaction (new type available: Full database offline backup >SunCluster)
    I hope that maybe helps someone...
    cu, Otmar

    You may find further informations here:
    <span style="text-decoration: none"><font color="#0000FF">www.oracle-10g.de</font></span></font></strong></span></p>
    <p><span class="bibliotext"><strong>
    <font size="2" face="Arial">

  • GZIP RMAN BACKUP

    Dear All
    We are running Oracle 10g(10.2.0.4) on Solaris 10
    I want to gzip up my rman backups, which are to disk.
    How do I add the command to my script so after end of backup it starts gzipping it.
    Please find the script below
    export ORACLE_BASE=/app/oradataerp/oraprod
    export ORACLE_HOME=/app/oradataerp/oraprod/db/tech_st/10.2.0
    export ORACLE_SID=PROD
    export LD_LIBRARY_PATH=${ORACLE_HOME}/lib
    export PATH=${ORACLE_HOME}/bin:${ORACLE_HOME}/lib:${PATH}
    export DATE=`/usr/bin/date +%Y%m%d`
    rman target sys/***** nocatalog msglog /nfs-bkp-erp/PROD-ERP/PROD-DB/RMAN.${DATE}.log <<EOF
    crosscheck archivelog all;
    #backup database format '/nfs-bkp-erp/PROD-ERP/PROD-DB/PROD_t%t_s%s_p%p%c';
    #backup current controlfile format '/nfs-bkp-erp/PROD-ERP/PROD-DB/PROD_cntrl_t%t_s%s_p%p%c';
    #delete noprompt archivelog All complEted before 'SYSDATE-10';
    crosscheck backup;
    #delete expired archivelog all;
    delete obsolete;
    crosscheck backup;
    EXIT
    EOF;
    Regards
    Musaddaq

    When using compression, you will need to actually test to see which backup compression gives you the best compression/performance. Higher compression = slower performance, Lower compression ratio = more performance.
    To make your life a lot easier when trying to do backups, make sure you do rman backup to disk, then sweep these backups to tape. The restore would then be much faster.

  • RMAN Backups residing remotely

    Oracle Version: 11.2.0.3 x64
    OS: Win 2008 server x64
    Hi Experts.
    We need to replicate a database on one of our boxes, with very limited space on disk. The database size is roughly 200gb, free space on disk is 250gb, and the RMAN backups are roughly 80gb.
    The RMAN backup pieces have been cataloged with the following path:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   'd:\rman\%d\bkup_%d_%U';So, if we attempt a restore/replication on the local server, RMAN would look for backups on the local D drive, under D:\rman\<db_name>\
    In the past we used to copy the RMAN backups on the local server where the replication is required, and perform the replication locally without any issues; however, with a very limited space that won't fit both the replicated instance and the RMAN copies, we're not quite sure how further proceed!?
    Can we instruct the RMAN replication session to look for backups in a remote server?
    We do keep 3 weeks of RMAN backups on disk, hence the 80GB RMAN backups size. As far as I remember a full backup has been performed last Sun. Can we only bring over Sun full backup (and any subsequent incremental backups)? or do we need to copy the whole thing across to the local server?
    Any ideas please?
    Thanks

    I've been trying the duplicate command with the "from active database" clause but we're getting some permissions errors that I'm not sure about:
    C:\Users\oracle>rman target sys/xxx@vssrp auxiliary sys/password@vssrl
    Recovery Manager: Release 11.2.0.3.0 - Production on Sat Sep 1 16:28:25 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: vssrp (DBID=1391811405)
    connected to auxiliary database: vssrl (not mounted)
    RMAN> run {
    2>    allocate channel c1 type disk;
    3>    allocate auxiliary channel DUP type disk;
    4>    duplicate target database to vssrl from active database;
    5> }
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=1252 device type=DISK
    allocated channel: DUP
    channel DUP: SID=673 device type=DISK
    Starting Duplicate Db at 01-SEP-12
    contents of Memory Script:
       sql clone "create spfile from memory";
    executing Memory Script
    sql statement: create spfile from memory
    contents of Memory Script:
       shutdown clone immediate;
       startup clone nomount;
    executing Memory Script
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    contents of Memory Script:
       sql clone "alter system set  db_name =
    ''vssrp'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       sql clone "alter system set  db_unique_name =
    ''vssrl'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
       shutdown clone immediate;
       startup clone force nomount
       backup as copy current controlfile auxiliary format  'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL02.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       restore clone controlfile to  'D:\ORACLE\ORADATA\vssrl\CONTROL03.CTL' from
    'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
       alter clone database mount;
    executing Memory Script
    sql statement: alter system set  db_name =  ''vssrp'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set  db_unique_name =  ''vssrl'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area    3140026368 bytes
    Fixed Size                     2259312 bytes
    Variable Size                788530832 bytes
    Database Buffers            2315255808 bytes
    Redo Buffers                  33980416 bytes
    allocated channel: DUP
    channel DUP: SID=578 device type=DISK
    Starting backup at 01-SEP-12
    channel c1: starting datafile copy
    copying current control file
    released channel: c1
    released channel: DUP
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/01/2012 16:29:14
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on c1 channel at 09/01/2012 16:29:14
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: Cannot connect to the remote database serverAs you can see from the above, we're logging in to both databases (target and aux) as sys; also the local OS oracle user is a member of administrators and can write files on to disks.
    Any idea please?
    Thanks

  • How to distribute RMAN backup among tape volumes in OSB

    Hi Guys,
    I would like to ask some information about OSB. I have finally set up our Oracle Secure Backup 10.3.0.3.0 and initial OSB backup to tape is good using our test environment.
    Now, our production servers has the following details:
    Serv01
    - Oracle Database 11.1.0.7
    - Windows Server 2003 R2
    - Current RMAN backup to disk full (level 0) is at 2TB.
    Serv02
    - this is our media server for OSB and we manage from here all other servers that we would like OSB to be implemented.
    -Windows Server 2003 R2
    - We have IBM tape library here with four drives
    - Our tape volumes are 480GB each (compressed) we about 50 of them.
    -Each tape volume has barcodes and our library has barcode reader
    How can I group certain tapes (as a media family?) and use them for our level 0 backup. As you know, one tape cannot hold our level 0 backup so we need at least 5 tape volumes to hold our level 0 backup. Is there a step by step process of doing this? Or does anyone know how to do this?
    Thanks and I would really appreciate your thoughts about this.

    Yes, media families (like tape pools) are used to group backups on tape. Using a database backup storage selector, you set-up media policy so OSB will automatically select appropriate storage when for the backup per your settings. You may want to refer to this white paper which discusses media management:
    http://www.oracle.com/technetwork/database/secure-backup/learnmore/osb-103-twp-166804.pdf
    Donna

  • Backup to disk storage, from ASM enabled DB, Solaris 10,11gRel1. RAC

    Hi,
    I am struggling with completing backup of database within appropriate time. It keeps running for days. I have tried with 07 channels and now trying with 03 channels.
    Database is 2 node RAC cluster, each running "Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production" on Solaris 10, SPARC-Enterprise-T5220 with 6 CPU and 32GB RAM. The ASM is running on LUNs taken from IBM XIV.
    RMAN> SHOW ALL;
    RMAN configuration parameters for database with db_unique_name EPMPRD are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 10 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u998/backups/epmprd/rman_backup/ora_cf%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO COPY;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u998/backups/oepmprd/rman_backup/%d_%u_%p_%N_fileno:%f.dbf';
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/u998/backups/epmprd/rman_backup/ora_df_%d_%T_%s_%c_%p' CONNECT '*';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/u998/backups/epmprd/rman_backup/ora_df_%d_%T_%s_%c_%p' CONNECT '*';
    CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT '/u998/backups/epmprd/rman_backup/ora_df_%d_%T_%s_%c_%p' CONNECT '*';
    CONFIGURE MAXSETSIZE TO 4296 M;
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'ZLIB';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    SQL> SELECT filename, status, bytes FROM v$block_change_tracking;
    FILENAME STATUS BYTES
    +DGA1/epmprd/block_change.dbf            ENABLED      22085632
    RMAN script running under crontab has:
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '$DATA_FILE_DIR/ora_df_%d_%T_%s_%c_%p' connect = '$CONNECT_TARGET1';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '$DATA_FILE_DIR/ora_df_%d_%T_%s_%c_%p' connect = '$CONNECT_TARGET1';
    CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT '$DATA_FILE_DIR/ora_df_%d_%T_%s_%c_%p' connect = '$CONNECT_TARGET1';
    BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 0 DATABASE FILESPERSET 1;
    BACKUP ARCHIVELOG ALL not backed up FORMAT '$DATA_FILE_DIR/ora_arch_%d_%s_%T_%c_%p';
    DELETE FORCE NOPROMPT ARCHIVELOG UNTIL TIME 'SYSDATE-7' backed up 2 times to disk;
    BACKUP SPFILE format '$DATA_FILE_DIR/spfile_%d_%T_%s_%p';
    where TARGET1=epmprd1 (instance 1 of RAC i.e. using instance 1 as backup node)
    SQL> @tbs_usage.sql
    TABLESPACE_NAME SUM_SPACE(M) SUM_BLOCKS USED_SPACE(M) USED_RATE(%) FREE_SPACE(M)
    SYSTEM 2000 256000 1074.94 53.75 925.06
    CALC 250 32000 5.5 2.2 244.5
    FDMCOMMA2D 250 32000 .06 .02 249.94
    FDMXCHANGING1I 250 32000 .06 .02 249.94
    FDMXCHANGING1D 250 32000 .06 .02 249.94
    FDMXCHANGING3I 250 32000 .06 .02 249.94
    FDMXCHANGING4D 451.56 57800 421.06 93.25 30.5
    USERS 2000 256000 381.37 19.07 1618.63
    BIPLUS 250 32000 81.44 32.58 168.56
    FDMCOMMAI 250 32000 .06 .02 249.94
    FDMXCHANGING2I 250 32000 .06 .02 249.94
    UNDOTBS2 4279 547712 18.44 .43 4260.56
    EPMA 250 32000 57.81 23.12 192.19
    EPMAINT 250 32000 .06 .02 249.94
    HFM 50000 6400000 18566.75 37.13 31433.25
    HSS 250 32000 25.06 10.02 224.94
    FDMSTAT 250 32000 .06 .02 249.94
    FDMCOMMAD 250 32000 .06 .02 249.94
    FDMCOMMA2I 250 32000 .06 .02 249.94
    FDMXCHANGING2D 250 32000 .06 .02 249.94
    FDMXCHANGING3D 250 32000 .06 .02 249.94
    SYSAUX 2000 256000 1208.37 60.42 791.63
    FDMXCHANGING4I 250 32000 .06 .02 249.94
    UNDOTBS1 2000 256000 26.56 1.33 1973.44
    TEMP 10284 1316352 10284 100 0
    25 rows selected.
    SQL>select sum(bytes/1024)/1024/1024 from dba_segments;
    SUM(BYTES/1024)/1024/1024
    40.0876465
    Please share what i can do to optimize the backups. Your suggestions are highly appreciated.
    regards,
    Anjum

    Hi,
    /998 is SAN mountpoint taken from IBM XIV.
    oepmprd@basfisprddatg01$ cat /etc/vfstab | grep -i u998
    /dev/md/dsk/d200 /dev/md/rdsk/d200 /u998 ufs 2 yes logging
    I have done some testing and following are results.
    1.
    ASMCMD> cp hfm22.dbf /u998/backups/epmprd/rman_backup
    copying +DGA1/epmprd/hfm22.dbf -> /u998/backups/epmprd/rman_backup/hfm22.dbf
    oepmprd@basfisprddatg01$ du -sh hfm22.dbf
    2.0G hfm22.dbf
    Time taken: 29 seconds
    ================================================
    2.
    ASMCMD> cp group_5.600.766282841 /u998/backups/epmprd/rman_backup
    copying +FRA/epmprd/ONLINELOG/group_5.600.766282841 -> /u998/backups/epmprd/rman_backup/group_5.600.766282841
    oepmprd@basfisprddatg01$ du -sh group_5.600.766282841
    500M group_5.600.766282841
    Time taken: 11 seconds
    ================================================
    3.
    ASMCMD> cp temp01.dbf /u998/backups/epmprd/rman_backup
    copying +DGA1/epmprd/temp01.dbf -> /u998/backups/epmprd/rman_backup/temp01.dbf
    oepmprd@basfisprddatg01$ du -sh temp01.dbf
    10.0G temp01.dbf
    Time taken: 03 mins, 16 seconds
    =================================================
    Moreover, i copied a file from /u998 to /tmp and it was quick:
    grid@basfisprddatg01$ pwd
    /u998/backups/epmprd/rman_backup
    grid@basfisprddatg01$ du -sh ora_df_EPMPRD_20111210_7783_1_1
    266M ora_df_EPMPRD_20111210_7783_1_1
    grid@basfisprddatg01$ cp ora_df_EPMPRD_20111210_7783_1_1 /tmp/
    It took 2-3 seconds.
    regards,
    Anjum
    Edited by: Anjum Shehzad on Dec 12, 2011 11:18 AM

  • Resume a failed RMAN incremental 0 cold backup to disk

    Linux x86-64 10.2.0.4
    I'm taking an incremental 0 backup to disk of a database that's mounted. I'm backing up the database to an NFS volume. I lost the NFS mount. Is there any way to resume a backup where it left off at? It complains "ORA-27038: created file already exists" if I restart it. RMAN can easily resume a restore. I don't have the time to redo the whole thing all again. The database is over 10TB. The target isn't up. Is there anything I could do?

    Hemant K Chitale wrote:
    I lost the NFS mount point, as in it was no longer mounted to the host. If it was any other scenario, I wouldn't be attempting to resume it.and
    I still have the previously restored files. I wouldn't be recieving "ORA-27038: created file already exists" otherwise. I am still confused.
    I guess that you are talking of a BACKUP not a RESTORE (unlike the sentence that says "previously restored files").I meant backup. I'm also doing a restore for another purpose, so it was on my mind. It was some sort of phsychological slip.
    >
    "The NFS mount point is no longer mounted.". So what happened to the files that did get written to the NFS mount point ? Did you copy them to tape before the NFS mount point got unmounted ? Or is the NFS server still up and running, with the partial backup intact on it, except that the remote mount is disabled ?
    We had a network problem and we lost the NFS mount. Most of the files are there, just not the whole database. I didn't copy them to tape. The whole purpose was to use the backup as a clone by manually recreating the controlfle, and pulling it into another ASM instance on another cluster. We first need to pull it out of the current ASM instance. The NFS volume was remounted, but my concern is being able to resume the backup from where it left off at.
    How about running
    BACKUP ... NOT BACKED UP SINCE TIME 'date_string'From the documentation : "This option is a convenient way to back up files that were not backed up during a previous failed backup. For example, you back up the database, but the instance fails halfway through. You can restart the backup with the NOT BACKED UP SINCE TIME clause and avoid backing up those files that you already backed up."I'll have to give that a try. It sounds promising.
    >
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • RMAN backup in ORACLE RAC database

    Hi there,
    We are using RMAN backup strategy for taking backups from one node(eg.node1).Database is RAC database, version 9.2.3. and OS is Solaris 5.10.
    this is the configuration which we use, as follows:
    Connecting to Prod.Database using catalog database.
    rman catalog=rman/rman@CATDB target=sys/oracle@PRODDB(node 2).
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 30;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rmanback/_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/CMWPROD_%s.bak';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'SYS/oracle@PRODDB(node2)';
    CONFIGURE MAXSETSIZE TO 7 G;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/9.2.3/dbs/snapcf_CMWPROD1.f';
    As the above config shows RMAN is connecting to PROD DB (node 2). But we need to take backups (datafiles and as well as archive logs) from two nodes (i.e from node 1 and as well as node 2).
    Is there any possibility for taking backups from two nodes?
    Thanks,
    Balu.

    Duplicate thread
    RMAN configuration in ORACLE RAC database
    Khurram                                                                                                                                                                                                                               

  • RMAN backup on RAC

    Hi,
    DB=10.2.0.4 OS=RHL (RAC with 2 nodes db01,db02). Following are the types of automated RMAN backups taken on db01.
    - OCR
    - Voting Disk
    - Talespaces Snapshot
    - Archivelog (every hour)
    - Backup Incremental level 0 (SUNDAY)
    -- backup incrementa level 1 (Mon-SAT)
    - Autobackup of Control file and SPFILE (CONTROLFILE AUTOBACKUP ON)
    Two main questions please. First, are these backups/backup types are enough FOR FULL RESTORE when talking about RMAN backup on RAC environment with 2 nodes? If not please suggest what else I need to backup?
    Secondly, backup home location is /rman which I can see on db01 ONLY. This /rman directory I cannot see on db02. My question is that In case of db02 failure can I restore from this /rman directory? or do I need to automate backup schedules also on db02 separately?
    [root@db01~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  2.9G  814M  79% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  225M  3.5G   6% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  379M  3.4G  11% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  8.7G  2.6G  78% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    /dev/mapper/36001ec9000d5ea810000061349015d98
                          1.3T  551G  665G  46% /rman
    [root@db02~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  887M  2.9G  24% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  261M  3.5G   7% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  355M  3.4G  10% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  6.5G  4.8G  58% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    [oracle@db01~]$ rman target /
    Recovery Manager: Release 10.2.0.5.0 - Production on Fri Feb 24 11:49:59 2012
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: F1 (DBID=1245145263)
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 28 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/f1/fullbackup/%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_f11.f'; # default
    # Script for backup
    level0 ()
    run {
      allocate channel c1 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/fullbackup/$ORACLE_SID-data-%U-%t';
      allocate channel c2 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/archive/$ORACLE_SID-arch-%U-%t';
      backup incremental level 0 tag = weeklyfull database channel c1
      plus archivelog tag = ARCH_$TODAY delete all input channel c2;
      release channel c1;
      release channel c2;
    run {
      allocate channel c1 type disk;
      delete noprompt obsolete;
      release channel c1;
    }Bundle of thanks.
    Regards,
    Edited by: 910385 on Feb 24, 2012 3:00 AM

    Hi,
    THanks alot for your feedback. Makes my life easier :) . But actually I started studying this all subject because of the following error message in the log file. I found out about this error that doesn't seem to harm. Just wait for the job to finish or it will sort out automatically. Here are the lines from the log file.
    Fehler in Backuplogs gefunden:/oracle/log/fcp11-backup-2300.log: RMAN-00571:
    ===========================================================brRMAN-00569: ===============
    ERROR MESSAGE STACK FOLLOWS ===============brRMAN-00571:
    ===========================================================brRMAN-03009: failure of
    Control File and SPFILE Autobackup command on c1 channel at 02/08/2012
    06:10:41brORA-00230: operation disallowed: snapshot control file enqueue unavailableI studied few important lines from one of my book, Oracle 11g RMAN backup and recovery (Roberg G Freeman) that I am going to write after the following MAIN ISSUE:
    Node 1
    RMAN> show all;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp11.f'; # default
    Node 2
    RMAN> show all;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_fp12.f'; # default
    Thing which I just noticed regarding the above RMAN error is that snapcf_fp11.f can be seen on the Node 1 on todays date but snapcf_fp12.f was only on 10th jan.
    [oracle@db01dbs]$ ls -lrth
    -rw-r----- 1 oracle oinstall  20M Feb 27 15:10 snapcf_fcp11.f
    [oracle@db02dbs]$ ls -lrth
    -rw-r----- 1 oracle oinstall  20M Jan 10 13:28 snapcf_fcp12.fTHe few lines from the book which I mentioned above are: (Though you might not need to read those lines):
    "You need to move the snapshot control file to a shared location if you plan to run backups from more than one node. If you do not move the snapshot control file to a shared file system such as OCFS or an ASM disk group, then you must make sure that the local destination is identical on all nodes."
    My question is of course, how to sort out the above log file error. Becuse in our case, backups are run only from one node, and snaphost control file is not being moved to ASM disk groups. Local destination is also same on both the Nodes, isn't it (with different names). Why on Node 2 last snapshot was taken on 10th jan while on Node 1 it is todays date which seems fine.
    Control file and SPFILE which I noticed are stored on ASM disk groups also, so being shared between the two Nodes.
    (Sanme names/same location for control file and SPFILE on Node 1 and Node 2)
    Control file:
    +REDO1/fp1/controlfile/current.256.652803827
    +DATA1/fp1/controlfile/current.441.652869697
    SPFILE:
    +DATA1/fp1/spfilefcp1.oraPlease suggest.
    Thank you.
    Regards,
    Edited by: 910385 on Feb 27, 2012 7:43 AM

Maybe you are looking for

  • Report with multiplying columns  and WITH clause

    Hello I saw sth strange in my report. I assume that it could happens very often. I have report with few columns which two of them ar most complicated (many joins subqueries aggreagations on joined values etc.) These two columns (i.e C3,C4) should be

  • Linksys WRT54G v5 - Connection issues

    Good evening, I picked up a new WRT54G (v5) the other day to replace an old BEFW11 router, and so far have been far less than impressed.  I have one computer on the wired connection, and one on wireless.  It seems, though, that if the wireless system

  • Macbook gone to reset mode

    Seems like my macbook has gone to reset mode except that files and applications are intact. I tried to rearrange the icons but it came back to reset mode again whenever it is restarted. Basically, the icons are messed up, the dock was like what it wa

  • What does a progress bar next to a video file mean?

    What does a progress bar next to a video file mean? and how can I get rid of it? Thanks!

  • Needed Business Blue Print

    hai can anyone send the sample example business blue print phase document and GAP Analysis document (already implemented preject) urgently to [email protected] I will assign the points for this thank John