RMAN backups not using next available volume: uses next unlabeled volume

Greetings.
I've noticed that sometimes (haven't zeroed in on when yet) when RMAN backs up using OSB, the first tape in the library, an RMAN volume, is grabbed and backed up to.
There are about 10 other RMAN-labeled volumes right below that first one. But RMAN will take an unlabeled volume further down in the library, label it as an RMAN volume, and proceed to back up to it.
This is happening often enough where my library is filling up with partially used RMAN volumes.
Three jobs (that I can see so far) are cron jobs calling an RMAN script. I'm looking for the other jobs which, I think, are run via OEM.
Any thoughts?
-Jeff

Our daily backup is doing the same thing. That is, it's not backing up to tapes I assume it'll use. This is in the transcript:
2010/06/08.22:00:17 (mmr) volset containing oid 21601 (vid PASDLY-000665, tag 000020L3, create_time 1275530931, mediainfo 0) is closed
2010/06/08.22:00:17 (amh) 18 oid 21601 doesn't meet mount requirements - volume set is closed to further update (OB device mgr)
2010/06/08.22:00:17 (mmr) volset containing oid 21607 (vid PASDLY-000667, tag 000114L3, create_time 1275617100, mediainfo 0) is closed
2010/06/08.22:00:17 (amh) 19 oid 21607 doesn't meet mount requirements - volume set is closed to further update (OB device mgr)
2010/06/08.22:00:17 (mmr) volset containing oid 21597 (vid PASDLY-000664, tag 000004L3, create_time 1275444068, mediainfo 0) is closed
2010/06/08.22:00:17 (amh) 20 oid 21597 doesn't meet mount requirements - volume set is closed to further update (OB device mgr)Where do I find how the mount requirements are configured?
-Jeff

