Database of flashback through RMAN (10 g)

Hi all;

How can get a rear base using database of flashback (rman) in 10 g.

SQL > select current_scn, to_char (SYSTIMESTAMP, "YYYY-MM-DD HH24:MI:SS) database v$.

TO_CHAR (SYSTIMESTAM CURRENT_SCN

----------- -------------------

1153432 2014-05-25 00:07:35

SQL > select * from tab;

TNOM TABTYPE CLUSTERID

------------------------------ ------- ----------

TAB6 TABLE

TABLE TAB1

TABLE TAB2

SQL > delete from tab2.

2048 deleted rows.

SQL > truncate table tab1;

Table truncated.

SQL > drop table tab6.

Deleted table.

SQL > commit;

Validation complete.

SQL > conn / as sysdba

Connected.

SQL > drop user cascade of sam;

Deleted user.

SQL > shutdown immediate;

The database is closed.

The database is dismounted.

ORACLE instance stops.

SQL > bootable media.

ORACLE instance started.

Total System Global Area 465567744 bytes

Bytes of size 1274308 fixed

96472636 variable size bytes

364904448 of database buffers bytes

Redo buffers 2916352 bytes

Mounted database.

SQL > exit

Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.5.0 - Production

With partitioning, OLAP, Data Mining and Real Application Testing options

[oracle@oel5 ~] target rman $ /.

Recovery Manager: Release 10.2.0.5.0 - Production on Sun may 25 00:10:21 2014

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

connected to target database: ORCL (DBID = 1373939619, is not open)


RMAN > FLASHBACK DATABASE TO TIME timestamp ('2014-05-25 00:07:35 ');

RMAN-00571: ===========================================================

RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

RMAN-00571: ===========================================================

RMAN-00558: error occurred during parsing of order entry

RMAN-01009: syntax error: found 'identifier': expected an a: 'double-quoted-string, equal, single-quoted-string '.

RMAN-01008: the bad ID was: timestamp

RMAN-01007: in the file column 28 line 1: entry standard

Recovery Manager: Release 10.2.0.5.0 - Production on Sun may 25 00:10:21 2014

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

connected to target database: ORCL (DBID = 1373939619, is not open)

FLASHBACK DATABASE IN TIME ' TO_DATE ('2014-05-25 00:07:35 ',' YYYY-MM-DD HH24:MI:SS') ";

Tags: Database

Similar Questions

  • How to place data files in two places during duplication of database or refresh via RMAN test

    Hi all

    can you please find the solution and help me on this point

    How to place data files in two places during duplication of database or refresh via RMAN test

    Thank you

    Ran

    Hi all

    Please send me as soon as possible if you have a solution.

    Thank you.

    Ran

  • 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/

  • Creation of a data base ensures through Rman.

    Hello world

    Worm of Oracle: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    OS: Windows Xp

    I am trying to create a database using Rman standby...

    but when I am trying to invoke the Rman executable and to connect to the primary and auxiliary database, IE: pending

    It gives me the following error...
    C:\Documents and Settings\prosenjit>rman target system/manager@primary auxiliary system/manager@standby
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Oct 2 09:28:08 2008
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    connected to target database: PRIMARY (DBID=1503515402)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12541: TNS:no listener
    I restarted my listening service but still getting the error...

    Here are my Listener.ora entries...
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = DPC-010420)(PORT = 1525))
        )
      )
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PRIMARY)
          (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
        )
      )
    
    
    standby=
     (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = DPC-010420)(PORT = 1526))
        )
      )
    
    SID_LIST_standby =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = standby)
          (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
       )
      )
    any help appreciated

    Kind regards
    Jean-Jacques Mukherjee

    Did you start the listener of the day before? You have defined it as a listener separately on a different port, so

    LSNRCTL START STANDBY

    should start the listener watch on the port of 1526.

    I guess only tnsnames.ora to SUSPEND entry also reflects this port number.

  • Restore using flashback and RMAN

    Hello
    If a user has removed a table and a few users of the database can use RMAN or FLASHBACK database to restore the table and users who have been abandoned without rolling the other changes in the database? My understanding is that RMAN restore to a point in time, YVERT or backup. I think that the flashback database is similar. Currently, it is what I would do:

    (1) use the last troubled basic backup and restore in another environment using expdp/impdp
    (2) I would then export the table and missing users
    (3) and import users and the missing to the troubled database table.

    Is there another way to do this without using expdp/impdp only using RMAN or flashback?


    Thank you

    J

    Hello again;

    You might be able to flashback tables if you are set up properly for this.

    Missing users are the problem. Data Pump and Flashback will not help a deleted user if I remember correctly. But you can generate the user create from the RMAN clone database data dictionary.

    Change my answer

    I think you're right - data pump will create a user has fallen. (I still like the idea in doubles, because I like working with a copy)

    Example of

    http://querydba.blogspot.com/2009/07/data-pump-utility.html

    Data pump is probably the easy way to move from RMAN recovered objects back.

    expdp TABLES =.

    See - example 2-1, perform a Table-Mode export

    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dp_export.htm#i1006376

    Best regards

    mseberg

    Published by: mseberg on March 26, 2013 14:10

    Published by: mseberg on March 26, 2013 14:15

  • Oracle secure through RMAN backup?

    Hi Experts,

    We intend to implement Oracle Secure Backup using RMAN in one of our production database. What are the pre-requisties to RMAN for
    Side BONES as well as side database?

    Any quick suggestions can be enjoyed...

    Rgds
    Kumar

    Hello

    You can use RMAN to backup and restore using Oracle Secure Backup. But the following met prior to implementation.

    1 RMAN needs to connect via pre-authorized user
    2 OSB class of pre-authorized OSB user must have backup and restore rights
    3. the OSB user's permissions must match those of the Oracle Instance.

    Please check all the foregoing...

    Thank you
    LaserSoft

  • Creating a database with only the RMAN backup

    Hello

    I have a full backup of a database (10.2.0.1) of 10g RMAN in RHEL5 server. This backup has only the backup piece does not SP. and the control file. I want to create a new database with this backup in a new server. Is this possible? How to go further?

    Kind regards
    007

    Hello

    Refer to this that you can take a look at this http://shivanandarao.wordpress.com/2012/04/19/duplicating-primary-database-to-a-new-host-without-connecting-to-the-primary-database-in-oracle-10g11g/

    RMAN automatically backup spfile and controlfile in the backup of the data file 1 (SYSTEM datafile). So you can restore them from the backup piece which is to have the file system data.

    4.3.5 Backing Up Control Files with RMAN
    http://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup003.htm#i1009642
    

    Newbie
         
    Manage: 007
    Status level: Rookie (25)
    Join date: Oct 6, 2010
    Messages total: 272
    Total Questions: 154 (123 pending)
    Name Khanth
    Location India
    Occupation DBA Junior

    I feel unhappy when you do not close your son, if they have been answered. If you feel that the nets have been answered, then please consider closing them by providing appropriate points and marking them as answered. Please clean the forum!

    Kind regards
    Shivananda

  • duplicated in database: ends with error: rman-06136 ora-01110

    OS: Linux REDHAT 5
    DB: 11.2.0.3

    Source DB backed up using rman full backup incremental level 1 twice and scp all backupsets to auxiliary hosts.

    I try to reproduce as follows:
    Run {}
    data duplicated in TST
    UNTIL TIME ' TO_DATE (NOVEMBER 12, 2012 ',' ' HH24:MI:SS JJ/MM/AAAA).
    location of backup "/ stage/TST.
    NOFILENAMECHECK;
    }

    Everything worked out to restore all the, and then he proceeded to recover with following error message:

    Oracle error:
    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: '+ DAT/tst/datafile/system.279.799358399 '.

    Then he kept to the end with the following errors;
    ORACLE auxiliary database error: ORA-19751: could not create the file change tracking
    ORA-19750: change the trace file: "+ DAT/prds/changetracking/ctf.906.799250971".
    ORA-17502: ksfdcre:4 cannot create the +DAT/prds/changetracking/ctf.906.799250971 file
    ORA-15046: ASM '+ DAT/prds/changetracking/ctf.906.799250971' file name is not unique creation as a file

    Ignore the error, retry command after only two copies ends

    content of Script memory:
    {
    ALTER clone database open resetlogs;
    }
    execution of Script memory

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 14/11/2012 22:26:18
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: '+ DAT/tst/datafile/system.279.799358399 '.

    RMAN >

    Should I proceed from here?

    Thank you.

    Yes

    Here is my document to support:

    During replication of the database, Rman error ora-1547, ora-1152, ora-1110 during recovery [274118.1 ID]

    Best regards

    mseberg

  • Disabling the open database while flashback?

    On Oracle 10.2.0.4


    I know that to mount the database before enabling the return of flame. You can disable flashback record while the database is open? Or should it be closed?

    We encounter performance problems related to flashback buf free by RVWR and want to do without any impact on customers

    Thank you very much

    The Pat wrote:
    On Oracle 10.2.0.4

    I know that to mount the database before enabling the return of flame. You can disable flashback record while the database is open? Or should it be closed?

    We encounter performance problems related to flashback buf free by RVWR and want to do without any impact on customers

    Thank you very much

    Yes CAN.

    SQL > shutdown immediate
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.
    SQL > startup mount
    ORACLE instance started.

    Total System Global Area 535662592 bytes
    Bytes of size 1375792 fixed
    331350480 variable size bytes
    197132288 of database buffers bytes
    Redo buffers 5804032 bytes
    Mounted database.
    SQL > alter flashback database;

    Database altered.

    SQL > alter database open;

    Database altered.

    SQL > select flashback_on from database v$.

    FLASHBACK_ON
    ------------------
    YES

    SQL > alter flashback database;

    Database altered.

    SQL > select flashback_on from database v$.

    FLASHBACK_ON
    ------------------
    NO.

    SQL >

  • 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

  • Problem in time through RMAN recovery

    Salute to seniors,

    I'm trying to recover a table that has been deleted by mistake at 22:25:11 (2 October 2010). I put the settings nls_date_format = DD - MM - YYYY:HH24:MI:SS, nls_lang = AMERICAN in the settings file used by the instance. When I try to run the following command at the RMAN prompt:

    * RMAN > run {*}
    * 2 > set until that time ='02-10 - 2010:22:25:00'; *
    * 3 > restore database; *
    * 4 > restore database ;} *

    I get the following error:

    executing command: SET until clause
    RMAN-00571: ====================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ====================================================
    RMAN-03002: failure of the set command in the 02/10/2010 22:29:24
    ORA-01843: not one month valid


    Help, please!

    Kadamabari,
    India.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select current_timestamp to double;

    CURRENT_TIMESTAMP
    ---------------------------------------------------------------------------
    OCTOBER 3, 10 10.37.42.839000 + 03:00 AM

    SQL > select systimestamp from double;

    SYSTIMESTAMP
    ---------------------------------------------------------------------------
    OCTOBER 3, 10 10.38.22.950000 + 03:00 AM

    SQL > drop table employee;

    Deleted table.

    SQL > commit;

    Validation complete.

    SQL > shutdown immediate
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.

    SQL > startup pfile='D:\TEST\initow.ora' mount;
    ORACLE instance started.

    Total System Global Area 535662592 bytes
    Bytes of size 1375792 fixed
    188744144 variable size bytes
    339738624 of database buffers bytes
    Redo buffers 5804032 bytes
    Mounted database.

    C:\Users\mazar>RMAN target.

    Recovery Manager: release 11.2.0.1.0 - Production on Sun 3 Oct 10:44:31 2010

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: OWN (DBID = 1547349083, is not open)

    RMAN > run {}
    2 > until ' to_date (October 3, 10 10.38.22 ',' DD-MON-RR HH24:MI:SS ') ";
    3 > restore database;
    4 > restore database;
    {5 >}

    executing command: SET until clause

    From restoration to October 3, 10
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 10 type of device = DISK
    flashing rear control SNA 1444750 file

    jump datafile 9; already restored to the D:\TEST\TESTSAMPLE01 file. DBF
    jump datafile 12; already restored to the D:\TEST\TESTSAMPLE file. DBF
    , ,,, ,,,,,,,,

    RMAN > alter database open resetlogs;

    open database

    RMAN > exit

    Complete recovery manager.

    C:\Users\mazar>sqlplus

    SQL * more: Production of release 11.2.0.1.0 Sun 3 Oct 10:49:59 2010

    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    Enter the user name: / as sysdba

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select * from employee;

    EMP
    --------------------
    Azar

    SQL >

  • Restore backup RMAN TAPE not through RMAN

    Hello
    We directly support our production (8.1.7.4) tape
    If I can RESTORE by doing this

    1 - the admin Tape COPY (and not via RMAN) backup on a server items
    2. so I added elements of this backup and restore then

    or do I have to use RMAN to play the tape and restore this backup of pieces?

    Thanks for all the contributions

    user9145417 wrote:
    Hello
    We directly support our production (8.1.7.4) tape
    If I can RESTORE by doing this

    1 - the admin Tape COPY (and not via RMAN) backup on a server items
    2. so I added elements of this backup and restore then

    or do I have to use RMAN to play the tape and restore this backup of pieces?

    Thanks for all the contributions

    Hi, if you can copy all the backupset on disk space then you can restore/recover your database.
    1 copy all backupsets (backups) at the location on the local drive.
    2 restore controlfile, catalogue, restoration/recovery and open the database.

    rman target /
    startup nomount;
    restore spfile from 'localdisklocation';/*which you backups copied there*/
    shutdown immediate;
    startup mount;
    restore controlfile from 'localdisklocation';
    alter database mount;
    catalog start with 'localdisklocation';
    restore database;
    recover database;
    alter database open;
    
  • Database of duplicate and RMAN-20208

    I'm trying to duplicate an old backup in an auxiliary database. The backup and the auxiliary are 10g. When I run the following RMAN:
    Run {}
    until the SNA 41429334.
    target database duplicate in auxiliaries;
    }
    I get this error:
    executing command: SET until clause
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command set at 2010-05-17 08:54:26
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20208: UNTIL CHANGE is before the RESETLOGS change
    I try to reproduce from a consistent backup of RMAN (cold) and there was a few OPEN RESETLOGS command applied to the database, as it is a development environment. Is there a way I can work around this problem in the order duplicate. I really want to avoid copying on the existing environment, as is currently under intensive use. Any suggestions, links, answers would be appreciated.

    Thank you

    John

    If you just want to restore the old cold backup, why not just copy the backup of the auxiliary database and restore it without using a DUPLICATE?

  • clone of database with Oracle 10g RMAN

    content of Script memory:
    {
    clone of judgment;
    startup nomount clone;
    }
    execution of Script memory

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2009-08-26 15:55:39
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01013: user requested canc
    El of the current operation

    How to solve this error?

    Kushal

    Hi Kushal

    During the cloning process the rman session must be exclusively connected to the instance auxiliary (no other sessions are allowed).

    Kind regards

    Tycho

  • Flashback database (unfinished flashback) possible?

    Hi guys,.

    a reading on the recovery area flash + flashback database.

    I wonder

    asumming a transaction have made some changes to errornouse quite the sum of table.

    restoration of a backup and recovery would be tedious.

    Therefore, a flashback database would be more appropriate.

    --------

    There is, however, other tables which I have used is not be affected by the command of flashback database.

    for example
    I table a, b, c, d, e, f, g, h, i, j
    (1) errors, changes to table a, b, c, d, e, f, g

    (2) dml of table h, i, j are carry on normally correctly

    (3) need to make a database of blowback for mistakes.

    but I don't want changes to the table for h, i, j to be affected.


    1st quarter) what should I do?
    is it possible to do an exclusion of the h, i, j table?
    I guess I have to

    (1) stop, table h, i, j exp
    (2) flashback db
    (3) table imp h, i, j
    (4) open db resetlog

    Q2) how would you?

    Please notify
    Kind regards
    noob

    There is no exclude no option in the Flashback Database. If the return of flame you your database at the moment, all the objects will be flashed at certain times and you will get your database version exactly as it was at that time

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

