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

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

  • 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

  • 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')";
    }
    
  • 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

  • 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

  • Satellite L750 / 04P - creation of recovery - an error Gx8004005

    Hello

    I bought a Toshiba Satellite L750 / 04P XC N 7944, for my son, we have tried to implement using the Toshiba Recovery Media Creator and the Windows 7 system recovery disks. So far, I've used 5 DVD s and can t go a disk without error.

    When you use Windows 7, an error comes up Gx8004005. All of the suggestions.

    I created an image backup and system, I hope I'm never confident until they save it properly.

    Hello

    Have you tried using different empty discs from different manufacturers? I recommend you to use DVD-R only disks. My recommendation is TDK or Verbatim discs.

  • Satellite A210 - cannot use the recovery disk - error 20-DATA-048F

    I'm going to use the cause of recovery partition does not work my windows, and whenever I do it, it comes up with an error "20-DATA-048F.

    How can I fix my computer!

    Any help would be greatly appreciated.

    Have you tried to format the HARD disk until you try to use the recovery disk?
    Sometimes, I read in the forum that this may solve the problems with the recovery disk and so you can take the Windows XP disc or another tool that is able to format the drive.

    But after that, you have the Toshiba recovery disc. You are not able to use the HARD drive recovery feature.

  • Satellite C650 - failed to create the recovery disk - error 020150-20-00000000 code

    I hope this is the right place to post this, but I think I have the same problem with my Satellite C650. He keeps wasting DVDs by stopping and saying that it cannot read the file E:\ZZlmg\11544XSP.swm and gives an error code 020150-20-00000000. The file is located on the DVD. I use Verbatim DVD - R The Recovery Media Creator is trying to write the first disc and is at the point of check data. Can you think of another explanation for this error other than the cheap DVD option? Thank you

    Hello

    There are two explanations;
    Either the CD/DVD drive firmware is not up to date and contains no information about the drives used discs (CD or DVD) is not fully compatible.
    As you know this is happening and is not uncommon.

    So first check if a firmware update is available for your CD/DVD drive.
    The European driver of Toshiba page is the right place to look for that.
    More details you will find in detail if the firmware has been published for your ODD.

    If there is no update firmware of your CD/DVD drive, then you should test other discs

  • Recovery media error

    Hello

    Today, I tried to do a recovery media defined for the operating system to my laptop (Windows 8). Image recovery has been successfully created, also transferated on USB, but in the verification phase, I got an error message and my recovery image was not properly moved. My USB has been formatted in FAT32 before the beginning of the creation of media. Is this a problem that caused this error? I need help because I want to have a factory image to my OS on a USB key.

    Thank you very for your help.

    I found my real problem. My USB storage is old and corrupt, and he was not able to register my copy of recovery discs using Sony DVD + R media with intensity all the Hp Recovery Media.However, I created and now everything is fine.

  • Satellite Pro C660-239 - restore from recovery media error

    Hello!

    I have a laptop from a client, it is a Toshiba Satellite Pro C660-239, and I'm having a strange problem.

    The original hard drive failed, and as the laptop is out of warranty, we bought a new hard drive and ordered the recovery media to this model, our assistance to repair local toshiba.

    After the installation copied the files on the disk, the imageX command fails when you restore the image with error files:

    "the file or directory is corrupted and unreadable."

    The hard drive is new, and I also tried with more than 2 hard drives, as well as with an external cd-rom drive.

    I spoke with the support of assistance local repair, and told me that this happens because the ins new ' t compatible with the recovery media hard drive?

    One of the new disks hard I tried, was the exact same model as the original hard disk, and the error persists, so the hard drive may not be the problem.

    Y does it have that no change in the recovery media is corrupt?

    Could also be a motherboard problem?

    Thank you

    > Is there any change in the recovery media is corrupt?
    Of course, this is possible.
    In case the HARD disk is OK, the recovery media may be damaged.

    > Could also be a motherboard problem?
    I don t think so. I imagine that the HARD drive is recognized correctly in the BIOS and the error message says something about corrupt directory. I guess the disk directory that is the meaning and I think that the media should be replaced.

  • L50 - B - creation of recovery - satellite error message

    Hello

    It's my first visit so I don't know if my son was treated, for this, my apologies.

    For several days, I am in possession of the laptop L50 - B Satellite. For security, I want to do a recovery media on a USB key with the Toshiba Recovery Media Creator program. After a while, I get a message that there is a difference between the path of the source in Z:\Recovery\install25.swm files and destination path E:\ZZImages\install25.swm,errorcode 02016E-3 c-00000000.
    Is there a solution?

    Thank you

    As far as I know that there is a sort of magic bullet. Either it works or not. Some kind of change is not possible.

    Try again please and let us know if the same error recurs.

  • Satellite P200: Creator of recovery disc - error code: 0E01B5-26-2A030C00

    Hello

    I am trying to create the recovery disc for my new Sat P200 and it gets 1/3 of the way (1/2 way through the first disc) and displays an error message:

    "The question has occurred during the recording of the data on the disk. The current process will be stopped.

    An error occurred during the registration phase. Please check if the disc is scratched or dirty. If so, please try again with a new disc.

    (Error code: 0E01B5-26-2A030C00) »

    I tried twice on nine discs Verbatim DVD + R.

    Any suggestions as to what causes this problem?

    See you soon
    sophiajs

    I recommend you test different DVD media.
    Try DVD-R and from different manufacturers.

    From my own experience, not all CD and DVD is cared for and compatible.

    Greetings

  • Satellite C70-A-13D: cannot create recovery media - error 02016e-3 c-0000000

    Hello

    I am creating a recovery flash drive on my new laptop satellite c70-a-13d windows 8 operating system and get the following message

    differences between the files following z\recovery\install20.swm target path e:\\zzimages\zzimages\install20.swm (error code 02016e_3c_0000000

    and the recovery disc creation end not any ideas what is wrong ive tried to do a few times - the flash drive is a toshiba transmemory 16 GB uhybs-o16gh

    Any help would be appreciated,
    I'm reluctant to buy the discs just to have the same problem with them also!

    Try please create recovery DVDs. A few empty drives are cheap. If the same problem happens again I recommend you to contact the nearest Toshiba service provider in your country and explain the situation. It's not your fault, and maybe you will get new free recovery disk.

    All don t delete anything on the HARD drive.

Maybe you are looking for

  • Want TO J6S79AV 23: Graphics drivers do not last

    Its been almost a year now. I love my computer. I have upgraded to Windows 10 with no probliems. Then, a few months later (now), my graphic drivers stopped working. I thought that the problem was easy to fix, because I don't update my drivers, never.

  • Update XML Core Svc 4.0 Serv Pk 2 number KB954430 always downloads and tries to install?

    Update XML Core Svc 4.0 Serv Pk 2 number KB954430 always downloads and tries to install? For the last 4 months, access to the internet (using xp with modem cable) automatic update downloads - KB954430.  I click on install-it shows that it is finished

  • HD Caddy Bus

    Hello, I think to do a W520.  I intend to place an additional SSD in the media Bay.  This bus is connected to the?  That land in the SATA-III bus, or USB? Thank you! T.J.

  • Connect an iPhone/iPad to RV220W VPN

    Hello I am looking to buy the RV220W router. I am interested to know if I can use the iPhone/iPad to create a VPN connection to the router. I have seen a lot of conflicting information on this topic, I'm looking for confirmation. Thank you Alex

  • BB of change for the smartphone blackBerry bold Verizon 9930 to another network

    Can someone tell me please a link that contains information about how to change my BB Bold 9930 brand OS to another other than Verizon's CDMA network. I'm new to the BB but have COMPUTER experience and a familiar with Android. I know there are a lot