Performing an incomplete recovery

Hello
on 10 g R2 on WIN 2003 server, I test suite Performing incomplete recovery metalink notes 114199.1 .

On 23 January, I renamed a table (ancienne_table to NewTable).
I shutdowned DB started editing and applied:
SQL> select first_time, first_change#-1, sequence#, name from v$archived_log ;

FIRST_TIM FIRST_CHANGE#-1  SEQUENCE# NAME
--------- --------------- ---------- ---------------------------------
14-JAN-09          276181          1 E:\BASE\DB\ARCH\ARC_DB_00
                                     001_0676107201.001

14-JAN-09          277132          2 E:\BASE\DB\ARCH\ARC_DB_00
                                     002_0676107201.001

14-JAN-09          277524          3 E:\BASE\DB\ARCH\ARC_DB_00
                                     003_0676107201.001

22-JAN-09          280215          4 E:\BASE\DB\ARCH\ARC_DB_00
                                     004_0676107201.001


23-JAN-09          281305          1 E:\BASE\DB\ARCH\ARC_DB_00
                                     001_0676862242.001

SQL> recover automatic database until change 276181;
Media recovery complete.
SQL> alter database open resetlogs;

Database altered.

SQL> select table_name, owner from all_tables where table_name like '%TABLE%';

TABLE_NAME                     OWNER
------------------------------ ------------------------------
NEWTABLE                      SYS
Why recovery is not returned to Jan 14 and does not have to ANCIENNE_TABLE instead of NEWTABLE?

Thanks for your help/explanation.

Please report all the steps that followed you. Do you have a full backup before January 14?

Kind regards
Navneet

Tags: Database

