duplicate database 10g using the backup of the previous incarnation

Hello

Database is 10.2.0.4.

At the point where X, I did a full backup

To the X + 10 poin I flashed of database back to time X + 5

Database currently is runnig. So now we are at the point in time X + 100

Now I need to duplicate the database to point in time X + 100 using the above mentioned full backup (full backup set in point in time X, then, before the return of flame)

I could use the normal procedure:

connect the target

auxiliary connection

to connect to the catalog

allocate channels

together until...

data duplicated blabla

Or do I have to do different steps?

Thank you very much in advance, massi

The FLASHBACK DATABASE would have required an ALTER DATABASE OPEN RESETLOGS open the database.  This command would have changed the incarnation of the database.  If all subsequent recovery logs and the database itself are another incarnation - a future incarnation until the return of flame.  The flashback prior backup controlfile is NOT aware of the subsequent incarnation!

Hemant K Collette

Tags: Database

Similar Questions

  • How to save a database to use the RMAN catalog using the OEM 11 g grid

    How to save a database to use the RMAN catalog using the OEM 11 g grid?

    ---------------------------------------------------------------------
    Enterprise Manager Version: 11.2.0.2

    See the availability tab, and then click 'Recovery catalog settings' under the Backup/Restore Configuration.

    Choose the option 'Use Recovery Catalog'. Click the 'Add Recovery Catalog' button to add the recovery catalog. And fill required fields like username, host, port, sid, etc..

    Talip Hakan Öztürk
    http://taliphakanozturken.WordPress.com/

  • How can insert quary in database by using the collection.

    Hi friends,


    My friend advice me to insert several point with collection for the use of multiple lines. But I don't know how to use the collection. How do I create the form to insert data using the collection.
    Please send me any link or example .au insert data into database by using the collection.



    My problem is:-

    I have a bill with several point for example. Grapes (25) with amount here and now I want to add these question with quantity in my database, Badam (145), banana (49), Apple (12)
    When I finally click on submit button.

    Actully I was used as a table but I am facing a problem when using tabular, tabular, I enter first item for example. Apple and there quantity for example. 12 in the textfield and after clicking on Add line enter Buttom went to the database. but I want that entry should not go the database. But only the new line should add when I click on the button Add a line.

    I want all these point 4 should enter into the database when I click on Submit Final.


    Maury

    Published by: Ed on September 6, 2009 02:22

    Hello

    I would do something like the code:

    BEGIN
     DECLARE
      vDATE DATE;
     BEGIN
      vDATE := TO_DATE(:P1_DATE1,'DD.MM.YYYY');
      WHILE vDATE <= TO_DATE(:P1_DATE2,'DD.MM.YYYY')
      LOOP
        INSERT INTO ABC (DTE, LEAVE)
        VALUES (vDATE, :P1_C);
        vDATE := vDATE + 1;
      END LOOP;
     END;
    END;
    

    You must ensure that the datepicker points both use the ' JJ. MM YYYY ' date format.

    Andy

  • recover the database by using the RMAN backup archivelogs

    Hello

    I tried to find the resolution of this problem in google a lot but couldn't find something useful.

    Location:

    We try to clone the dev environment of production that are completely on different servers and do not share a common mount point.
    Backup RMAN of PROD with RMAN as well as arch newspapers are kept in this mount point.
    We took control of backup files of PROD restored in DEV fired restore with recovery until a when not.
    Turns out that the sequence was not saved in right backupsets there if recovery has not requested more arch newspapers that are present in the PROD.
    Archs are stored in ASM and only way out is to take of RMAN backup of them.
    We control the file as a repository for RMAN.

    my questions are

    1. surely, I need to take backup of the control file after I take the log arch by RMAN backup and restore this file command in the DEV of so that when I start RMAN recovery in DEV, database will be able to find the backupset with arch newspapers. But the new restore a control file will delete the data files restored information?

    2. If we did not have a point of common Assembly and then after sending the backup destination elements how the database would be the locations of the game copied to the new location of the control file that is restored from the backup source?

    Suppose that in the source backups are stored in/backup/rman
    in destination copy us in/backup/clone
    in the PROD control file, their locations are saved in/backup/rman
    so if I restore this command file in custom DEV it find the elements of backup in/backup/rman?
    is it possible to save a backup of outside item in the control of a database file?


    3 al ' ASM, is there another way to extract the PROD archive logs and apply them to a cloned instance? (sending of newspapers without DR)

    The help is very appreciated.

    Kind regards
    Marjorie Dutta

    1. .... But the new restore a control file will delete the data files restored information?

    N ° provided that you do not have renamed, moved or abandoned any of the data files that were already copied in DEV. (also, subject that you did not add da new Production data between two backups - otherwise the new controlfile file will wait as datafile also to be present at DEV).
    You will do an incomplete recovery until a certain SNA / sequence # if information subsequent archivelogs beyond your point of recovery in the controlfile are redundant. In addition, a RESETLOGS would be done when you OPEN the database.

    2... how to know the locations of the game copied to the new location of the control file that is restored from the backup source database?

    What is the order CATALOG. In 9i, CATALOGUE could only of catalog datafilecopy. In 10g and more, you can BackupPieces CATALOGUER. Thus, it would "update" the controlfile (which is the RMAN Repository) with information about the BackupPieces that are present in a replacement / new location.
    See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230

    3. ... ASM, is there another way to extract the PROD archive logs and apply them to a cloned instance?

    According to the version you are using, ASMCMD has a 'cp' command to copy the files from the DSO for the operating system. However, you cannot use ASM to apply directly the archivelogs. You always use the 'RECOVER' of RMAN or SQL command line command.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Duplicate RMAN cloning using the database using the current database

    Hi all

    I am new bie, I want to clone my target database using the rman command 'DUPLICATE database OF ACTIVE DATABASE"new host.

    steps on google, I searched, but I got confused, I doubt if you need to install oracle rdbms softare on new host or not? and also should I copy all files (redo, control, datafiles) to the new host? kind LY help and tell me the steps to clone the database using rman.your help will be appreciated.

    Thank you.

    Kind regards.

    OS: RHEL 5.4

    DB: 11.2.0.3

    Hello

    Have you not through document link to Gavin at least. It's very simple steps. If you wait until other measures, then won't them.

    He had provided the demonstration, at least get in 'google' (you'll have so many links)

    The Oracle Dba Italian Blogger: how to clone an Oracle 11 g 2 home

    http://balaoracledba.com/2013/12/16/cloning-an-existing-Oracle11g-release-2-RDBMS-installation/

    Note: If you feel always complex, better skip the task itself.

    -Thank you

    Pavan Kumar N

  • Recover the database by using cold backup

    Hi all

    One of the table is deleted accidentally by one of our DBA of PROD. We have a backup to cold on a day before.

    Now, we try to restore from the backup to cold. DB PROD is in archivelog and all the archives are in tact.

    The resulting table truncated today at 20:00. We can apply the database until 20:00 so that we can restore the table truncated using cold backup.

    Please find the steps we use to restore below.

    create controlfile

    from the db in State of Mt.

    recover the database;

    It will ask for last log archive when we try to get it back.

    ENV details-

    DB - 11.2.0.1

    Please suggest.

    Thank you

    create controlfile

    from the db in State of Mt.

    recover the database;

    This method is not correct. Here are the four steps for incomplete recovery (which is what you need):

    Mount the database

    restore all data files

    recover the database up to the...

    ALTER database open resetlogs

    Your DBA (who say you was responsible for the error) will be familiar with the routine. Or it should be.

  • Database 10g of the clone

    Salvation;

    I am working on linux 10.2.0.4 datavabae. I want to clone my database. I mean I have a data base and its SID is ORCL, and I want to have the same database (wihtout datafile, tablespace, user etc...)

    I found it in net page of Tom:

    http://www.Oracle-base.com/articles/10G/ServerConfiguration10g.php... I read something about cloning of databases using DBCA and then I found this:

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14196/install003.htm#i1008647

    I followed the steps and I guess I took a clone under folder templates. I have no problem... but the question is what do these models? I can't see this clone db as database in the database list in the dbca Wizard? In the footnote to document oracle seems nice, but it is not something I do cela files to create a new db after taking model... What is the procedure?

    All boards can be very useful

    Thank you very much

    My senerio is, a linux server and 4 different database (not the scheme, 4 SID) different runs on this server. All versions of database will be 10.2.0.4, in the begginning all databases don't have a data file or a table (just table by default, tablespace, which comes from the base of default creatine with dbca). I can follow 2 ways

    1. create each database and then level to 10.2.0.4, and I followed the same steps for the other 3 databases
    2. as you mentioned I can spend database 10.2.0.1 to 10.2.0.4(if ses wihtout possible créer anydatabae) and then create a database and use RMAN or clone and create the other 3

    Home upgradation is required before the database upgradation. So, if you upgrade a so-called home 10.2.0.1 to 10
    .2.0.4, then you cannot create a database with the version 10.2.0.1 on this House. Better improve reception, upgrading a datbase and clone other 3 databases using the RMAN DUPLICATE command.

    HTH,
    Julien

  • Is there a way to change the connection string to the database by using the command line on the virtual machine?

    Hi, I use 1.5 space Horizon

    can someone help me by telling me where I can change the connection string for the database on the virtual machine itself.

    I was away, and our stuff has been migrated databases to another server. Now my horizon does not connect because it can not find the database. I can either on the hwconfigurator.xxx.com.

    Thank you

    What do you see when you go to https://hwconfigurator.xxx.com?

    You can try to change this property in /usr/local/horizon/conf/runtime-config.properties on your service - will (s) and the server restart of tc by using the command "/etc/init.d/horizon-frontend restart".

    datastore. JDBC. URL = jdbc:PostgreSQL: / //saas? = stringtype unspecified

  • Get the CGI env variables in a database procedure using the new listener to the APEX

    I already posted this question in the earpiece of the Apex forum and still no response after a week. The original post is here:
    Download environmental CGI of APEX listener within the procedure of database

    So please forgive me for posting in this forum as well, but there is much more activity here.

    I would like to know how I can get the CGI environment to the listener of the APEX. For example, if I want to write a procedure that inserts into a table, the client web request originating IP address, how do it?

    I am familiar with the Oracle Http Server and mod_plsql, and I know how to call OWA_UTIL. GET_CGI_ENV to get this kind of information. How can I do this by using the earpiece of the APEX?

    In particular, how to do that when you call a custom (not in a workspace Apex) procedure? When I try now, I get an error owa_util. The cgi env seems to be empty or not initiated (owa.num_cgi_vars is null or zero).

    Specific settings:
    I have a web server running the last JDK, Glassfish and 1.1.4 Apex listener. It connects to another server running the last database 11.2. Apex is installed and running, but I'm not really developing a traditional Apex application in a workspace. I use it mainly as you would use mod_plsql. In other words, I have packages of pl/sql custom which are called directly via a URL. Applications must be sent by the listener to the database and DB executes the procedure and returns output using htp.p to send the text to the browser. And it works very well for this purpose. But if I want to call GET_CGI_ENV to get information such as IP address, the browser making the request, etc. I can't get with the OWA packages.

    Anyone can shed some light on this? If the listener of the Apex is not designed to do this, is it some kind of workaround that I can use to transfer such information to the database for each request?

    Hi Adam,.

    APEX is located on the top of the Toolbox for OWA. There is no appeal of the special procedure to be implemented.

    Kind regards
    Christian

  • set the database parameters using the init.ora file

    Hi all

    I'm working on a product of oracle (BI Apps), it gives a setting recommended database values in an inti.ora file. How can I apply this file to my database? in other how can words I use the values of the recommended settings in this file?

    Thanks for your time.

    Hello

    Try this:

    (1) connect to your database as a SYSDBA
    (2) issue: CREATE PFILE='/tmp/pfile.ora' OF SPFILE;
    (3) /tmp/pfile.ora to modify and add some references in your init.ora requests file - or update the current entries if those that already exist.
    (4) stop your database.
    (5) start your database in restricted using the new /tmp/pfile.ora mode to see if the settings are ok and if your database will start with them. (If he - go to 6), if no, go to 3)
    (6) question: CREATE SPFILE FROM PFILE='/tmp/pfile.ora'
    (7) judgment of the database
    (8) start as usual-, this will use the spfile with the changes.

    Nice.

    Note:
    Step 2) assumes that you are on * NIX and are actually using a spfile in your database already...

  • Databases that use the Berkeley DB

    Hello

    Is there a SQL database that uses Berkeley DB Java Edition as the storage engine? If so, could you please point me to them?

    Thank you
    Wait.

    None that I know.
    -mark

  • Unable to connect to the local database (without using the tnsname)

    Hi guys
    I have 2 database running on the local computer.

    Db1 SID - orcl (install 1)
    DB2 SID - unicode (later installation)


    Today I stop the basic unicode and stop its respective services.

    on the back
    I did a sqlplus scott/tiger, I got an error
    ORA-12560: TNS:protocol adapter error

    That's why
    I did a
    Set ORACLE_SID = orcl

    and I still get the same error.
    -------------------------------------------------

    So I'm the other way around. I orcl database stop, stop its services and database unicode to START and its services.

    I disassembled the ORACLE_SID environment variable.

    Now, I have in the command prompt
    sqlplus scott/tiger

    I am connected to the unicode database!
    -------------------------------------------------

    Now I ORCL stop unicode data and start...

    and I have a
    sqlplus scott/tiger@ORCL...

    I HAVE no problem to connect to it...
    --------------------------------------------------

    May I ask why should I provide the TNSname ORCL database and I do not for the UNICODE of the databases...
    Both are local on my database.

    What's wrong?

    Moreover, I am on XP.
    Thank you!

    Set ORACLE_SID = orcl
    sqlplus / as sysdba;
    sys@ORCL > exit

    Set ORACLE_SID = unicode
    sqlplus / as sysdba;
    sys@Unicode > exit

    Well, we know that both your DBs are working properly.

    So out of curiosity, I did cela tests...
    (1) connect the two database and stop
    (2) stop their services
    (3) start only ORCL service
    (4) close and reopen the command prompt to delete the var of environment ORACLE_SID

    sqlplus / as sysdba;
    Error: ORA-12560: TNS: Protocol adapter error

    (5) now I stop service ORCL
    (6) (and I start the service of UNICODE)

    then I deliver

    sqlplus / as sysdba;
    sys@Unicode >

    It seems quite normal. In your registry value ORACLE_SID is, most likely, unicode, the last created: check it out, and if so, you can connect to unicode DB without setting ORACLE_SID, while you will need to set to connect to DB orcl.

    When you have more than one DB, you set the ORACLE_SID environment variable before connecting either you use connection strings.

  • duplicate calls made using the alias between two codecs C40

    We have 2 new codecs C40.  When calling between the two using the alias, it seems that 2 calls are made.  In a sense, we get a very quick disonnect message upon acceptance of the call.  In the other direction, the call comes in, but on disconnect, we get a message saying missed call.

    Seems that the search rules can be duplication of the call some how - probably him endpoint becomes a call SIP and H.323 call at the same time. Could you post the call details and history/details of research?

    Sent by Cisco Support technique iPhone App

  • Current archive log has been deleted, how to recover using the previous archive log?

    Hello

    My current log sequence #819 and it has been deleted and no other choice to get it back and I have previous newspapers archived with sequences #814 à 818.

    When I start my database is to show that the use ' MUST USE RESETLOGS or NORESETLOGS option of database open, then I used the command

    SQL > ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    *
    ERROR on line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01. DBF'

    SQL > alter database recover;
    ALTER database recover
    *
    ERROR on line 1:
    ORA-00283: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be
    SQL > alter database recovery using backup controlfile;
    change the database recovery using backup controlfile
    *
    ERROR on line 1:
    ORA-00279: change 8433746 September at 15/01/2013 19:51:59 needed to screw 1
    ORA-00289: suggestion:
    E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_01_16\O1_MF_1_819_

    % U_. ARC
    ORA-00280: change 8433746 thread 1 is in sequence #819

    now, I don't have the log archiving with 819 sequence, I recover from 818. Please tell me how to do?

    Hello

    1. select * from v$log and see which log file is current. Query v$logfile to check physical file location belonging to current log group.
    2. Take bacup of your curent control file using copy/paste of your OS
    3. Issue following command in mount state
    recover database until cancel using backup controlfile
    4. When it finishes applying available archived logs, still it will ask for the location of archived logs which have not been applied, here provide path of current redo log file you got in first step. Here your recovery will finish after applying current redo log
    5.alter database open resetlogs.
    

    Salman

  • How can I reinstall (lost) Windows Virtual XP Mode in Windows 7 using the previous or your virtual hard disks?

    I recently had to reinstall Windows 7 Pro X 64 to address an obscure problem. In doing so, I lost my virtual XP Mode of Windows installation. But I still have the virtual hard drive related.

    1. Can I reinstall the VXP in order to use the old hard drive virtual?
    2. If I reinstall VXP using the VHD file, will be what I have already installed there would still be available?

    Hello

    I am happy to know that the problem has been resolved. Please do not hesitate to get back to us if the problem re occurs.

    Kapil Purohit - Microsoft Support

Maybe you are looking for