Similar Messages

  • RMAN backups need info about available options

    Hi All
    In our new 10.2.0.3 RAC environment on windows 2003 os we have our database configured on ASM and oracle home placed on OCFS. As it is a prod environment, we do not have the comfort to shutdown the cold copy of the database and so we're running the daily rman full db backup .. however, in case of an event where the datafiles need a restore.. I am not sure if the rman backup i take will be sufficient.. I issue the below command to take the full database backup and I get a compressed back up set..
    RMAN> backup up device type disk format 'd:\database\%U' database;
    I do have the FRA configured on ASM DG but i see that this DG is almost free. could any please advice what are the options available for me to take the entire database backup (including files) which can help me restore the datafiles if necessary.. my database is about 70GB in size but is very critical for organisations functioning..
    thanks!
    Sarat.

    Thanks for the quick reply steve and werner...
    Because we are doing a daily Full database backup (compressed) I did not include the archive logs to be backed up. In our environment, we keep moving arc logs to another archive location regularly. and once back up is complete and successful we clean up all archives using another job as we no longer would need them in case if we need to restore from the RMAN backup.. and as we retain all archives between one rman bkp and the next one.. we are also not backing up these along with the database.. Is this dangerous? I thought we will always have one database copy (compressed) available on disk and can help us restore from it if required.. But my major concern is what if a datafile is accidentally deleted/ disk fails on ASM. In this case.. the RMAN backup will not be sufficient because if cannot create the physical structure.. in such a case, will configuring the FRA it self be sufficient? Do I need to perform any additional steps to ensure the physical structure can also be restored? Please advice..
    rman is configured to backup control file and sp file and my exact script looks like below .. and we run it every day
    crosscheck backup;
    crosscheck backup of controlfile;
    delete force noprompt obsolete;
    delete backup;
    backup device type disk format 'D:\oracle\DBBackUp\%U' database;
    exit;

  • Rman - backups not reporting obsolete

    Hi,
    Please see below of our now cleaned up rman catalog:
    RMAN> list backup of database summary;
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    1531 B 0 A DISK 20-APR-10 1 1 YES TAG20100420T172430
    1543 B F A DISK 15-AUG-11 1 1 NO TAG20110815T140126
    1549 B F A DISK 15-AUG-11 1 1 NO TAG20110815T144719
    1553 B F A DISK 15-AUG-11 1 1 NO TAG20110815T160724
    1557 B F A DISK 15-AUG-11 1 1 NO TAG20110815T170223
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    Based on the fact I see five backups of our current database (produced with "backup database") and we see "retention policy is set to redundancy 1", I would expect to see four backups reported, however the next line is:
    no obsolete backups found;
    Naturally, my scheduled "delete noprompt obsolete" never seems to remove anything. Any advise appreciated.

    Hi,
    Please post here the script that you use to perform this backup.
    Check if you are using KEEP UNTIL clause.
    DELETE OBSOLETE Behavior When KEEP UNTIL Time Expires
    If the KEEP UNTIL TIME period has not expired for an archival backup, RMAN does not consider the backup as obsolete. As soon as the KEEP UNTIL period expires, however, the backup is immediately considered to be obsolete, regardless of any configured backup retention policy. Thus, DELETE OBSOLETE deletes any backup created with BACKUP ... KEEP UNTIL TIME if the KEEP time has expired.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89640
    V$BACKUP_FILES
    KEEP- Indicates whether the backup has a retention policy different from the value for CONFIGURE RETENTION POLICY (YES) or not (NO)
    KEEP_UNTIL - If the KEEP UNTIL TIME clause of the BACKUP command was specified, then this column shows the date after which the backup becomes obsolete. If the column is null and KEEP_OPTIONS is not null, the backup never becomes obsolete.V$BACKUP_FILES displays information about all RMAN backups (both image copies and backup sets) and archived logs.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_1057.htm#REFRN30022
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Aug 17, 2011 12:07 AM
    Edited by: Levi Pereira on Aug 17, 2011 12:11 AM - Add V$BACKUP_FILES

  • RMAN backup multiple database on multiple hosts using recovery catalog

    I would like to know if I create one schema called "rman" is enough for repository for backing up multiple database on multiple machines using recovery catalog.
    Or is there any better way to handle for reporting peposes.
    Quick response is appreciated.
    OS Solairs9.
    Oracle 9i.
    Thanks.
    Srini

    This worked perfectly fine except for putting sbt in single quotes.
    See the reults below.
    You are just great Daljith.
    Thanks and I do appreciate your help.
    Still you did not answe my question.
    How come I see backups from June and May even though they are from
    diffierent catalog database?
    RMAN> allocate channel for maintenance device type 'sbt';
    allocated channel: ORA_MAINT_SBT_TAPE_1
    channel ORA_MAINT_SBT_TAPE_1: sid=9 devtype=SBT_TAPE
    channel ORA_MAINT_SBT_TAPE_1: VERITAS NetBackup for Oracle - Release 5.0GA (200)
    RMAN> crosscheck backup;
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_2_1_624018818 recid=1 stamp=624018818
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_1_1_624018817 recid=2 stamp=624018818
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_3_1_624019733 recid=3 stamp=624019733
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=al_5_1_624020641 recid=4 stamp=624020642
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=al_4_1_624020641 recid=5 stamp=624020642
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=al_6_1_624020677 recid=6 stamp=624020677
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_8_1_624115253 recid=7 stamp=624115253
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_7_1_624115252 recid=8 stamp=624115253
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_9_1_624116161 recid=9 stamp=624116161
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=al_11_1_624117067 recid=10 stamp=624117068
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=al_10_1_624117067 recid=11 stamp=624117068
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_13_1_624365687 recid=12 stamp=624365687
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_12_1_624365686 recid=13 stamp=624365687
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=bk_14_1_624366605 recid=14 stamp=624366605
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=al_16_1_624367501 recid=15 stamp=624367502
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=al_15_1_624367501 recid=16 stamp=624367502
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=bk_22_1_628264333 recid=17 stamp=628264333
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=bk_21_1_628264333 recid=18 stamp=628264333
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=bk_23_1_628265249 recid=19 stamp=628265249
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-2926506834-20070718-00 recid=20 stamp=628266151
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=al_26_1_628266195 recid=21 stamp=628266196
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=al_25_1_628266195 recid=22 stamp=628266196
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-2926506834-20070718-01 recid=23 stamp=628266233
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=bk_29_1_628267004 recid=24 stamp=628267004
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=bk_28_1_628267004 recid=25 stamp=628267004
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=bk_30_1_628267919 recid=26 stamp=628267920
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-2926506834-20070718-02 recid=27 stamp=628268832
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=al_32_1_628268875 recid=28 stamp=628268876
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=al_33_1_628268875 recid=29 stamp=628268876
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=c-2926506834-20070718-03 recid=30 stamp=628268913
    Crosschecked 30 objects
    RMAN> delete expired backup;
    List of Backup Pieces
    BP Key BS Key Pc# Cp# Status Device Type Piece Name
    11820 11804 1 1 EXPIRED SBT_TAPE bk_2_1_624018818
    11821 11805 1 1 EXPIRED SBT_TAPE bk_1_1_624018817
    11822 11806 1 1 EXPIRED SBT_TAPE bk_3_1_624019733
    11823 11807 1 1 EXPIRED SBT_TAPE al_5_1_624020641
    11824 11808 1 1 EXPIRED SBT_TAPE al_4_1_624020641
    11825 11809 1 1 EXPIRED SBT_TAPE al_6_1_624020677
    11826 11810 1 1 EXPIRED SBT_TAPE bk_8_1_624115253
    11827 11811 1 1 EXPIRED SBT_TAPE bk_7_1_624115252
    11828 11812 1 1 EXPIRED SBT_TAPE bk_9_1_624116161
    11829 11813 1 1 EXPIRED SBT_TAPE al_11_1_624117067
    11830 11814 1 1 EXPIRED SBT_TAPE al_10_1_624117067
    11831 11815 1 1 EXPIRED SBT_TAPE bk_13_1_624365687
    11832 11816 1 1 EXPIRED SBT_TAPE bk_12_1_624365686
    11833 11817 1 1 EXPIRED SBT_TAPE bk_14_1_624366605
    11834 11818 1 1 EXPIRED SBT_TAPE al_16_1_624367501
    11835 11819 1 1 EXPIRED SBT_TAPE al_15_1_624367501
    Do you really want to delete the above objects (enter YES or NO)? y
    deleted backup piece
    backup piece handle=bk_2_1_624018818 recid=1 stamp=624018818
    deleted backup piece
    backup piece handle=bk_1_1_624018817 recid=2 stamp=624018818
    deleted backup piece
    backup piece handle=bk_3_1_624019733 recid=3 stamp=624019733
    deleted backup piece
    backup piece handle=al_5_1_624020641 recid=4 stamp=624020642
    deleted backup piece
    backup piece handle=al_4_1_624020641 recid=5 stamp=624020642
    deleted backup piece
    backup piece handle=al_6_1_624020677 recid=6 stamp=624020677
    deleted backup piece
    backup piece handle=bk_8_1_624115253 recid=7 stamp=624115253
    deleted backup piece
    backup piece handle=bk_7_1_624115252 recid=8 stamp=624115253
    deleted backup piece
    backup piece handle=bk_9_1_624116161 recid=9 stamp=624116161
    deleted backup piece
    backup piece handle=al_11_1_624117067 recid=10 stamp=624117068
    deleted backup piece
    backup piece handle=al_10_1_624117067 recid=11 stamp=624117068
    deleted backup piece
    backup piece handle=bk_13_1_624365687 recid=12 stamp=624365687
    deleted backup piece
    backup piece handle=bk_12_1_624365686 recid=13 stamp=624365687
    deleted backup piece
    backup piece handle=bk_14_1_624366605 recid=14 stamp=624366605
    deleted backup piece
    backup piece handle=al_16_1_624367501 recid=15 stamp=624367502
    deleted backup piece
    backup piece handle=al_15_1_624367501 recid=16 stamp=624367502
    Deleted 16 EXPIRED objects
    RMAN> list backup summary;
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Tag
    11895 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
    11896 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
    11897 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
    11916 B F A SBT_TAPE 18-JUL-07 1 1
    11926 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T142315
    11927 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T142315
    11935 B F A SBT_TAPE 18-JUL-07 1 1
    11939 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
    11940 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
    11941 B F A SBT_TAPE 18-JUL-07 1 1 HOT_DB_BK_LEVEL0
    11960 B F A SBT_TAPE 18-JUL-07 1 1
    11970 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T150755
    11971 B A A SBT_TAPE 18-JUL-07 1 1 TAG20070718T150755
    11977 B F A SBT_TAPE 18-JUL-07 1 1
    RMAN>
    Message was edited by:
    user539835

  • Backup not visible in Time Capsule using Migration Assistant

    I have just bought a new MacBook Air and would like to migrate a large amount of data to it sourced from my iMac. The simplest way appears to be (or should be) to use the Time Capsule. However, Migration Assistant cannot see the backup of my iMac (which runs Mavericks). It can see the backup of my wife's MacBook (running Snow Leopard).
    When I first started, Migration Assistant did briefly display the backup of my iMac but would not let me access it, saying (something like) it was in use by another computer. Since then I have tried all sort of tricks, including switching time machine off on the iMac, disconnecting from the Time Capsule and so on. I have also run Disk Utility and repaired the volume. None of this has made a difference to the problem with Migration Assistant, but I have also been in & out of Time Machine (the 'Star Wars view') on the iMac in the process, and noticed that it is erratic in terms of whether or not it displays my previous backups.
    An obvious solution to setting up the MBA will be to get hold of an appropriate cable to migrate files directly from the iMac. However I am now a bit concerned about the erratic behaviour of Time Machine on the iMac and it feels as though I ought to solve that problem as well rather than ignore it.
    I have spent a bit of time looking at other discussions here and have not found any answers, although I think I can rule out this explanation: https://discussions.apple.com/thread/5125969?tstart=0 - as I have checked and TM does indeed seem to be backing up my Library etc.
    I'd be grateful for any advice.
    Thanks

    It is sadly what we find.. that Mavericks just doesn't do Time Machine as reliably as it should.. but the issue could be network.
    How were you backing up the iMac before you got the TC? If you had a USB drive plugged in and used that, then plug that USB drive into the MBA and that will probably work a lot better.. it eliminates the network part of the issue at least.
    TM does work better to local drives.
    Otherwise then I have a few steps for you to try and get access to the iMac backup on the TC.
    Mostly you won't like them.
    1. Full factory reset. This will not mess with your backups.. ie nothing is deleted but you will have to reset TM to point it to the right place.
    The Factory Reset universal
    Unplug your TC/AE. Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. The time is not important.. it is the front LED rapid flashing that indicates you are in factory mode.
    Release reset.
    If it doesn’t flash rapidly you have released reset at some point and try again.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    2. When you redo the setup of the TC, use only names that are short, no spaces and pure alphanumeric. For everything.
    Even the computers really should have share names that also met that.
    3. Manually mount the TC in the MBA,
    In Finder use the top menu Go, and Connect to Server.
    by typing,
    AFP://TCname.local (where TCname is your new short name. local is the default domain)
    You can use AFP://TCIPaddress (where TCIPaddress is the actual IP of the TC. eg by default in router mode, 10.0.1.1 you would type AFP://10.0.1.1)
    The computer will ask for the password when it finds the network resources of the TC. type that in, public by default but the utility forces you to change it now.
    Don't forget to save this password in your keychain.
    With the TC now correctly mounted, attempt again to migrate the data. When you migrate do not use the same user name as you used on the iMac.. that will cause a mess.. it is better to have a different name.. that you are logged in under. See the info in pondini.
    http://pondini.org/OSX/MigrateLion.html
    Follow all his instructions.. although the guy who wrote it died before Mavericks was widely available, most of what he wrote here should apply.
    Just one more thing I forgot.. ipv6 must be set correctly to link-local .. do not leave it on automatic.
    So for example in wireless on the computer.
    If you use ethernet on the iMac also set it on ethernet advanced settings.

  • Why may be RMAN backup not taken to FRA on 10.2.0.3 EE?

    below is my configuration and rman script, but my backups are taken to $ORACLE_HOME/dbs not FRA;
    SQL> show release
    release 1002000300
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     5
    Next log sequence to archive   7
    Current log sequence           7
    SQL> select name, value from v$system_parameter
      2  where name like 'db_recovery%' ;
    NAME
    VALUE
    db_recovery_file_dest
    /home/oracle/
    db_recovery_file_dest_size
    4147483648
    SQL> SELECT * FROM V$FLASH_RECOVERY_AREA_USAGE;
    FILE_TYPE    PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
    CONTROLFILE                   0                         0               0
    ONLINELOG                     0                         0               0
    ARCHIVELOG                 4,72                       ,08               8
    BACKUPPIECE                 ,17                         0               1
    IMAGECOPY                     0                         0               0
    FLASHBACKLOG                 ,2                         0               1
    6 rows selected.
    SQL> SELECT * FROM V$RECOVERY_FILE_DEST;
    NAME
    SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
    /home/oracle/
    4147483648  211147264           3263488              10
    run
    { set command id to 'RMAN_Full_Backup';
    sql "ALTER SYSTEM CHECKPOINT GLOBAL";
    backup incremental level 0
    tag DB_full_backup
    format 'DB_d%d_t%t_u%u'
    (database include current controlfile);
    sql "ALTER SYSTEM SWITCH LOGFILE";
    sql "ALTER SYSTEM ARCHIVE LOG CURRENT";
    backup
    filesperset 20
    format 'ARC_d%d_t%t_u%u'
    (archivelog all); }Thank you.

    Backups from RMAN go to dbs folder when there is no FRA or Format parameter configured.If there is any parameter given than Oracle would send teh backups over there only.Use list backup and show us where the backups have gone.You have FRA set so they must be going there only.
    Aman....

  • Recovery wizard in Server 2008 Backup not showing all available backups

    We have a Windows 2008 R2 server with a dedicated USB drive for backups. I check the backup routinely and it appears to get a good backup every day. According to the logs, I have 79 copies of the backup available. But when I needed to restore a file this
    morning, the Recovery Wizard only showed  3 days of backups to choose from, going back to last Friday. 
    How do I get the recovery wizard to see the other backups that are on that disk?
    Thanks!

    Hi, 
    According to your description, the backup may be configured incremental. It restores to earlier versions by using the Volume Shadow copy service which are stored on the external drive.
    Optimizing Backup and Server Performance
    http://technet.microsoft.com/en-us/library/dd759145.aspx
    After the first full backup is created, you can configure Windows Server Backup to automatically run incremental backups by saving only the data that has changed since the last backup. Even if you choose to always perform full backups, your backup will
    take less time than it did in earlier versions of Windows.
    For more detailed information, you could refer to the article below:
    Windows Server Backup Step-by-Step Guide for Windows Server 2008
    http://technet.microsoft.com/en-us/library/cc770266(v=ws.10).aspx
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • RMAN: Backups not exipring after redundancy window.

    Hello,
    I run backup into sbt_tape and use the below block:
    run{
    ALLOCATE CHANNEL C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    ALLOCATE CHANNEL C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    ALLOCATE CHANNEL C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    ALLOCATE CHANNEL C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    backup incremental level 0 database filesperset=1 format '%d_L0_DF%f_%T_%u.dbf' tag 'DB_L0_DF_#_DT_UNQNO';
    backup current controlfile format '%d_L0_CF_%T_%u.ctl' tag 'DB_L0_CF_DT_UNQNO';
    backup incremental level 0 archivelog all filesperset=1 format '%d_L0_AL_%h_%e_%T_%u.arc' tag 'DB_L0_ARC#_DT_UNQNO';
    crosscheck backup of database;
    crosscheck backup of archivelog all;
    delete noprompt expired backup of database;
    delete noprompt expired backup of archivelog all;
    My backups run perfectly, but for some reason my backups don't expire even though my redudancy is set to 7 days.
    In my backup dest, I have backups as old as March '13, which should have been expired long time back.
    Any ideas what might be wrong?
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name IWTPR are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS  'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/IWTPR/snapcf_IWTPR.f';
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/iwtpr/snapcf_iwtpr.f';
    Thanks in advance,
    aBBy.
    Env details: 4-Node RAC cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5.6

    AB007 wrote:
    Hello,
    I run backup into sbt_tape and use the below block:
    run{ 
    ALLOCATE CHANNEL C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    ALLOCATE CHANNEL C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    ALLOCATE CHANNEL C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    ALLOCATE CHANNEL C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, 
    ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    backup incremental level 0 database filesperset=1 format '%d_L0_DF%f_%T_%u.dbf' tag 'DB_L0_DF_#_DT_UNQNO'; 
    backup current controlfile format '%d_L0_CF_%T_%u.ctl' tag 'DB_L0_CF_DT_UNQNO'; 
    backup incremental level 0 archivelog all filesperset=1 format '%d_L0_AL_%h_%e_%T_%u.arc' tag 'DB_L0_ARC#_DT_UNQNO'; 
    crosscheck backup of database; 
    crosscheck backup of archivelog all; 
    delete noprompt expired backup of database; 
    delete noprompt expired backup of archivelog all; 
    My backups run perfectly, but for some reason my backups don't expire even though my redudancy is set to 7 days.
    In my backup dest, I have backups as old as March '13, which should have been expired long time back.
    Any ideas what might be wrong?
    RMAN> show all; 
    using target database control file instead of recovery catalog 
    RMAN configuration parameters for database with db_unique_name IWTPR are: 
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS; 
    CONFIGURE BACKUP OPTIMIZATION ON; 
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE'; 
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; 
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default 
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default 
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET; 
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET; 
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; 
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; 
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; 
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; 
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS  'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; 
    CONFIGURE MAXSETSIZE TO UNLIMITED; 
    CONFIGURE ENCRYPTION FOR DATABASE OFF; 
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; 
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE; 
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; 
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/IWTPR/snapcf_IWTPR.f'; 
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/iwtpr/snapcf_iwtpr.f'; 
    Thanks in advance,
    aBBy.
    Env details: 4-Node RAC cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5.6
    You are confusing 'expired' with 'obsolete'.
    When a backupset is created, a record of that is placed in the control file.
    If you perform a 'crosscheck backup', rman checks those records against reaility.  If any backup is found to have gone missing, it's record is marked as 'expired'.  Follow that up with a 'delete expired backup', and the records of the missing (expired) backups will be removed from the repository.
    What you want is 'delete obsolete'.  That will delete any backup that is no longer needed to enforce the retention period.
    BTW, 'redundancy' and 'x days' are mutually exclusive.

  • Is it possible to restore TSM/ADSM RMAN backup pieces to disk manually?

    Is it possible to restore TSM/ADSM RMAN backup pieces to disk manually, and re-catlog as disk backups?
    Oracle 10.2.0.3
    TSM client 5.5.1.1
    SUN Solaris 10 64-bit
    We are gearing up to switch from IBM's Tivoli (TSM/adsm) to EMC's Networker (Legatto), and the old TSM software drivers are going to be uninstalled.
    In a worse case scenario, we would therefore not be able to easily restore using RMAN and TSM just after the switch, and before new backups are made on Networker.
    To be comfortable with the backup methodology change, we need to explore restoring the RMAN backup pieces of a given tag using TSM commands (dsmc ?) to a filesystem, re-catalog the backup pieces now on disk, and then perform test restore/recoveries using RMAN with disk channels.
    Does anyone know of the TSM command (dsmc ?) to perform the restores of RMAN backup pieces?
    Thanks!

    This is a set of guesses and thoughts.
    1: When you say you are removing the Tivoli software drive, is this just the driver from the oracle home, or is it more substantive. In fact could you have a different oracle home to access tivoli, possible with a rman catalog copy.
    2: I dont believe the backup tag is part of the filename, however is it possilbe to query the rman catalog to get the filenames mapped to a tag?
    3: Providing you know the filenames you wish to restore then it is possible to browse the tivoli catalog. Its ages since I've done this but doesn't samc have at interactive mode
    Apologies if these suggestions are rubbish and hopefully someone gives a better answer.

  • Rman backup is too slow

    Hi
    I have oracle database (11gR1) 64 bit installed on Windows 2003 R2 64 bit server. MY DB size is almost 152 GB and its running in archive log mode. When i run RMAN online backup , Its taking too much time almost it has taken 22 Hours and still its running , I am not sure why it is consuming this much time ..
    I am using below RMAN script ...
    run {
    allocate channel ch1 type disk;
    backup FILESPERSET 32
    format 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' tag Full_DATABASE_07_july_13
    (database)
    CURRENT CONTROLFILE SPFILE;
    SQL "alter system archive log current";
    backup FILESPERSET 200
    format 'F:\RMAN_BACKUP\ARC_%d_%s_%t'
    (archivelog all);
    release channel ch1;
    Kindly help me and whats wrong in this please tell me . Also tell me if any other information needed ..
    Thanks & Regards,
    Vikash Jain

    hi, Till now RMAN backup not completed for single time so i cant tell how long it takes.
    I tried with parallelism 2 also but it is also not working.
    CONFIGURE DEFAULT DEVICE TYPE TO disk;   
    # backup goes to disk
    CONFIGURE DEVICE TYPE disk PARALLELISM 2;
    # three channels used in parallel
    CONFIGURE CONTROLFILE AUTOBACKUP ON;     
    #controlfile and spfile take backup automatically
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' MAXPIECESIZE 10G; # 1st channel 
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' MAXPIECESIZE 10G; # 2nd channel
    run {
          allocate channel chnnel1 type disk;
        allocate channel chnnel2 type disk;
    backup database tag Full_DB_090713_With_CH_02;
    SQL "alter system archive log current";
        backup archivelog all format 'F:\RMAN_BACKUP\ARC_%d_%s_%t';
    release channel chnnel1;
    release channel chnnel2;
    this also having below error ..
    RMAN-03009: failure of backup command on chnnel1 channel at 07/12/2013 10:38:31
    ORA-19502: write error on file "D:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\86OEH1S5_1_1", block number 1476225 (block size=8192)
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 112) There is not enough space on the disk.
    channel chnnel1 disabled, job failed on it will be run on another channel
    released channel: chnnel1
    released channel: chnnel2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on chnnel2 channel at 07/12/2013 10:42:08
    ORA-19502: write error on file "D:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\87OEHG94_1_1", block number 1476097 (block size=8192)
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 112) There is not enough space on the disk.
    I checked there is enough space on F drive but still its showing the above error , Also i cant see backup pieces in "F:\RMAN_BACKUP\" location ... I am sure whats wrong with the above script ...
    Thanks & Regards,
    Vikash Jain

  • I am running a MacBook Pro with 10.7.5 and I downloaded the OS X 10.10.2 Update Combo, however when I try and open the package the error message "This volume is used for TimeMachine-backups". Which is not true. I´m using TimeCapsule.

    I am running a MacBook Pro with 10.7.5 and I downloaded the OS X 10.10.2 Update Combo.
    When I try and open the package after accepting the lincence-agreement and upon choosing the install-volume the error message appears: "This volume is used for TimeMachine-backups".
    Which is not true. I´m using a timecapsule for backups.
    How can I proceed?

    I am using a MacBook Pro (2010) with 2.53 GHz Intel Core i5, 4GB, 1067 MHz, DDR3, Startvolume Macintosh HD.
    After downloading the package and starting upgrading it asks acceptance of the license-agreement. After that it asks for the volume were to install. And when I click on the Startvolume Macintosh HD (which is the only available on the machine) it says: "The volume is already being used for Time Machine-Backups".
    It doesn´t offer to skip that point or to reconfigure the Time Machine settings.
    The point is that my Time machine is not and has never used the Mac HD for Backups. In the past I have used an external drive and since 05/2014 I am using a Time Capsule which is appropriately addressed in the Time Machine settings.

  • RMAN Backup to tape using Oracle Secure Backup

    I am trying to take 11g R2 (11.2.0.3) database backup using RMAN. I am using Oracle Secure Backup for configuring virtual tape library and virtual tape drive.
    Whenever, I am running the RMAN backup script it simply hangs. While checking the backup job status from Oracle Secure Backup web interface, the job status are displaying 'pending resource availability'.
    On, furthur investigating the job, the following error message are displayed,
    " Dispatching job to run on oradb. Drive or volume on which mount attempted is unusable".
    Library and Tape Creation:
    mkdev -t library -o -S 4 -a oradb:/vlib -v vlib
    mkdev -t tape -o -a ora11:/vt -v -l vlib -d 1 vt
    Not able to fix this error. Need help
    Message was edited by: 799814

    There is a VTL: http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/
      really work well with OSB 10.3.0.3 64bit, the version of it, fully tested by me , is 1.2
    The installation guide of it here:
    mh virtual tape & library system.
    Instructions assume reader is familiar with the kernel build process.
    There are two sections of code to build.
    - The kernel module
    - The user-space daemons.
    Kernel module mhvtl:
    ==================
    1) Make sure the kernel-devel package to match your running kernel is installed.
    e.g.
    RedHat AS 4 & 5:
    # rpm -qa|grep kernel
    kernel-2.6.9-34.0.1.EL
    kernel-devel-2.6.9-34.0.1.EL
    kernel-2.6.9-5.EL
    kernel-devel-2.6.9-5.EL
    kernel-utils-2.4-13.1.80
    SLES 9 & 10:
    # rpm -qa|grep kernel
    2) Extract the mhvtl source code.
    # tar xvfz mhvtl-2012-04-04.tgz
    3) Change directory into the kernel driver source.
    # cd mhvtl-1.2/kernel/
    # make
    # make install
    User space daemons:
    ===================
    Pre-req for a running mhvtl
    - sg3_utils (http://sg.danny.cz/sg/sg3_utils.html)
    Pre-req to build/compile userspace:
    - zlib-devel
    * To build an RPM
      ===============
    cp mhvtl-YYYY-MM-DD.tar.gz /usr/src/packages/SOURCE/
    cd /usr/src/packages/SOURCE
    rpmbuild -tb mhvtl-YYYY-MM-DD.tar.gz
    <wait for rpm build to complete>
    rpm -Uvh /usr/src/packages/RPMS/<cpu type>/mhvtl-1.2-z.<cpu type>.rpm
    (The rpm install will create system group & accounts vtl)
    - Note: For RedHat, replace 'packages' with 'redhat'
    * To build from tar archive (Debian / Ubuntu):
      ============================================
    apt-get install lsscsi
    apt-get install sg3_utils
    To limit damage that may occur by wayward daemons, I highly recommend creating
    a group and user called 'vtl'
    # /usr/sbin/groupadd --system vtl
    # /usr/sbin/useradd --system -c "Vitrual Tape Library" -d /opt/vtl -g vtl -m vtl
    Now build user space daemons:
    From the parent directory where you extracted the source.
    # cd mhvtl-1.2
    Build the binaries
    # make
    Install the rc script into /etc/init.d/ and binaries to /usr/local/bin/
    # make install
    Start daemons:
    /etc/init.d/mhvtl start
    Test:
    Note: Make sure the 'mtx' & 'lsscsi' utilities are installed
    The virtual devices are attached to HBA #5 in this example.
    e.g.
    # lsscsi -g
    [0:0:0:0]    disk    ATA      WDC WD1200BEVS-0 02.0  /dev/sda  /dev/sg0
    [3:0:0:0]    cd/dvd  Optiarc  DVD RW AD-7910A  1.D1  /dev/sr0  /dev/sg1
    [5:0:0:0]    mediumx SPECTRA  PYTHON           5500  /dev/sch0  /dev/sg6
    [5:0:1:0]    tape    QUANTUM  SDLT600          5500  /dev/st0  /dev/sg2
    [5:0:2:0]    tape    QUANTUM  SDLT600          5500  /dev/st1  /dev/sg3
    [5:0:3:0]    tape    IBM      ULT3580-TD4      5500  /dev/st2  /dev/sg4
    [5:0:4:0]    tape    IBM      ULT3580-TD4      5500  /dev/st3  /dev/sg5
    # mtx -f /dev/sg6 status
      Storage Changer /dev/sg6:4 Drives, 37 Slots ( 4 Import/Export )
    Data Transfer Element 0:Empty
    Data Transfer Element 1:Empty
    Data Transfer Element 2:Empty
    Data Transfer Element 3:Empty
          Storage Element 1:Full :VolumeTag=SDLT01S3                           
          Storage Element 2:Full :VolumeTag=SDLT02S3                           
          Storage Element 3:Full :VolumeTag=SDLT03S3                           
          Storage Element 4:Full :VolumeTag=SDLT04S3                           
          Storage Element 5:Full :VolumeTag=SDLT05S3                           
          Storage Element 6:Full :VolumeTag=SDLT06S3                           
          Storage Element 7:Full :VolumeTag=SDLT07S3                           
          Storage Element 8:Full :VolumeTag=SDLT08S3                           
          Storage Element 9:Full :VolumeTag=SDLT09S3                           
          Storage Element 10:Empty
          Storage Element 11:Full :VolumeTag=ULT001L1                           
          Storage Element 12:Full :VolumeTag=ULT002L2                           
          Storage Element 13:Full :VolumeTag=ULT003L3                           
          Storage Element 14:Full :VolumeTag=ULT004L4                           
          Storage Element 15:Full :VolumeTag=ULT005L1                           
          Storage Element 16:Full :VolumeTag=ULT006L2                           
          Storage Element 17:Full :VolumeTag=ULT007L3                           
          Storage Element 18:Full :VolumeTag=ULT008L4                           
          Storage Element 19:Full :VolumeTag=ULT009L1                           
          Storage Element 20:Empty
          Storage Element 21:Full :VolumeTag=8MM001X4                           
          Storage Element 22:Full :VolumeTag=8MM002X4                           
          Storage Element 23:Full :VolumeTag=8MM003X4                           
          Storage Element 24:Full :VolumeTag=8MM004X4                           
          Storage Element 25:Empty
          Storage Element 26:Empty
          Storage Element 27:Empty
          Storage Element 28:Empty
          Storage Element 29:Empty
          Storage Element 30:Empty
          Storage Element 31:Full :VolumeTag=CLN001L1                           
          Storage Element 32:Full :VolumeTag=CLN002L1                           
          Storage Element 33:Full :VolumeTag=CLN003L1                           
          Storage Element 34 IMPORT/EXPORT:Empty
          Storage Element 35 IMPORT/EXPORT:Empty
          Storage Element 36 IMPORT/EXPORT:Empty
          Storage Element 37 IMPORT/EXPORT:Empty
    Enjoy.
    Please feel free in letting me know if this works for you.
    Bug fixes and suggestions always welcome.
    [email protected]
    [email protected]

  • Create a new Database in an other server using a copie of RMAN backup

    Hi all,
    I want to create an other instance for our production database. We have disk and tape in rman backup. My question is can i create a new database using our disk backup in an other server?
    If some procedure or steps is there, email it to my adresse [email protected]
    Hamid.
    Thanks

    By means of the use of Recovery Manager it is possible to duplicate a database out from a previously taken rman backup. The method will be outlined in the next few lines.
    Let's assume a source database named SRCDB and the target database, named GEMINI. A unix like environment is assumed, but it can be implemented on windows as well, just beware of the particular Oracle implementation on a windows platform (orapwd file name, service creation, path format)
    1. Create a password file for the Cloned (GEMINI) instance:
    orapwd file=/u01/app/oracle/product/9.2.0.1.0/dbs/orapwGEMINI password=password entries=10
    2. Configure tnsnames.ora and listner.ora
    Properly identify the database at the tnsnames.ora and have the instance manually registered against the listener.ora files, both files located at the $ORACLE_HOME/network/admin directory.
    2.a Manually register the database against the listener (listener.ora)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/9.2.0.1.0)
    (SID_NAME = GEMINI)
    2.b Added the target GEMINI to the tnsnames.ora
    GEMINI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mydomain.com)(PORT = 1521))
    (CONNECT_DATA =
    (ORACLE_SID = GEMINI)
    2.c Reload the listener
    lsnrctl reload
    3. Create a new init.ora for the cloned database.
    Next create an init.ora file for the cloned database. In case the same paths cannot be used on the target host, either because it is the same source host or because those paths are not reproducible on the target, then DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT may be required to be defined
    DB_NAME=GEMINI
    CONTROL_FILES=(/u02/oradata/GEMINI/control01.ctl,
    /u02/oradata/GEMINI/control02.ctl,
    /u02/oradata/GEMINI/control03.ctl)
    # Convert file names to allow for different directory structure.
    DB_FILE_NAME_CONVERT=(/u02/oradata/SRCDB/,/u02/oradata/GEMINI/)
    LOG_FILE_NAME_CONVERT=(/u01/oradata/SRCDB/,/u01/oradata/GEMINI/)
    # block_size and compatible parameters must match those of the source database
    DB_BLOCK_SIZE=8192
    COMPATIBLE=9.2.0.0.0
    4. Connect to the cloned instance
    ORACLE_SID=GEMINI; export ORACLE_SID
    sqlplus /nolog
    conn / as sysdba
    5. Create an SPFILE based on the init.ora
    CREATE SPFILE FROM PFILE='/u01/app/oracle/admin/GEMINI/pfile/init.ora';
    6. Start the database in NOMOUNT mode:
    STARTUP FORCE NOMOUNT;
    7. Connect to the TARGET, CATALOG and AUXILIARY databases.
    By means of the rman three connections are open, one for the Source Database (SOURCEDB), another for the Catalog database (RCAT), and one more for the cloned database (GEMINI)
    ORACLE_SID=GEMINI; export ORACLE_SID
    rman TARGET sys/password@SRCDB CATALOG rman/rman@RCAT AUXILIARY /
    8. Complete or Incomplete clone (recover)
    From the rman the database using one of the following commands:
    8.a Clone the database by means of a complete recover.
    DUPLICATE TARGET DATABASE TO GEMINI;
    8.b Clone the database up to a defined point in time in the past by means of an incomplete recover
    DUPLICATE TARGET DATABASE TO GEMINI UNTIL TIME 'SYSDATE-2';
    9. Process finished.
    Once the process is finished, the newly created GEMINI database is ready to be used as an independent new cloned database.
    Ref. RMAN Clone a Database
    ~ Madrid

  • Issue Creating Duplicate Database on Different host using RMAN Backup

    HI friends..
    I m trying to create a duplicate db on different host ....... 27
    i have live production db on ............. 15
    its up 24*7.
    i know how to create dup db using cold backup..but dont know how to create it using RMAN Backup..
    I have googled..but getting issues..
    Steps Taken till now
    Note- I dont have catalog created on live db..
    I already have set the tnsnames.ora on both servers
    1) Took full backup plus archivelog plus control file on 15
    2) moved it to another host..ie 27
    3) now on live db..
    I conected to rman target /
    so i m now connected to prod db
    than i try to conect to rman auxiliary sys/sys@dubpd..
    But it gives me insufficient privilages error..
    Can you tell me what to do next..Coz unless i get into mount phase on sever 27( new server)..i cannot use the control file from backup).my dupdb is up in nomount phase..but what enxt i can do..to restore the control file and than restore the backup after cataloging them to right path..
    Thanks in advance frieds...

    sai121 wrote:
    Nope ..on live db..
    @comand prompt when i type sqlplus sys/sys@dupdb..
    its says 0ra-12518...Listener cannot hand off client connection..
    My tns name for live server is..*primary* on live server .. whose ip is 15..(lIVE SERVER).
    i also have another entery with tns names- standby .on live server .. whose ip is 27..(other server for duplicated db).
    now @command prompt..@live server.. i did sqlplus sys/sys@standby
    It gives me ORA-12518
    Am i missing something..1- It could be a network problem. You may enable tracing on listener (and examine the logs).
    2- Add "DIRECT_HANDOFF_TTC_LISTENER=OFF" to listener.ora, then reload the listener
    3- You may want to increase "large_pool_size"

  • I baught Seagate Backup plus 2T hard drive to use as my Backup time machine. But its not working when i connect to time machine its not coping files, it keep saying preparing files. Can someone help me please...

    i baught Seagate Backup plus 2T hard drive to use as my Backup time machine. But its not working. when i connect to time machine its not coping files, it keep saying preparing files. Can someone help me please...

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for