Dbid/backup confusion

Hey;
I'm slowly working my way through the backup and recovery basics document. In it, I find that I'm supposed to be able to identify the dbid from the automatic control file backup name.
My DBID is:
SQL> select dbid from v$database;
DBID
1364692124
and verified by the rman output:
$ rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jul 14 16:07:58 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: OCI1 (*DBID=1364692124)*
Rman is configured to do autobackup of the controlfile and the format's still the default %F.
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 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 '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
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_1/dbs/snapcf_oci1.f'; # default
According to the book, I'm supposed to see 1364692124 somewhere in the filename. I don't see that or the date that's supposed to be there:
$ find /oracle -name \*1364692124\* -print
$ find /oracle -name \*20090714\* -print
$
I then looked through the directory structure under /oracle/flash_recovery_area and found a directory called autobackup. That, at least, has a file that's very close to the control file size and matches the dates of the backups. It doesn't, however, have the dbid in the filename.
ll /oracle/flash_recovery_area/OCI1/autobackup/2009_07_14
total 6996
drwxr-x--- 2 oracle oinstall 4096 Jul 14 16:04 ./
drwxr-x--- 5 oracle oinstall 4096 Jul 14 16:04 ../
-rw-r----- 1 oracle oinstall 7143424 Jul 14 16:04 o1_mf_s_692208281_55swq988_.bkp
I assume I'm missing something pretty basic. Can someone point it out to me?
Thanks.
Doug O'Leary

Hey;
It's the oracle book on database backup and recovery basics. The url to the specific location discussing the file format is: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/setup004.htm#sthref238
The specific section on identifying the dbid is http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov003.htm#i1038112 and refers back to the link in the first paragraph.
Thanks for the response.
Doug O'Leary