Similar Questions

  • incomplete recovery of a data file.

    I'm performing incomplete recovery of a data file that uses the following scenario.
    SQL > select * v log$;
    shows current journal seq is 10;

    I perform dml as follows:
    SQL > update hr.emp set salary = 1000;
    SQL > commit;

    Now, I've deleted log archiving with sequence # 9 alongwith users.dbf datafile.
    Now to perform an incomplete recovery of the datafile, users.dbf. I followed the following steps.
    RMAN > the judgment;
    RMAN > bootable media.
    RMAN > run
    {
    until the sequence 9;
    restore data file 4;
    recover datafile 4;
    }
    RMAN > alter database open;
    Now, when I ask about hr. EMP, it shows the updated lines, i.e., salary column has been updated with 1000;
    I want to know that after the incomplete rcovrry until the seq, what other newspapers is applied. My example shows that this newspaper seq 10 has also been applied. Pls help me to improve my understanding.
    I can't understand the reason to get updated when the incomplete recovery lines.

    Hello.

    You cannot perform incomplete recovery of a single data file. After recovery, before opening the database, all SNA must be synchronized between controlfiles, redo logs and data files. A single data file must be restored and recovered to the last SCN for the database to open. If you want / need to do incomplete recovery, always restore ALL data files, recover their until the desired point in time and then open the database with resetlogs synchronize all data with controlfiles and redo logs files.

    In your case, you have made a complete recovery of the data file. Very probably data repeat still available in the online redo logs were used to recover the data at the last CSS file (since you said that you have removed the archiving log - which, incidentally, makes your online backup no need for a full recovery, after the redo logs switch line and crushes with sequence #9 redo log and beyond).

    When experimented with incomplete recovery, until the RCS or at least up to the time, it allows you to specify the point in time recovery with much more accurately and without guessing, what happened in whatever sequence of journal. You must manually remove the files of data or archivelog files before playing with incomplete/complete recovery. In fact, it is a good practice not to delete the database of linked files: o)

    Kind regards
    Martin

  • incomplete recovery until error

    I want to perform incomplete recovery with RMAN using up to that time, I performed the following tasks

    stop immediately;
    bootable media;
    ALTER session set nls_date_format ='YYYY-MM - DD:HH24:MI:SS';

    RMAN target sys/sys@alvis

    Run {}
    until the time ='2011 - 02 - 10:15:25:00';
    restore the database;
    recover the database;
    ALTER database open resetlogs;
    }


    but it shows the following error

    RMAN-03002: failure of the command set to 10/02/2011 16:41:31
    ORA-01861: literal does not match the format string


    Wat could be the problem?


    Thanks in advance

    You set your NLS_DATE_FORMAT in a database session, however, your RMAN connection is for another session.

    Try setting NLS_DATE_FORMAT as an environment variable in your OS BEFORE connecting to RMAN command-line.

    Something like:

    C:\>SET NLS_DATE_FORMAT=YYYY-MM-DD:HH24:MI:SS
    C:\>RMAN sys/sys@alvis
    

    or

    $ NLS_DATE_FORMAT=YYYY-MM-DD:HH24:MI:SS
    $ export NLS_DATE_FORMAT
    $ RMAN sys/sys@alvis
    
  • RMAN incomplete recovery

    Jin
    I use oracle10g (10.2.0.4.0) in windows service pack 2 32-bit. with RMAN, I took a backup of a tablespace. Then, I created a table and the database is closed. Off, I deleted the file data in this table. Now I started the database in the editing phase, started the RMAN. I restored the tablespace by RMAN and then I got to a point where I did not create the table. But the RMAN performs a complete recovery. When I check the table there is always. How is it possible? can someone help me please... I am totally confused.

    Here are the commands I used in the above scenario

    RMAN > BACKUP TABLESPACE USERS (BACKUP 13:00 HRS)


    SQL > CREATE TABLE TEST AS SELECT * FROM EMPLOYEES; (CREATED AT 17:00 HRS)
    SQL > IMMEDIATE SHU

    physically remove the data from the users table space file.

    SQL > STARTUP MOUNT

    RMAN > CONNECT TARGET SYS/password

    RMAN > RESTORE TABLESPACE USERS

    RMAN >RECOVER DATAFILE 4 until time ' to_date ('2010-11-23 16:00 ',' ' YYYY-MM-DD HH24:MI:SS) "

    SQL > ALTER DATABASE OPEN RESETLOGS (DISPLAYS AN ERROR THAT RESETLOG CAN SE DO AFTER INCOMPLETE RECOVERY)

    SQL > ALTER DATABASE OPEN

    SQL > SELECT * FROM TEST (THE TABLE EXISTS)


    Please tell me what is wrong in the above scenario? I use wrong queries?


    Thanks in advance

    You cannot recover a Tablespace (or Datafile) to a point in time that is not consistent with the rest of the database, unless you use an auxiliary Instance. TSPITR (TablespacePointInTimeRecovery) uses an Auxiilary Instance where SYSTEM, UNDO and the required storage space are recovered to the point passed in time without affecting the current instance of the current database. The tablespace can then transported the auxiliary to the active database instance - you can have RMAN automatically do this but, personally, I would manually.

    Hemant K Collette

  • Oracle - Incomplete recovery

    Dear,

    Database running in a - mode Archive

    I have a table that contains 2 million records at the time (07:00) and the inserted rows of 1 million Swiss francs to (07:02) and committed my only.
    Now, I took a backup hot all the time base (07:02).
    and by 07:05 I have deleted 1 record million and pledged my transaction.

    Now I need my all 3 million rear lines, then thought to perform a
    time based incomplete recovery.

    Here are the steps I've done...

    (1) I stop the database.
    (2) copied all the hot of all data files backup and restored to its original location.
    (3) has started the instance and mounted.
    3) issued the command of recovery
    > recover database until time '2010-08-27 07:02.

    Now I get the below error.

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
    ORA-01195: online backup of file 1 needs a recovery more match
    ORA-01110: data file 1: ' D:\ORACLE\PRODUCT\10.2.0\ORADATA\FIRSTDB\SYSTEM01. DBF'

    What is the missing step here / what am doing wrong here?

    is not that if data that are needed to make the comparable database is in the log file during recovery and not not been archived?

    Yes. When you are prompted for the ArchiveLog, provide the name of the Redo Log file.

    Note that an incomplete recovery requires an OPEN RESETLOGS and your online redo logs will be overwritten. So, once you issue an OPEN RESETLOGS, you you not a second chance to RECOVER the database. So, I recommend that you stop the instance and take cold backups online Redo Logs.

    Hemant K Collette

    Published by: Hemant K grapple on August 27, 2010 11:45

  • difference between complete and incomplete recovery

    someone can explain the difference between incomplete recovery and full

    Hello

    I think everyone had given enough information the subject.
    Always add some info might be useful: -.

    Complete the recovery: -.

    Basically completely recovered, as the word says full, why must the files (I mean that Backup should persist)
    Backups of data files, logs needed archiving, online redo logs and the controlfile are available.
    The DB can undergo or experience of damage with losing them any information. This case led to a complete recovery.

    The usual process of recovery will be (user managed)

    Make files of data performed in offline mode
    Restore data files
    Recover data files
    Make data files online

    Complete healing is possible, while the database is OPEN and until or unless that important storage spaces get made that SYSTEM or UNDO tablespaces.

    Incomplete recovery: -.

    That the specified name to lose data on purpose, it is said when a complete recovery is impossible or you want to lose some information which has been recorded by mistake or due to corruption of the files. This leads to the incomplete recovery
    Some time its effects in reason lost some files as file control and current control file does not know the current state of the DB. These cases causes too incomplete recovery.

    Incomplete recovery steps:

    Mound the DB
    Restore files
    Recover the database (up to time, cancel or change the number or number of SNA)
    Finally open the DB with newspapers to reset

    Please keep in mind that RESETLOGS Initializes the redo online files, and this is a new incarnation of the database.

    You can also use the RMAN to achieve things.
    For more information, go through the links:

    http://www.Oracle.com/technology/deploy/availability/htdocs/BR_Overview.htm
    http://www.Stanford.edu/dept/ITSS/docs/Oracle/10G/server.101/b10743/backrec.htm

    -Pavan Kumar N

  • How can I perform a system recovery to get all lost data.

    I need help in performing a full recovery of the system to recover lost files and data.

    DavysLocker,
    Thanks for posting with us.  The only way to recover the lost data is if you have the backup of your system.  The system restore feature does not have the personal data.  If you use the Windows backup utility to back up your data, then you will just run the troubleshooter, and then follow the steps to restore data.
    If you do not have a backup of your system, then you can check with the local PC stores on data recovery.  Also, there are available data recovery programs but I don't know how they work although I've never used one. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • ORA-01830 during an attempt of incomplete recovery

    Hi guys,.

    I practice the incomplete recovery but my RMAN script fails with the following error:
    ORA-01830: date format picture ends before converting all of the input string

    Here's the RMAN script

    RUN
    {
    May 7, 2010 until 05:00 ";
    restore the database;
    recover the database;
    ALTER database open resetlogs;
    }

    My NLS_DATE_FORMAT has the value
    * # env | grep-i nls *.
    * # NLS_DATE_FORMAT = HH24:MI:SS * MON-DD-YYYY

    Linux x 86, Oracle 10.2.0.4

    In your case, case issues (my output is in windows, but should be the same on linux)

    SQL> alter session set nls_date_format='DD-MON-YYYY HH24:MI:SS';  -- sqlplus can handle uppercase
    
    Session altered.
    
    SQL> select sysdate from dual;
    
    SYSDATE
    --------------------
    07-MAY-2010 22:27:14
    
    ### but your environment is less forgiving  ###
    
    C:\Documents and Settings\User>set nls_date_format=DD-MON-YYYY HH24:MI:SS
    
    C:\Documents and Settings\User>rman target /
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri May 7 22:24:47 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    connected to target database: PTS (DBID=774850390)
    
    RMAN> RUN
    2> {
    3> set until time '07-MAY-2010 05:00:00';
    4> }
    
    executing command: SET until clause
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 05/07/2010 22:25:09
    ORA-01830: date format picture ends before converting entire input string
    

    Now let's see what happens when I put the NLS_DATE_FORMAT correctly:

    C:\Documents and Settings\User>set nls_date_format=DD-MON-YYYY hh24:mi:ss
    
    C:\Documents and Settings\User>rman target /
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri May 7 22:25:36 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    connected to target database: PTS (DBID=774850390)
    
    RMAN> RUN
    2> {
    3> set until time '07-MAY-2010 05:00:00';
    4> }
    
    executing command: SET until clause
    using target database control file instead of recovery catalog
    

    Now, usually when I write RMAN scripts I'll put the nls_date_format there it will always be good for the rman session:

    run {
    set until time "to_date('07-MAY-2010 05:00:00','dd-mm-yyyy hh24:mi:ss')";
    }
    
  • HP sent 700-414: need to perform a full recovery of the system. Original OS 8, now windows 10

    This computer has never worked as well as upgrading of the factory installed 8.1 for Windows 10.  It kept crashing or giving my messages in memory.   There does appear to be a hardware problem (according to HPwwhen I firstly from the problems).  Recently, he crashed and did a disc error recovery and now it seems that Windows 10 is not fully installed and I lost my favorites in my browsers and some older software.  I want to reload all the softward before I give up on this machine - it is less than 2 years old.  In any case, I see on the page of microsoft, I can redownload Windows10.  My question is do I do a system recovery for windows installed in factory 8 before moving to Windows 10?   Microsoft will recognize that I have a valid copy of Windows 10 if I start over completely?  I have a USB to relaunch of the label, date 4/2016.  Don't know if it 8 or 10, probably 10, but it could be corrupt, too.

    Hello

    As the machine has been previously upgraded to 10, a hardware profile (digital rights) will have been saved by the activation servers.

    As long as the previous installation of Windows 10 had activated Ok after upgrade from 8.1, you just create your own installation media and perform a new installation as described in the guide on the following link.  Note: On the activation screen, select "I don't have a product key" - Windows will activate automatically once installation is complete.

    http://www.howtogeek.com/224342/how-to-clean-install-Windows-10/

    Kind regards

    DP - K

  • Incomplete recovery of 17 HP envy touchsmart

    I have a laptop HP Envy Touchsmart product model E1P14AV 17 t-j100 number 17.

    I'm trying to restore to the factory via a USB port, but get incomplete restoration. I tried all the methods of the HP recovery method and all three gave the same answer. It runs through everything and reload the software but gives this answer. If I click on try again it tells me to insert the recovery media.

    Try changing the date in the BIOS to 01/01/2012. Save & Exit. Boot from recovery and to run the process-, but on the first reboot, it initiates enter the BIOS to ensure the update is still. If so let recovery resume - if not change again, then restart.

  • HP G62 371DX: help! Can not perform the system recovery

    HP G62-371DX
    A few months ago that my HP laptop was very slow, then crashed. I have factory reinstall using disks that I have ordered or purchased from HP. It was a time of recovery the first successful I used the recovery disks and after days of updates of the VICTORY, even was running Win 10, without a hiccup. Then, I received a few messages on the hard disk health and prominent failure. I decided to upgrade the laptop by buying a new battery and a HARD drive. When I tried to use system recovery discs to reinstall Windows 7 to factory State, it failed with an error:

    Copy the file fails
    From: F: \PRELOAD\BASE11. WIM
    TO: C: \RM\IMAGE| COMMODITIES11. WIM
    PRESS OK TO RETRY

    "" He then reloads the "Windows prepares your computer for first use" MORE AND MORE. Could there be something wrong with the recovery discs?

    99girl

    Hello

    You can try to see if the problem is with the recovery disks, would be to see if you can perform a new installation of Windows 10.

    As you mention that you recently update from Windows 7 to Windows 10, a hardware profile on your machine will be recorded by the activation servers

    Therefore, as long as the previous installation of Windows 10 had activated Ok after the upgrade to Windows 7, you can simply create the 10 Windows media on another PC and then perform a new installation as described in the guide on the following link.

    Note: On the activation screen, select "I don't have a product key" - Windows will activate automatically once installation is complete.

    http://www.howtogeek.com/224342/how-to-clean-install-Windows-10/

    Kind regards

    DP - K

  • Cannot perform a system recovery

    Hello

    Model: HP Slpit 13 x 2 PC

    Product: E8C34UA #ABA

    Operating system: Windows 8 64-bit

    It is still covered by the warranty.

    My problem:

    A month ago (maybe a little more) my machine automatically did an update and after it was complete, I was able to get the sign in screen but once I signed the I had nothing but a black screen and my cursor. I could not pull up the Task Manager or perform all functions. I was able to restore my computer to an earlier date and used again for about a week before the update is represented and exactly the same thing happened. The second time around I don't have restore points that were before the update for a system restore is absolutely not good. I started in safe mode and tried to make a start clean to see if something can have prevented the update to fill in correctly but not luck.

    I then tried a system restore and it didn't, I don't remember what he said about why she didn't but now all this when I start it is made choose me a keyboard layout, and then choose an option between "continues; Exit and proceed to HP Recovery Manager"'Use of a device'"Use another operating system""Troubleshoot"and"turn off your PC."

    It won't let me even start the machine.

    I fixed it.

    Chose the option "Troubleshooting" and then choose "reset your PC.

    Now it's like factory settings when I bought originally that's what I was looking for. Now, the only problem is that I can't use my keyboard. I'll get a driver.

  • Satellite C650 - impossible to find recovery discs to perform a full recovery

    Had to use recovery disc recently only to discover, too late, that I had lost the creator of two media drives to complete the reboot.

    Can't find them on the base - help homepage!

    Recovery disk can not be downloaded.
    You can order it for a small fee.
    http://backupmedia.Toshiba.EU/landing.aspx

  • G72-250us: will not perform the system recovery

    After completing the formatting and by copying all the files on the three disks that I made, the recovery program sees no bootable device when restarting. The original hard disk drive (320 gb) cooked and I replaced it with a 250 GB ssd. Ant help or explanation would be appreciated.

    Hi there @caper84,

    Welcome to the Forums of HP Support! It's a good place to find the help you need, other users, the HP experts and other members of the support staff. I understand that you have a problem with the system recovery. I'll be happy to help you.

    I found a lot of documents for this problem. Here are some help.

    Troubleshooting problems of recovery HP System (Windows 7)

    System recovery can fail or display error messages (Windows 7 or Vista)

    Please keep me informed of the progress of things.

    If you need help, let me know and I will gladly make all that I can to help you.

    Please let me know if that solves the problem by marking this post as "accept as a Solution.
    To simply say thank you, click the Thumbs up below!

    Thank you.

  • Split 13 x 2 PCs 13-m110dx: cannot perform the system recovery using a USB flash drive

    I just bought a Split 13 x 2 13-m110dx PC that came with Windows 8. I have upgraded the OS to 8.1 and made a copy of the recovery Partition using a USB flash drive, and deleted the recovery of the PC disk that I learned that I could do. However, when I tried to retrieve OEM provided using the USB flash drive by following the directions at creation and use of a recovery of Microsoft USB drive (Windows 8) "System Recovery" was not available to the title of "troubleshooting." I tried to tell it to boot from the USB, but it askes me to insert the support of windows or other media, but rejects the flash player. What do I do now because I have not all discs?

    To use the Flash created to restore the system to the factory settings, see "Recovering from a USB flash drive" appearing in the following link:

    HP computers - running a HP System Recovery (Windows 8)
    HP System Recovery allows to reinstall or restore a HP with Windows 8 computer to the way it was at a previous time.

