Performance on RMAN backups and LOBs

Hi all,
We have a 4-node database (11.2.0.3) running on a RHEL. The db has 2.5TBs, and we realized that the incremental level 1 backup is taking too long to complete. Doing some research, we found some blog posts saying that, during a backup of a segment, if that same segment has a lot of lob segments (and that is our case... a lot of lob segments) and the backup is being compressed (we are using CONFIGURE COMPRESSION ALGORITHM 'HIGH' OPTIMIZE FOR LOAD TRUE AS OF RELEASE 'DEFAULT') this same backup can take a lot longer than a uncompressed backup. What i would like to know is if you had an equal experience and if changing the compression algorithm to none, the backup will run faster.
PS - The input and output of the backup is disk.
Thanks in advance.

Thanks for your attention, we disabled the compression in our backup and it did run faster.
I would like to know another thing, if possible: Is there any rule to determine the correct number of channels. I know each channel creates a session and paralellize the backup. For example, the number of channels is related to the number of cpu cores? ... or the number of output devices?
Thanks again in advance.

Similar Messages

  • RMAN backup and restore for Disaster Recovery

    Hi Guys,
    I am very new to Oracle and have a question about RMAN backup and restore feature. I am simulating a disaster recovery scenario by having two VMs running oracle 11g, say hosta and hostb, hosta is sort of production db and the other a disaster recovery db (one that will be made primary when disaster occurs). My goal is to backup production db using RMAN and restore it on the other machine. For some reason when I restore the db on hostb, the command restores the previous backup but not the most recent one e.g. I took a backup yesterday (09/20) and applied it to the hostb that worked fine, but when I try to apply a fresh backup from today (09/21) it always picks up the old backup. Here's a dump of the screen:
    Starting restore at 21-SEP-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /oracle/app/dev/oradata/forums/s
    ystem01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /oracle/app/dev/oradata/forums/s
    ysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /oracle/app/dev/oradata/forums/u
    ndotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /oracle/app/dev/oradata/forums/u
    sers01.dbf
    channel ORA_DISK_1: reading from backup piece /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp
    channel ORA_DISK_1: piece handle=/oracle/app/dev/flash_recovery_area/FORUMS/back
    upset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp tag=TAG20110920T040950
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:05
    Finished restore at 21-SEP-11
    Notice that it reads the backup piece from this location /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/
    whereas my latest backups are stored at a different location.
    I am executing following steps at the RMAN prompt on hosta and hostb:
    hosta (production site)
    backup as compressed backupset database plus archivelog
    backup current controlfile format'/oracle/oracle_bkup/ctl_%U'
    backup spfile
    hostb (Disaster site)
    set dbid=13732232063
    startup force nomount
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/2011_09_21/o1_mf_nnsnf_TAG20110921T114945_77ndg9ys_.bkp'
    shutdown immediate
    /* create a init<db_name>.ora file with SPFILE= /oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora */
    startup force pfile='/export/home/dev/restore_db/initforums.ora' nomount
    restore controlfile from '/export/home/dev/restore_db/backupset/2011_09_21/ctl_1hmn3mic_1_1'
    /* restart rman here */
    quit
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/2011_09_21' noprompt;
    /* call the next two commands on run */
    restore database;
    recover database;
    alter database open resetlogs
    quit
    Any help will be greatly appreciated.
    Thanks,
    Rajesh

    Thanks guys, I really appreciate all your help here. I redid everything all over again to get all the information you guys wanted. Since I noticed that more eyes are looking into this I am going to reiterate my steps one more time followed by specific answers to questions. My first backup on Host B is located under ..../restore_db/backupset whereas the subsequent one is under .../restore_db/backupset/backupset2.
    I take backup on Host A using:
    rman target /
    backup as compressed backupset database plus archivelog;
    backup spfile;
    quit;
    I restore the backup on Host B using:
    set dbid=13732232063;
    startup force nomount;
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/o1_mf_nnsnf_TAG20110928T171830_787gbpxh_.bkp'
    shutdown immediate;
    startup force nomount;
    restore controlfile from '/export/home/dev/restore_db/backupset/o1_mf_ncsnf_TAG20110928T171638_787gbkxn_.bkp'
    quit;
    /* restart rman here */
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset' noprompt;
    restore database;
    recover database;
    alter database open resetlogs;
    quit;
    I take another backup on Host A using (notice no spfile backup this time):
    backup as compressed backupset database plus archivelog;
    quit;
    I restore the database on Host B using:
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/backupset2' noprompt;
    recover database;
    alter database open;
    quit;
    Output of List Backup of database (I have done this after I recovered the second time, also note that it is referring to backupset2 which is were my second backup is stored)
    RMAN> list backup of database;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 91 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /export/home/dev/restore_db/backupset/o1_mf_nnndf_TAG2011092
    8T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    97 Full 259.16M DISK 00:00:00 28-SEP-11
    BP Key: 100 Status: AVAILABLE Compressed: YES Tag: TAG20110928T18352
    7
    Piece Name: /export/home/dev/restore_db/backupset/backupset2/o1_mf_nnndf
    TAG20110928T183527787lv0nb_.bkp
    List of Datafiles in backup set 97
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    Output of list backup (done after restoring the control file)
    RMAN> list backup;
    BS Key Size Device Type Elapsed Time Completion Time
    87 89.20M DISK 00:00:26 28-SEP-11
    BP Key: 87 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g50bm_.bkp
    List of Archived Logs in backup set 87
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 34 1302253 20-SEP-11 1306439 20-SEP-11
    1 35 1306439 20-SEP-11 1307647 20-SEP-11
    1 36 1307647 20-SEP-11 1307701 20-SEP-11
    1 37 1307701 20-SEP-11 1311393 20-SEP-11
    1 38 1311393 20-SEP-11 1311511 20-SEP-11
    1 39 1311511 20-SEP-11 1332479 20-SEP-11
    1 40 1332479 20-SEP-11 1344418 20-SEP-11
    1 41 1344418 20-SEP-11 1350409 20-SEP-11
    1 42 1350409 20-SEP-11 1350449 20-SEP-11
    1 43 1350449 20-SEP-11 1350854 21-SEP-11
    1 44 1350854 21-SEP-11 1350895 21-SEP-11
    1 45 1350895 21-SEP-11 1353114 21-SEP-11
    1 46 1353114 21-SEP-11 1353254 21-SEP-11
    1 47 1353254 21-SEP-11 1353865 21-SEP-11
    1 48 1353865 21-SEP-11 1353988 21-SEP-11
    1 49 1353988 21-SEP-11 1375403 21-SEP-11
    1 50 1375403 21-SEP-11 1376149 21-SEP-11
    1 51 1376149 21-SEP-11 1376206 21-SEP-11
    1 52 1376206 21-SEP-11 1376246 21-SEP-11
    1 53 1376246 21-SEP-11 1379990 21-SEP-11
    1 54 1379990 21-SEP-11 1380229 21-SEP-11
    1 55 1380229 21-SEP-11 1380266 21-SEP-11
    1 56 1380266 21-SEP-11 1380528 21-SEP-11
    1 57 1380528 21-SEP-11 1380724 21-SEP-11
    1 58 1380724 21-SEP-11 1380861 21-SEP-11
    1 59 1380861 21-SEP-11 1381033 21-SEP-11
    1 60 1381033 21-SEP-11 1381077 21-SEP-11
    1 61 1381077 21-SEP-11 1402243 22-SEP-11
    1 62 1402243 22-SEP-11 1423341 22-SEP-11
    1 63 1423341 22-SEP-11 1435456 22-SEP-11
    1 64 1435456 22-SEP-11 1454415 23-SEP-11
    1 65 1454415 23-SEP-11 1490903 23-SEP-11
    1 66 1490903 23-SEP-11 1491266 23-SEP-11
    1 67 1491266 23-SEP-11 1491347 23-SEP-11
    1 68 1491347 23-SEP-11 1492761 23-SEP-11
    1 69 1492761 23-SEP-11 1492891 23-SEP-11
    1 70 1492891 23-SEP-11 1493678 23-SEP-11
    1 71 1493678 23-SEP-11 1493704 23-SEP-11
    1 72 1493704 23-SEP-11 1494741 23-SEP-11
    1 73 1494741 23-SEP-11 1494790 23-SEP-11
    1 74 1494790 23-SEP-11 1510154 23-SEP-11
    1 75 1510154 23-SEP-11 1514286 23-SEP-11
    1 76 1514286 23-SEP-11 1531967 24-SEP-11
    1 77 1531967 24-SEP-11 1543266 24-SEP-11
    1 78 1543266 24-SEP-11 1558427 24-SEP-11
    1 79 1558427 24-SEP-11 1566924 24-SEP-11
    1 80 1566924 24-SEP-11 1578292 24-SEP-11
    1 81 1578292 24-SEP-11 1596894 25-SEP-11
    BS Key Size Device Type Elapsed Time Completion Time
    88 84.03M DISK 00:00:30 28-SEP-11
    BP Key: 88 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g63s9_.bkp
    List of Archived Logs in backup set 88
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 82 1596894 25-SEP-11 1609028 25-SEP-11
    1 83 1609028 25-SEP-11 1622303 25-SEP-11
    1 84 1622303 25-SEP-11 1626430 25-SEP-11
    1 85 1626430 25-SEP-11 1634486 25-SEP-11
    1 86 1634486 25-SEP-11 1648398 25-SEP-11
    1 87 1648398 25-SEP-11 1669259 26-SEP-11
    1 88 1669259 26-SEP-11 1686820 26-SEP-11
    1 89 1686820 26-SEP-11 1686959 26-SEP-11
    1 90 1686959 26-SEP-11 1689168 26-SEP-11
    1 91 1689168 26-SEP-11 1704759 26-SEP-11
    1 92 1704759 26-SEP-11 1719597 27-SEP-11
    1 93 1719597 27-SEP-11 1740407 27-SEP-11
    1 94 1740407 27-SEP-11 1750125 27-SEP-11
    1 95 1750125 27-SEP-11 1765592 27-SEP-11
    1 96 1765592 27-SEP-11 1781498 28-SEP-11
    1 97 1781498 28-SEP-11 1802311 28-SEP-11
    1 98 1802311 28-SEP-11 1811009 28-SEP-11
    1 99 1811009 28-SEP-11 1813811 28-SEP-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 89 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_nnndf_TAG20110928T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf

  • RMAN BACKUPS AND ARCHIVED LOG ISSUES

    제품 : RMAN
    작성날짜 : 2004-02-17
    RMAN BACKUPS AND ARCHIVED LOG ISSUES
    =====================================
    Scenario #1:
    1)RMAN이 모든 archived log들을 삭제할 때 실패하는 경우.
    database는 두 개의 archive destination에 archive file을 생성한다.
    다음과 같은 스크립트를 수행하여 백업후에 archived redo logfile을 삭제한다.
    run {
    allocate channel c1 type 'sbt_tape';
    backup database;
    backup archivelog all delete input;
    Archived redo logfile 삭제 유무를 확인하기 위해 CROSSCHECK 수행시 다음과
    같은 메시지가 발생함.
    RMAN> change archivelog all crosscheck;
    RMAN-03022: compiling command: change
    RMAN-06158: validation succeeded for archived log
    RMAN-08514: archivelog filename=
    /oracle/arch/dest2/arcr_1_964.arc recid=19 stamp=368726072
    2) 원인분석
    이 문제는 에러가 아니다. RMAN은 여러 개의 arhive directory중 하나의
    directoy안에 있는 archived file들만 삭제한다. 그래서 나머지 directory안의
    archived log file들은 삭제되지 않고 남게 되는 것이다.
    3) 해결책
    RMAN이 강제로 모든 directory안의 archived log file들을 삭제하게 하기 위해서는
    여러 개의 채널을 할당하여 각 채널이 각 archive destination안의 archived file을
    백업하고 삭제하도록 해야 한다.
    이것은 아래와 같이 구현될 수 있다.
    run {
    allocate channel t1 type 'sbt_tape';
    allocate channel t2 type 'sbt_tape';
    backup
    archivelog like '/oracle/arch/dest1/%' channel t1 delete input
    archivelog like '/oracle/arch/dest2/%' channel t2 delete input;
    Scenario #2:
    1)RMAN이 archived log를 찾을 수 없어 백업이 실패하는 경우.
    이 시나리오에서 database를 incremental backup한다고 가정한다.
    이 경우 RMAN은 recover시 archived redo log대신에 incremental backup을 사용할
    수 있기 때문에 백업 후 모든 archived redo log를 삭제하기 위해 OS utility를 사용한다.
    그러나 다음 번 backup시 다음과 같은 Error를 만나게 된다.
    RMAN-6089: archive log NAME not found or out of sync with catalog
    2) 원인분석
    이 문제는 OS 명령을 사용하여 archived log를 삭제하였을 경우 발생한다. 이때 RMAN은
    archived log가 삭제되었다는 것을 알지 못한다. RMAN-6089는 RMAN이 OS 명령에 의해
    삭제된 archived log가 여전히 존재하다고 생각하고 백업하려고 시도하였을 때 발생하게 된다.
    3) 해결책
    가장 쉬운 해결책은 archived log를 백업할 때 DELETE INPUT option을 사용하는 것이다.
    예를 들면
    run {
    allocate channel c1 type 'sbt_tape';
    backup archivelog all delete input;
    두 번째로 가장 쉬운 해결책은 OS utility를 사용하여 archived log를 삭제한 후에
    다음과 같은 명령어를 RMAN prompt상에서 수행하는 것이다.
    RMAN>allocate channel for maintenance type disk;
    RMAN>change archivelog all crosscheck;
    Oracle 8.0:
         RMAN> change archivelog '/disk/path/archivelog_name' validate;
    Oracle 8i:
    RMAN> change archivelog all crosscheck ;
    Oracle 9i:
    RMAN> crosscheck archivelog all ;
    catalog의 COMPATIBLE 파라미터가 8.1.5이하로 설정되어 있으면 RMAN은 찾을 수 없는
    모든 archived log의 status를 "DELETED" 로 셋팅한다. 만약에 COMPATIBLE이 8.1.6이상으로
    설정되어 있으면 RMAN은 Repository에서 record를 삭제한다.

    Very strange, I issue following command in RMAN on both primary and standby machine, but it they don't delete the 1_55_758646076.dbf, I find in v$archived_log, this "/home/oracle/app/oracle/dataguard/1_55_758646076.dbf" had already been applied.
    RMAN> connect target /
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    old RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters are successfully stored
    RMAN>
    ----------------------------------------------------------------------------------

  • Can RMAN backup and export datapump executed at the same time?

    Hello,
    I have several databases that I backup using RMAN and export datapump everynight starting at 6PM and end at Midnight. The backup maintenance window doesn't give me enough time for each database to run at different time. I am using crontab to schedule my backups. Since I have so many databases that need to be backed up between 6PM - Midnight, some of the export and RMAN backup scripts will execute almost at the same time. My question is can my export data pump and RMAN backup scripts run at the same time?
    Thank you in advance.
    John

    Needs must. If you don't run expdp parallel then it doesn't use that much. If it was really killing the system then look into setting up a Resource plan that knocks that user down but this is a big step.
    I woud better look into using Rman
    system incrementals, and block change tracking, to minimize your RMAN time.
    Regards
    If your shop needs to do both simultaneously then go for it.
    Chris.
    PS : One of my shops has maybe 20-30 rmans and pumps all kicking off some simultaneous, some not, from 0000 to 0130. No complaints from users and no problems either. Go for it.
    Edited by: Chris Slattery on Nov 25, 2012 11:19 PM

  • RMAN  backup and restore in network

    Hi,
    I have already did cold backup of database using RMAN in the same disk on a linux OS. It was successful.
    Now i want to do the same backup in a different disk on a another system. Both the systems are in same network.
    Please help me

    You can name the NFS mount point anything meaningful.
    In your RMAN Backup script, you would use the FORMAT clause to specify the location where the backups are to go to.
    For example, if the filesystem from linux2 is NFS-mounted on linux as as /NFS_backup your RMAN command would be
    BACKUP DATABASE FORMAT '/NFS_backup/%U';
    BACKUP ARCHIVELOG ALL FORMAT '/NFS_backup%U' DELETE INPUT ;Look up the syntax of the formatSpec in the Backup and Recovery Reference for formats other than %U. %U generates a Unique File Name.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • How to make an encrypted compressed RMAN backup and recovery

    Hallo!I am trying to make an RMAN backup that is compressed (definitely use compressed backup set in OEM).
    But my emphasis is to make the backup encrypted with a key (hoping to use Public Key Infrastructure )such that the database data can be sent via the network and the recepient can use a decryption key to decrypt the data.
    The recepient must also use a password to access the encrypted file for decryption.
    Is it possible to do this?If so please give the steps.
    Thanks.

    You can encrypt the backupset with RMAN Encrypted Backups, however Oracle Advanced Security Option (additional cost) is required.

  • Slow rman backup and slow database

    Hello all,
    Whenever I run rman backup to sbt_tape, the complete database becomes slow. Also RMAN takes more than 12 hours to complete.
    RMAN script is:
    run {
    allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    sql 'alter system switch logfile';
    backup incremental level 2 tag 'db_level2_backup'
    format'%d/INC2/%t/%s/%p'
    database diskratio=0;
    backup
    format '%d/LOG_INC2/%t/%s/%p'
    archivelog all
    delete all input;
    release channel t1;
    }The AWR shows following "Top 5 timed events"
    Event                                      Waits     Time(s)     Avg Wait(ms)     % Total Call Time     Wait Class
    db file sequential read                    817,467     17,419         21                         28.6         User I/O
    CPU time                                  14,294                              23.5     
    log file sync                            141,642     8,570         61                         14.1          Commit
    enq: TX - row lock contention              3,371     7,171       2,127                          11.8         Application
    log file parallel write                     149,486     5,356         36                           8.8           System I/OWhat can be done? Can anyone tell what wrong is happening here?
    Database is 10.2.0.4
    OS is AIX 5.3
    SGA_TARGET is 6G
    PGA_AGGREGATE_TARGET is 2G
    Total physical RAM is 12G
    EBiz application is running in the same server
    Regards,
    SA

    On my server, we needed to adjust the vmm on aix for oracle to run best. Before I did that it was really slow.
    http://www.ibm.com/developerworks/aix/library/au-aixoracle/index.html
    Specifically these as outlined in the document linked above:
    Listing 3. Changing the default setting for the lru_file_repage parameter using vmo
    root@lpar21ml16ed_pub[] > vmo -o lru_file_repage=0
    Setting lru_file_repage to 0
    root@lpar21ml16ed_pub[] >
    Setting this to 0 tells the VMM that you want to steal only file pages and not computational pages. As this will change if the numperm < minperm or > maxperm, we will make maxperm high and minperm very low. Years ago, before the lru_file_repage parameter was introduced, we used to make maxperm low. If we did this now, we would stop the application caching programs that are currently running.
    Listing 4 shows how we'll set these parameters:
    Listing 4. Setting the minperm, maxperm and maxclient parameters
    vmo -p -o minperm%=5
    vmo -p -o maxperm%=90
    vmo -p -o maxclient%=90
    We also want to take a look at minfree and maxfree. When the pages on our free list fall below minfree, the VMM will start to steal pages, which we don't want to happen until the free list has beefed up the number in maxfree. The values should be similar to the ones shown in Listing 5.
    Listing 5. Setting the minfree and maxfree parameters
    vmo -p -o minfree=960
    vmo -p -o maxfree=1088
    Edited by: user455434 on Oct 12, 2010 1:14 PM

  • Regarding RMAN backup and recovery using archivelogs during cloning process

    Hi there,
    We are running 9i database (RAC) in archivelog mode.We are in the process of cloning DEVELOPMENT database using our PRODUCTION database.
    For this we planned to take RMAN backup by keeping the production database in MOUNT stage.
    In this regard, will it be possible to make use of archivelogs generated during and after this backup (in mount stage), after some days during recovery time, if it asks for recovery after cloning process.
    Thanks,
    Balu.

    Hi Alok,
    why there is a need for standby here? you mean to say standby db?
    what i exactly need is , whether i will be making use of archivelogs which are all archived during that backup period (in mount stage) after some days, if i face any problem with the PRODUCTION Database..

  • Rman backup and restore from ASM env to Non ASM Environment

    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response

    874152 wrote:
    Hi,
    I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
    Please let me know the procedure.
    would appreciate your quick response
    Hi,
    You can follow this procedure
    1. take the backup to destination host
    2. restore spfile and controlfile
    3. catalog the backup with command 'catalog start with <location of backup>'
    4. use "set newname for datafile" to restore the datafile to non asm disk
    5. restore database
    6. recover database until point in time
    7. rename redolog and tempfile
    8. open database with resetlogs
    9. remove redolog group from another instance
    10. you might want to drop undo tablespace from another instance too
    11. task complete
    Cheers

  • RMAN backup and TSM question

    We have rman backup file name contains the datetime so it is unique and easy to tell. But TSM keeps every file 4 versions, so the backup file (always 1 version because of unique name) will stay on tape forever. I have no idea about TSM, according to your experience, what is the normal solution here?

    Dedicated forum for {forum:id=74}.
    But quickly, in general, "DBA" and "TSM/Storage manager" need to agree on media manager use and setup the system accordingly.
    Edited by: orafad on May 19, 2011 3:00 PM

  • RMAN Backup and Restore - From AIX to Linux

    Hi All,
    I want to take RMAN Backup from AIX (Oracle 11.2.0.3) and restore it to RHE Linux . Both of them are 64-bit.
    Can someone please, let me know the steps ?
    Thanks,

    airmax012 wrote:
    hello can i restore an RMAN backup from AIX to LINUX?
    thanksI give up.
    Can you.
    post Oracle version to 4 decimal places

  • Rman backup and restore noarchive log

    Hi,
    We are changing our backup tools from exp to rman. For this I am trying to do
    restoration in test server of oracle db running on 9.2 noarchive log.
    Step 1. Taken complete backup with rman with nocatalog and include controlfile
    nput datafile fno=00008 name=D:\ORACLE\ORADATA\TOTO\TOOLS01.DBF
    channel ORA_DISK_1: starting piece 1 at 09-MAR-06
    channel ORA_DISK_1: finished piece 1 at 09-MAR-06
    piece handle=D:\DBBACKUPS\T1.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
    Finished backup at 09-MAR-06
    Step 2. Deleted database files and control files from database directory.
    Step 3. Restore controlfiles
    RMAN> restore controlfile from 'd:\dbbackups\t1.bkp';
    Starting restore at 09-MAR-06
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    replicating controlfile
    input filename=D:\ORACLE\ORADATA\TOTO\CONTROL01.CTL
    output filename=D:\ORACLE\ORADATA\TOTO\CONTROL02.CTL
    output filename=D:\ORACLE\ORADATA\TOTO\CONTROL03.CTL
    Finished restore at 09-MAR-06
    Step 3. after database mount, try to restore datafiles, which is failed
    restoring datafile 00024 to D:\ORACLE\ORADATA\TOTO\DIN36\TESTUNV1.ORA
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 03/09/2006 17:24:25
    ORA-19505: failed to identify file "D:\DBBACKUPS\TOTOBKP.RMAN"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Why it is looking old backup totobkp.rman which is not existing on disk ? My
    backup name is t1.bkp.
    Will you pl tell me where I have gone wrong ? Secondly what are the correct
    steps to be followed for taking cold backup and restoration.
    thanks & regards
    pjp

    Okay let us ponder this for a moment:-
    DB NOARCHIVELOG
    It does not matter when you take the backup of controlfile because the database is in mount state and no changes are allowed to the db ( Checkpoints etc. )
    DB ARCHIVELOG
    It does not matter when you take the backup of controlfile because the database is continuously writing to the archivelog's.
    End result should not be significantly different as to worry about whether to take backup of control file before or after backup.
    Thanks
    Gopal

  • Problems with restoring my iTunes library after performing an HP backup and system recovery

    Hello,
    Last Sunday night/Monday morning, I had to perform a system recovery (from the discs supplied by HP) on my HP Compaq Presario SR5310F 32-bit desktop computer running Windows Vista Home Premium, (on the recommendation of samone at HP) and just backing up my 90+ GB iTunes library took 12 hours (the actual system recovery took only about 2-1/2 hours, the following morning). After the recovery process was complete, I 'restored' the backed-up files by either double-clicking or just opening the first backup file (the one whose file name ends in '.1') and following the prompts, which placed the files into something called the 'System Restore Files' folder. I thought I could just restore my iTunes library by dragging and dropping the music, video and iTunes folder files from this System Restore Files folder back into their original places on my computer, but while the song titles did show up in my iTunes library, whenever I tried to actually play one, an exclamation point would appear beside the song's title and I'd get the error message 'iTunes cannot find the file'; when I clicked on 'Find missing file'--or whatever it's called--the C < Users < [username] < Music folder would open, and it would be completely blank, with only the words 'This folder is empty' appearing in it. (And BTW, before you try to recommend the 'Finding missing content in iTunes' or 'How to find missing music in iTunes' articles to me, I should point out that I did try all of the steps in those articles, but my iTunes library was still completely empty at that point, despite trying those steps; that was why I finally tried 'dragging and dropping all of those files back into the Desktop, Downloads, Documents--yes, some really large download files, not from iTunes, showed up in the Documents folder--and also a couple of downloaded music files--again, not from iTunes--showd up 'loose' [by 'loose', I mean not in one of the folders (e.g., Documents, Downloads etc.) in my [username] subfolder] in my [username] subfolder, after which, I was able to get most of my song and video titles listed in iTunes again, but they just won't PLAY! Also, it appears I'm missing about 5 GB from my iTunes library now, as it's saying that I only have about 85.15 GB worth of files in it, where before I had 90+ GB worth of files in it.)
    BTW, I can play the files I moved to Desktop, Downloads, etc. if I right-click on the individual files in these locations and then click on 'Play' or 'Open With', but they just won't play in iTunes.
    And one more thing: I stupidly deleted my 2 iTunes podcast file titles after I discovered that these, too, would not play; is there any way I can recover these--and my iTunes library--without performing yet ANOTHER system recovery and starting over 'from scratch'? (But if that's what I'll have to do, I'll do it--or else I'll just give up and start all over again with the new computer I plan to buy over the Labor Day weekend [it'll be a 64-bit Windows 7 computer, I know that much at least], as most of my music was ripped from CDs or else downloaded from places like Bandcamp or Amazon MP3, and these downloads were saved to a series of USB flash drives; I was informed that if worst came to worst, I could redownload my iTunes purchases, but my 2 podcasts will be lost forever, as iTunes doesn't 'keep' those--or words to that effect...)
    P.S. The computer I'm using has only a 250 GB hard drive, of which 223 GB were available, I couldn't perform the 'Consolidate' function so I could properly back up my iTunes library, as, what with the accumulated Windows downloads (I got this computer in February 2008) and other programs, I had only a few (< 10) GB free--not enough to consolidate the iTunes library, and second, the computer malfunctioned just prior to my performing the system recovery, so that I could no longer log on in 'normal' mode, only in the various safe modes. A lady at Microsoft told me I could back up my iTunes library by logging on in safe mode with networking (since I could do that, albeit with the error message 'Your account has been loaded with a temporary profile') and pasting my iTunes library to my external hard drive, but when I tried this, I got a message listing my iTunes library as '(empty)' when I clicked on iTunes in 'All Programs', and needless to say, my iTunes library wouldn't even open in any of the safe modes (I don't know whether it was 'just' my computer, or whether the lady didn't know what she was talking about--she does work for Microsoft, after all).

    OK, before you moved the iTunes folder did the library contain entries for your original files?
    This is the normal layout of the iTunes folders. From what you said at the outset it would seem that, as far as that copy of your library is concerned, it thinks the media folder is C:\System Recovery Files\C\Users\<User>\Music\iTunes\iTunes Media
    Not quite sure where you have moved the original set of library files to (that is the five files listed above and the Album Artwork folder) but you should move these to C:\System Recovery Files\C\Users\<User>\Music\iTunes, (leaving everything else in place) then click the icon to launch iTunes and immediately press and hold down the left shift key until asked to choose or create a library. Click choose and browse to the library file at C:\System Recovery Files\C\Users\<User>\Music\iTunes\iTunes Library.itl - fingers crossed this will open your old database, which will be able to find your old files. If that goes well we can look to moving them somewhere more sensible.
    tt2

  • Incremental RMAN backup and compression

    Does RMAN compress the data for the incremental Level 0 and Level 1 backups. More specifically - Can I use Advanced compression if olny use incremental backups ?

    you would use the comfigure command to use zlib which is does not compress as well as bzip2 which does not require the advanced compression option, but zlib does not consume as much cpu as bzip2.
    now for the backup you have 2 options. you can configure backupsets to compress
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET ;
    or it using table
    CONFIGURE DEVICE TYPE sbt BACKUP TYPE TO COMPRESSED BACKUPSET ;
    Then do you backups as backup sets
    database
    backup as backupset incremental level 1 tag hot_1_${DTE} DATABASE NOT BACKED UP SINCE TIME 'SYSDATE - .6';
    archivelogs
    backup as compressed backupset format '${INST_LOWER}_Archive_%d_%s_%p_%t' archivelog all not backed up 1 times ;

  • Rman backup and recovery

    Hi Expert,
    If I backup using rman for Oracle RAC database without backup archivelog . Can i perform recovery as the archivelog still on share disk . Tks
    Regard
    Liang

    user13290160 wrote:
    Hi Expert,
    If I backup using rman for Oracle RAC database without backup archivelog . Can i perform recovery as the archivelog still on share disk . Tks
    The answer would be yes but you must backup archivelogs as well. Think about the situation when your shared storage itself is completely gone taking down the archivelogs as well. Even you would have the backup of the database, it would be of no use since you won't have the archivelogs with you to recover it.
    Aman....

Maybe you are looking for

  • How can I create a model node in SAP Records Management

    Product: SAP Records Management Hi, I would like to create a model node in a record tree. I found in the function modul BAPI_RECORD_ADDELEMENT no entry for the creation of a model node. Only the instance and the structure node can create by this func

  • Mail showing blank screen after iOS 8.2 upgrade

    after upgading to iOS 8.2 today, my mail is showing what seems to be a blank gmail screen, then goes dark, then transparent. Not able to get any email.  Tried deleting gmail account,  still getting same screen.

  • Standard text in Smartform Vs. SapScript.

    Hello,      I am experiencing an issue regarding standard texts in forms. If we were to create the text and format it in a certain way it may display in a SapScript form correctly, but in the Smartform it will be a little off. This also happens the o

  • Bridge CS6 - AVCHD metadata & keywords

    Recently made the transition to AVCHD video & CS6. On my media drive, I have a footage folder where I dump the contents of my memory cards.  I copy over the entire AVCHD file/folder structure. I'd like to organize this footage in Bridge CS6 by editin

  • Help with new upgrade 8.1 icould not working with outlook on my pc

    upgraded this morning to Windows 8.1. on my pc I am using Microsoft Office 2010; my contacts, tasks and calendars are in iCloud. Now when I am in Outlook, it will not open contacts, calendar or tasks .. It tells me: The set of folders cannot be opene