Similar Messages

  • Oracle Hot Backup Confusion

    Hi everybody,
    This is regarding a confusions on Oracle Hot-Backup.
    Suppose i have 3 Online Redo Logs and i have put a tablespace in Backup Mode.
    So as a result whatever changes are made,Oracle will start generating redo for the entire block so as to avoid Fractured Blocks.
    Wat my Question is what if,while in the process of doing this all my Online Redo Logs files/members gets filled up how do then Oracle Manage to go ahead and keep recording the Transactions/Changes made to a Certain Block in the Tablespace.
    1.>Does Oracle Perform a Recovery from the Archived Redo Logs once the Tablespace taken out Backup Mode.
    2.>Or is there a reclamation/Re-sizing of On-line redo log file Space from other Segments.
    Thanks & Regards,
    Prosenjit Mukherjee.

    >
    I am not even sure that what the #2 means! Anways!
    Suppose i have 3 Online Redo Logs and i have put a tablespace in Backup Mode.It doesn't matter how many redo log groups you have and AFAIK this has no relation with a tablespace being in the backup mode whatsoever.
    So as a result whatever changes are made,Oracle will start generating redo for the entire block so as to avoid Fractured Blocks.Partially correct! The whole block gets copied only for the first time . For subsequent changes, only the change vectors go into the log buffer and then from there, to the redo log files. This is exactly equivalent to what does happen without a tablespace being not in the backup mode.
    Wat my Question is what if,while in the process of doing this all my Online Redo Logs files/members gets filled up how do then Oracle Manage to go ahead and keep recording the Transactions/Changes made to a Certain Block in the Tablespace.What does this mean exactly? If you fill up the redo logs, log switch will follow making teh LGWR switching from the current redo log group to the next, triggering checkpoint which would make the DBWR write the buffers to the datafile. I am not sure what is the confusion?
    Edit: I apologize , I read this point a little too fast! If all the log files are going to be filled up, database would be hung. There won't be any more transactions allowed as there is no place to write their change vectors anywhere. Sorry , I understood in the first time that you were talking about the standard log switching.
    1.>Does Oracle Perform a Recovery from the Archived Redo Logs once the Datafile is taken out Backup Mode.What recovery? Before the files go into the backup, there is a "global checkpoint" that is performed for them , pushing all of their buffers from the cache to them and then after the checkpoint is freezed for them, yet letting them do all the read/write operations. Once they come out of the backup mode, when the next time a checkpoint is performed, then their number gets synched with the rest of the database. From where the recovery comes into the picture here?
    2.>Or is there a reclamation/Re-sizing of On-line redo log file Space from other Segments.As I said before, I didn't understand at all what this point even means?
    HTH
    Aman....
    Edited by: Aman.... on Oct 24, 2009 9:19 PM added Edit

  • Is it working? (Backups confusing)

    I have some suspicions that Time Machine may not be working correctly on my MacBook Pro. First, I bought an external hard drive and partitioned it. My hard drive is about 100 GB, so I created a 100 GB partition formatted Mac OS Extended (Journaled) and named it Mac.
    When I click on Mac in Finder, I find two images and the folder Backups.backupdb. I copied the images to that partition before I set up Time Machine, thinking Time Machine would automatically erase the partition before it start backing up files to it.
    When I double click on the folder Backups.backupdb, it reveals another folder named MyName's MacBook Pro 17. Double-clicking that folder reveals 18 folders. One is named Latest, and the others are named with dates (e.g. 2008-01-01-123205, 2008-01-02-000038). After attending an Apple class last night, I now understand that I should have made my partition BIGGER than my internal hard drive, because Time Machine stores multiple backups.
    But now I'm confused. I thought Time Machine essentially CLONED my hard drive, and the most recent backup would be exactly the same size as my hard drive (~95 GB). After viewing these folders, it appears to me that Time Machine is working correctly, but my assumptions about Time Machine were wrong.
    If my hard drive suddenly crashed, and I bought a new hard drive, would I be able to restore my older hard drive's operating system, files, settings, etc. from Time Machine? Or would I have to start from scratch, reinstalling Leopard, then reinstalling all my programs?
    If Time Machine can't restore a hard drive, then do I need to create a new partition and find some other method to clone my hard drive to it, re-cloning it every so often to keep it current?
    And I have yet another question. My initial Leopard installation wasn't working too well. Someone who helped me troubleshoot it discovered massive memory problems. He decided one reason for the problems was Time Machine. He said it was attempting to do a backup even though my external hard drive wasn't connected at the time. But someone else told me Time Machine is designed to automatically go to sleep if it doesn't sense an external hard drive.
    Can someone tell me what's going on here? Do I really need to turn Time Machine off every time I disconnect my external hard drive?
    Thanks.

    Hello David:
    You have a bunch of questions. I will try to address the ones where I might shed some light:
    What you describe in the first part of your post seems to track with my time machine backups (I frankly never looked inside the folders).
    Time machine does NOT clone the HD - it backs up whatever has changed from the previous backup.
    You should allow time machine all the space you can - partitioning the HD will cause it to - eventually - begin to delete your older backups.
    To restore your entire HD from a time machine backup, you would boot from your install DVD and then move on from there (Apple's help menu goes into great detail, if you are interested).
    Before Time Machine I used to routinely make bootable clones of my internal HDs. After using Time Machine for awhile, I probably will stop doing that as it is, in my case, redundant.
    As far as I know, time machine is not active when no external drive (the time machine backup) is offline.
    A question - what do you mean when you say your system +"wasn't working too well?"+ There are many things that might be suggested, but without more information, none that I would make as they might not address the issue.
    Barry
    Message was edited by: Barry Hemphill

  • Incremental backup confusion

    i a reading the RMAN doc i have one confusion in one paragraph please clear me
    How Incremental Backups Work      
    Each data block in a datafile contains a system change number (SCN), which is the      
    SCN at which the most recent change was made to the block. During an incremental      
    backup, RMAN reads the SCN of each data block in the input file and compares it      
    to the checkpoint SCN of the parent incremental backup.      
    If the SCN in the input data block is greater than or equal to the checkpoint SCN of      
    the parent, then RMAN copies the block.
    my confusion is what is checkpoint SCN of the parent?
    tks & regards
    umaisi

    thanks paul,
    actually i am confused checkpoint scn,both are different thing checkpoint occurs due to log switch while scn as you told from oracle doc...!!
    A stamp that defines a committed version of a database at a point in time. Oracle assigns every committed transaction a unique SCN.
    but where i am reading
    If the SCN in the input data block is greater than or equal to the checkpoint SCN of the parent, then RMAN copies the block.
    it should be like
    If the SCN in the input data block is greater than or equal to the SCN of the parent, then RMAN copies the block.
    but why it is written checkpoint SCN ..may be it is some other concept regarding checkpoint SCN therfore i am confused please clear me..
    what is checkpoint SCN?
    tks & regards
    umaisi
    Message was edited by:
    user516706

  • Parrallelization of RMAN Full Database Backup Confusion

    Hi,
    I am running Oracle 10gR2 on Solaris 5.10 on sparc machine having 16 CPUs.
    I am using following RMAN script to take full database backup:
    #!/bin/bash
    ORACLE_HOME=/u01/app/oracle/product/10g
    PATH=$ORACLE_HOME/bin:$PATH
    ORACLE_SID=mtcedwp
    export ORACLE_HOME ORACLE_SID PATH
    rman target / <<EOF
    run
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 8;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    ALLOCATE CHANNEL d1 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d2 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d3 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d4 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d5 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d6 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d7 DEVICE TYPE DISK;
    ALLOCATE CHANNEL d8 DEVICE TYPE DISK;
    BACKUP TAG ATHEER_FULL_DB DATABASE FORMAT '/u01/BACKUPS/WEEKLY_DB_BACKUP/backup_%U';
    CROSSCHECK BACKUPSET;
    CROSSCHECK BACKUP;
    DELETE NOPROMPT OBSOLETE;
    RELEASE CHANNEL d1;
    RELEASE CHANNEL d2;
    RELEASE CHANNEL d3;
    RELEASE CHANNEL d4;
    RELEASE CHANNEL d5;
    RELEASE CHANNEL d6;
    RELEASE CHANNEL d7;
    RELEASE CHANNEL d8;
    EOFWill the above script take the 8-way parrallel backup? or do I need to configure location for every channel separately?
    regards

    This channel can be allocated manually or can be pre-configured by using
    automatic channel allocation.
    The number of allocated channels determines the maximum degree of
    parallelism that is used during backup restore or recovery. For example if
    you allocate 8 channels for a backup operation 8 background processes for the
    operation can run concurrently.
    Parallelism of backup sets allocates multiple channels and assigns
    files to specific channels. You can configure parallel backups by setting a
    PARALLELISM option of the CONFIGURE command to a value greater than 1 or by
    manually allocating multiple channels.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1012864

  • RMAN Backup Confusion

    Hi all,
    11.2.0.1
    Aix 6.1
    I am reviewing the RMAN backup scripts in our prod database which was written by the previous dba.
    The script said:
    run
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt expired backup;
    delete noprompt expired archivelog all;
    delete noprompt obsolete;
    allocate channel ch1 type disk;
    allocate channel ch2 type disk;
    allocate channel ch3 type disk;
    allocate channel ch4 type disk;
    backup as compressed backupset database plus archivelog format '/rmanbackup/prod/backup/db/db_%U';
    backup current controlfile for standby format '/rmanbackup/prod/backup/db/ctrl_stby_%U';
    backup current controlfile format '/rmanbackup/prod/backup/db/ctrl_%U';
    Then I check the content of /rmanbackup/prod/backup/db
    oracle[/rmanbackup/prod/backup/db] ls -l
    total 0
    -rw-r-----    1 oracle   backup      8617984 Sep 18 2012  ctrl_0knlh44v_1_1
    -rw-------    1 oracle   dba        11698176 Sep 18 01:24 ctrl_2sok4bqk_1_1
    -rw-------    1 oracle   dba        11698176 Sep 19 01:21 ctrl_3aok7001_1_1
    -rw-------    1 oracle   dba        11698176 Sep 18 01:24 ctrl_stby_2rok4bqi_1_1
    -rw-------    1 oracle   dba        11698176 Sep 19 01:21 ctrl_stby_39ok6vvu_1_1
    -rw-------    1 oracle   dba         8598016 Sep 17 01:24 db_2cok1ne6_1_1
    -rw-------    1 oracle   dba      3942116864 Sep 18 01:17 db_2hok4acs_1_1
    -rw-------    1 oracle   dba      3570494976 Sep 18 01:18 db_2iok4acs_1_1
    -rw-------    1 oracle   dba       130300928 Sep 18 01:16 db_2jok4bap_1_1
    -rw-------    1 oracle   dba         8078848 Sep 18 01:24 db_2qok4bqh_1_1
    -rw-------    1 oracle   dba      3205571072 Sep 19 01:14 db_2tok6uot_1_1
    -rw-------    1 oracle   dba      2845661696 Sep 19 01:14 db_2uok6uot_1_1
    -rw-------    1 oracle   dba      3153846272 Sep 19 01:14 db_2vok6uot_1_1
    -rw-------    1 oracle   dba      2851247104 Sep 19 01:14 db_30ok6uot_1_1
    -rw-------    1 oracle   dba       104608256 Sep 19 01:14 db_31ok6vjb_1_1
    -rw-------    1 oracle   dba         7869440 Sep 19 01:21 db_38ok6vvt_1_1
    Are the above backup complete?
    I also check the flash_recovery_area:
    oracle[/rmanonline/flash_recovery_area/PROD/backupset/2013_09_19] ls -l
    total 0
    -rw-------    1 oracle   dba         1867776 Sep 19 01:19 o1_mf_ncnnf_TAG20130919T011455_93mr5j77_.bkp
    -rw-------    1 oracle   dba      1314160640 Sep 19 01:19 o1_mf_nnndf_TAG20130919T011455_93mqwkc1_.bkp
    -rw-------    1 oracle   dba      1329709056 Sep 19 01:20 o1_mf_nnndf_TAG20130919T011455_93mqwkfr_.bkp
    -rw-------    1 oracle   dba      1459748864 Sep 19 01:20 o1_mf_nnndf_TAG20130919T011455_93mqwlhc_.bkp
    -rw-------    1 oracle   dba      1779367936 Sep 19 01:20 o1_mf_nnndf_TAG20130919T011455_93mqwlvo_.bkp
    -rw-------    1 oracle   dba           98304 Sep 19 01:19 o1_mf_nnsnf_TAG20130919T011455_93mr5kgk_.bkp
    Why is that there is another backup here? Do we have duplicate backups? Please validate.
    Thanks a lot, zxy

    Hi,
    run
    crosscheck archivelog all; -- Crosschecking all  archived log
    crosscheck backup; -- Crosschecking all  backups
    delete noprompt expired backup; -- deleting expirted backups
    delete noprompt expired archivelog all; -- deleting expired backups
    delete noprompt obsolete; -- deleting obsolete backups
    You  must learn what is obsolete backups? What is retention policy?
    How to working REPORT OBSOLETE, DELETE OBSOLETE ?
    Read Configuring the RMAN Environment
    There have other backups, because you are not delete obsolete backups after backup  command.
    You delete obsolete backups before backup command.
    Regards
    Mahir M. Quluzade

  • Lenovo RR backup confusion

    Hello, 
            I just used the Lenovo Rescue and Recovery to backup my hard drive.  I'm not sure If I chose the wrong option by mistake but I was expecting it to make a backup on a few cd's.  But what it did was make one cd which it told me to title it "Lenovo Rescue and Recovery startup disc" and then took a long time to create an image of my hard drive which I can see is is saved to "Local" and is 17,122 MB when I view all backups.  My question is 1) why didn't it backup my hard drive to a few cd's, 2) what is the purpose of the startup disc, and 3) can I locate and burn the iso image to a disc and this will be a proper backup?  Thank you!  
    Solved!
    Go to Solution.

    I have version 4.5 as well.  From the initial display panel, click on Launch advanced Rescue and Recovery, in the left bottom of screen. The back up your hard drive selection  will have  an optiion to  backup to cd/dvd.
    There is a bug in 4.5 version.  When I backed up to cd/dvd, the screen said it was backing up to my 2nd HDD.  The actual backup did go to cd/dvd. My normal backups go to my 2nd HDD.

  • Cold backup tablespace restore

    From a cold backup can you restore a tablespace to a different database.
    A datafile was created and dropped and now we are recieving ORA-1186, ORA-1157 cannnot/identify lock datafile
    We know that if our database goes down it won't come back up. The table space has about 250 tables and its huge about 100g in size. Does anyone know of what steps needs to be taken?
    Edited by: user10767182 on Jan 6, 2009 8:35 PM

    I couldn't quite workout what you were saying, but I think you were suggesting that copies of the lost tables and data are sitting in a second database somewhere, and you would like to pull them out of that database and plug them into the broken database. Is that right?
    If so, you cannot take a datafile from one database and plug it into another, unless you use the transportable tablespace option.
    Basically, on your broken database, you'd shut it down, bring it back to the mount state and then say alter database datafile X offline drop
    That will let you issue an alter database open followed by a drop tablespace X, and your broken database will at least be open, minus the important tablespace
    You then get your second database open and make the important tablespace read-only
    You'd drop to the command line and do an export using the TRANSPORT_TABLESPACE option -the command is too susceptible to the specifics to show you here. Check the documentation at http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta063.htm
    You then copy the datafile and the export dump file to the server where your broken database is running
    You then run an import, again specifying the TRANSPORT_TABLESPACE option
    Effectively, the datafile copy gets 'plugged in' to the broken database and gets adopted as a native, brand new tablespace, complete with contents. You finish off by making the tablespace read-write in both databases once more.
    Obviously, you lose data using this sort of process: the data comes back into your 'broken' database in the same state it was in your second database, and you can't apply redo to it to recover it to a more recent state. But that's going to be the best you can do if you don't have proper physical backups of the file. Your subject mentioning cold backups confused me a little on that score too.
    So I won't go into any more detail for now. It may be that I misunderstood the reference to 'restore a tablespace to a different database' and your requirements completely. But if this sounds like what you are after, and if you are stuck on any of the details, then you can always post a follow-up.

  • Now that I have backed up, can I delete items from my desktop? One of the reasons I got the time capsule was so that I could free up some space on my computer. I am confused about whether the backup will one day remove my photos/video

    I purchased a 2TB time capsule yesterday. I set it up as a router and did the backup no problem. I then navigated the backup folder and found that all my photos/video that I am nervous about losing are on there. So far so good.
    Taking a step back, the reason I bought the time capsule was 1.) I needed a router 2.) I have a mac and 3.) I am running out of disk space on that mac (I shoot and cut a lot of video and have years of high quality pictures on my mac hard drive)
    Can I now delete them from my mac computer to free space? I have used standard external disk drives in the past, but the whole "Back Up" piece of things has me confused. I love the idea of backing up my computer so I want to keep that functionality, but will the drive still function as a static external hard drive? Or do I need to move that material in seperately as a folder outside of the backup folder?
    I am nervous that if the backup overwrites information as the disk space becomes limited that in 10 years when I fill this drive up, that I will lose all of my photos that are part of the backups that I am running now.....
    Or worse, I am nervous that if I remove things from my mac right now, that the next time that a back up is performed that it will lose this data as it is not currently on the device I am backing up? How does this work?
    I apologize, the back up is a very new concept to me and I want to make sure I do not goof anything up.

    applefool wrote:
    Taking a step back, the reason I bought the time capsule was . . . 3.) I am running out of disk space on that mac
    That's an entirely different thing from backups.  A backup is an extra copy, in case the original is lost or damaged.   Additional space is just that -- more space for originals.
    While it's possible to use the same disk (such as the TC's internal HD) for both things, it's dangerous -- when (not if) something happens to the TC, you risk losing the originals that are on it.   To be safe, you need (at least) two copies of everything important, in (at least) two different places.  
    Many (including me) recommend at least three copies (originals plus 2 backups).  While it's not common for the Mac's hard drive to fail about the same time as the backup drive, it does happen.  There are several threads here where it did, and very expensive data recovery was needed, but in some cases everything was lost.
    So as the others recommend, getting an external HD for the stuff there isn't room for on your Mac is one solution for not having enough space.  But you might explore getting a larger internal HD.   If possible, that might be bettter.
    Then, also get another external, for "secondary" backups, so you're doubly protected.  If you get a portable model, you can take it offsite for even better protection.  See #27 in Time Machine - Frequently Asked Questions for details and some suggestions.
    Can I now delete them from my mac computer to free space? I have used standard external disk drives in the past, but the whole "Back Up" piece of things has me confused.
    You're not the first or only one. 
    There are different types of backup apps, so there are different answers for the different types.
    As the others have posted, Time Machine will, sooner or later, delete it's backup copies of things that are no longer on your system.  Depending on how long the original was there and when backups were run, that can be in as little as 24 hours, or as long as there's room.   So no, don't take the chance with data that's important!
    Is there helpful information on how to add an external drive to your backup set up?
    See the green box in #2 of the FAQ article.  All you have to do is format it for a Mac and remove it from the exclusion list.
               Once I set it up, will I need to leave the hard drive plugged into my mac in order for the data to be backed up?
    It can only be backed-up while it's connected.
               If I do, and a back up is performed without the hard drive attached to my computer, will it remove the backup of  what was on the hard drive
    No (unless you leave it disconnected until Time Machine starts deleting old backups).
    It will back up the external when it's connected, and not complain if it isn't.

  • How do I backup my iTunes music collection? I've read that you're meant to go File Library Back Up, but there's no option to back up under File Library! Confusing...

    How do I backup my iTunes music collection? I've read that you're meant to go File > Library > Back Up, but there's no option to back up under File > Library! Confusing...

    Copy your entire itunes folder to an external drive

  • Confused with backups

    hi all, i am slowly, very slowly getting to grips with my Mac Book Pro, but i am still confused by Time Machine, i have a "My Passport" 1tb drive to put my backups on, i have so far done about 5 back ups and only used,  about 50gig of space on the 1tb drive, i have always wondered how my backups don't take very long to do, obviousy they aren't very big, and then i think, perhaps it ONLY backs up the changes since my last back up.
    in other words it doesn't look as if it has yet done a FULL back up
    you can see from the screen shot below the size of a full back up (i think ?) So how can i do a FULL BACK UP please.
    i would like to know that i have definitely backed up all my Emails within the MAIL program and similarly i would like to know that i have backed up all my iPad backups and Backed up all the App's i have purchased for my iPad and my Mac.
    tim

    try a Full  Reset  of  Time  Machine.
    you also might want to take a look at these user tips:
    Time Machine FAQ
    Time Machine Troubleshooting

  • Restore old rman backup after changing dbid?

    Hi,
    I backed up database using rman. then i changed dbid for that databases. can i restore backup what i backed up before changing DBID?

    No.
    When you change the DBID for a database, it becomes a different database. All the datafiles are stamped with the new DBID.
    And you cannot select a DBID value either, so you cannot choose to change the DBID back to the previous value.
    A RESTORE verifies that it is restoring to the same database -- it uses the DBID to verify. Since the DBIDs for the Backup and the now-present database do not match, a RESTORE cannot be attempted.
    You can remove the database with the changed DBID and do a complete RESTORE from the backup.
    Hemant K Chitale

  • Find DBID in compressed backup

    Hi all,
    Is there anyway to find dbid from a compressed backup ? autobackup is turned OFF.
    Thanks in advance

    Hi SRP,
    thank you for your prompt reply.
    Actually im just doing some testing here.
    I have backed up all my datafile, controlfile, spfile and archivelog and controlfile using compress method. autobackup is set to OFF. Then i have deleted all the physical files. including databafile, control, redo spfile.. all.... only have the binaries here. Currently using RMAN i am able to use a dummy i am able to nomount. Since the backupset is compressed i am unable to use any of the method to retrieve the DBID.

  • HT1296 my new iPhone 5 has been restored from my previous backup -iPhone 4...how can I rename the newest device so as to not get confused

    How do I rename my new device (iPhone 5) on my iTunes account? I just did a restore from my previous phones backup...I don't want to get confused since we have multiple devices on the account

    Hi Ma Bell,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iTunes and iOS: Change the name of your iPhone, iPad, or iPod
    http://support.apple.com/kb/HT3965
    Cheers,
    - Judy

  • RMAN backup for two databases with similar DBID

    We have two databases with SID 'uiivc' and 'uiivc1' running from one of the HP Unix 11.11 PA-RISC server. I did configured RMAN backup for both databases. But it is found that both databases have same DBID [connected to target database: UIIVC (DBID=3005194057) for UIIVC & connected to target database: UIIVC1 (DBID=3005194057) for UIIVC1] and backup configured via crontab seen running fine with full backup at weekend and archivelog backup at daily for both databases. Now my query is that will it create any issues at time of restoration since both databases have similar DBID? Does RMAN uses DBID to distinguish databases?
    Kindly help to clarifiy
    Regards
    Manoj Thakkan
    [email protected]

    Hi Tycho,
    I configured RMAN to store controlfile backups in different folders on each database.
    UIIVC database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc/cf%F';
    UIIVC1 database:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/hot_backups/rmanbkp/uiivc1/cf%F';
    Server output:
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc
    total 43904816
    -rw-r----- 1 oracle dba 21144928256 Jul 15 10:58 8rkk68p5_1_1
    -rw-r----- 1 oracle dba 287110144 Jul 15 13:41 8tkk6sfv_1_1
    -rw-r----- 1 oracle dba 862700544 Jul 16 08:00 90kk8sel_1_1
    -rw-r----- 1 oracle dba 152350720 Jul 16 08:09 92kk8tgg_1_1
    -rw-r----- 1 oracle dba 32145408 Jul 16 08:09 cfc-3005194057-20090716-01
    uii-79:uiivc1 > ls -lrt /hot_backups/rmanbkp/uiivc1
    total 24186112
    -rw-r----- 1 oracle dba 6373965824 Jul 13 13:10 83kk1ftf_1_1
    -rw-r----- 1 oracle dba 784803840 Jul 13 13:46 85kk1j5e_1_1
    -rw-r----- 1 oracle dba 1022674944 Jul 13 23:07 87kk2kjs_1_1
    -rw-r----- 1 oracle dba 1814230016 Jul 14 23:46 89kk591i_1_1
    -rw-r----- 1 oracle dba 1211042816 Jul 15 23:06 8bkk7tc0_1_1
    -rw-r----- 1 oracle dba 1165975552 Jul 15 23:10 8ckk7tnr_1_1
    -rw-r----- 1 oracle dba 10534912 Jul 15 23:10 cfc-3005194057-20090715-00
    And I saw backups are placing in the respective folders too. So with these settings, can I safely assume there is no issues with RMAN backup and restore having similar DBID for two databases running on same server?
    Regards
    Manoj Thakkan

Maybe you are looking for

  • ISE 1.2 EAP-TLS handshake to external RADIUS

    Hi everyone! I'm trying to implement ISE to authenticate a wireless network using a cisco WLC 5508, I have an ISE virtual Appliance version 1.2  and a WLC 5508 version 7.6 with several 3602e Access Points (20 aproximately). Right now they are authent

  • Manual bank reconciliation statement FF67

    Hi ,   what are the data to be enter the data in FF67 for manual bank reconciliation statement and how to post the bank G/L? How to check whether it is posted or not? Please tell me the steps..   If use BDC for Tcode FF67...Bank G/L will be posted au

  • UTF8 conversion of wwv_mig_acc_load

    We are converting our database to UTF8 from US7ASCII and csscan reports lossy data in the package body of wwv_mig_acc_load. Does anyone know of any reason any reason why I can not try to re-install wwv_mig_acc_load.plb Thanks Wayne Additional informa

  • Problem in finding the following fields!

    compiler code compiler desc language code language desc runtime band code runtime band desc

  • Nokia N8 Social Widget gone after reset

    Hi, I recently reinstall the nokia n8 fw but after installing it the nokia social widget gone from the homescreen but present in application when I try to put social widget manually to homescreen then it is not present in the homescreen widget list p