Maybe you are looking for

  • How can I disable the list of downloads in total?

    I don't know that I need the list of downloads and it's a pain in the rear to it click to return to the main window every time when I do a lot of downloads of images in a row.

  • Want 4-1130US access Intel RAID Manager from the BIOS or screen of the Advanced BIOS setting?

    I just got the ultrabook of 4-1130us envy.  I need to access the screen of the Manager RAID Intel and advanced the BIOS configuration screen. By pressing "Esc" at startup until gives me only ordinary BIOS screen, and many options are all grey that I

  • Satellite L505-13W and BIOS error

    Hello guys,. I need help from you people... I have a bios problem down in my laptop. The blue screen message is quotted below, Your BIOS is not fully compatible with ACPI, please update your BIOS. STOP: 0X000000A5 (0 X 00001000, 0X00000000, 0XBE298C9

  • Software Sonic does not burn DVDs on Satellite 105

    Hello I have a few movies that I downloaded via Windows movie maker, but did not burn. I edited movies with all the works, I was able to burn using CD disc, but does not burn with a DVD-R disc. My other attempts involved using the pre installed Sonic

  • How to install AdventureWorks2008 and adventureworksDW2008

    Hello I use windows 7 ultimate, 32 bit, 4Gig ram, I tried to install adventureworks2008 and DW, I downloaded this 77 - zit as they say, I burned this thing on a disc, but nothing coming, how cam I do coz soon, I am writing to you that if someone has