Maybe you are looking for

  • Fix with months warranty

    I bought Toshiba LS 500 - 11V laptop model PSLJOE-OOROOJEN serial number 89346796K on 4 Dec 09 UK. It has developed a fault on Dec 15, 10. Due to my busy commitments, I couldn't go to the dealer here in Jeddah, Saudi Arabia intimate. Today I cotacted

  • French language pack?

    I have Firefox installed in English. I have a Windows 7 computer with the English and the French installed in it. I have a task of all software installation with the language packs as possible without reinstalling the software. How can I install a Fr

  • Various installation with the Portege R100 and Windows XP issues

    Hello I recently bought a used Portege R100. It came without OS and I wanted to install XP SP2. I know that restorations only work with PCMCIA readers adapted, but the HARD drive is formatted, so there is no recovery possible I guess.Here are my prob

  • How can I enter in BIOS or CMOS setup?

    I just bought a new laptop battery and it will not load.  I was advised to update the BIOS setting for the battery and reset the CMOS but I don't know what that means.  Someone had this problem?   Thank you.

  • How fix/get rid of controls hidden out of the framework of a structure?

    Recently, I shrunk a case structure once again once it has automatically been extended several times. I didn't recognize any problem, because I looked again at the case of output which is the only one where a constant true is connected to stop the lo