New added file how to recover using backup controlfile

Hi all

From a complete backup direct (extra number 0) I cloned a new dev server database. The next day a new data file added in Live and I took a cumulative incremental backup in Live. Live and Dev server have not even mount point. While the restoration itself I gave the name of the new set for the control of data file to remap all the data files in the new location on the dev server. Now, I want to know how to get back with cumm incr backup when a new data added live file.

Concerning

Jennifer

DBA CTS team

I restored a backup of incr 0 in dev server with the set new name command. and after that I got the database with the archives transferred to live. and then I opened the database with reset logs... now the database is open... the next day I took differential bkp live to contain the new datafile... How can you apply that backup incr 1 cumm in my dev server.

You must restart level 0, i.e.

  1. After the level 1 backup archivelogs
  2. backup controlfile
  3. have all the backups on the dev server (level 0, 1, archivelogs and controlfile)
  4. Restore controlfile (from #2)
  5. restore the backup of level 0 (with set newname, including the new data file)
  6. recover the database
  7. Open the database with the resetlogs option.

Tags: Database

Similar Questions

  • Database ALTER DATABASE RECOVER using backup controlfile with AUTO option

    Hello. I was recovering a database today and had a little blip.

    I have published the following:

    Database ALTER DATABASE RECOVER using backup controlfile

    I then chose the AUTO option, allowing Oracle to select all available log files so that it would recover to the last log found in the destination of archive

    However... has performed the following:

    ORA-00289: suggestion:
    /U03/Oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf
    ORA-00280: change 30031145558 thread 1 is in sequence #242449
    ORA-00278: log file
    ' / u03/oracle/stk2proddata/archived_logs/arch1_242448_737547185.dbf' is no longer
    necessary for this recovery


    ORA-00308: cannot open archived log
    ' / u03/oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf'
    ORA-27037: unable to get file status
    Linux-x86_64 error: 2: no such file or directory
    Additional information: 3

    Two messages above that I expected. However, I made then this:

    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: ' / u02/oracle/stk2proddata/system01.dbf'

    This is not what I expected. What I've done wrong? Should I once received the message "cannot open archived log", launched to CANCEL?

    I then recovered again, but used

    SQL > restore database using backup controlfile until cancel;

    ORA-00279: change 30031145558 generated at 30/04/2014 09:58:34 needed to
    thread 1
    ORA-00289: suggestion:
    /U03/Oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf
    ORA-00280: change 30031145558 thread 1 is in sequence #242449


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    ORA-00279: change 30031157768 generated at 30/04/2014 10:06:07 needed to
    thread 1
    ORA-00289: suggestion:
    /U03/Oracle/stk2proddata/archived_logs/arch1_242450_737547185.dbf
    ORA-00280: change 30031157768 thread 1 is in sequence #242450
    ORA-00278: log file
    ' / u03/oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf' is no longer
    necessary for this recovery


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    Cancel
    Cancelled media recovery.
    SQL > alter database open resetlogs;

    Database altered.

    No problem then here. Could someone please explain what I did wrong the first time and the second time right? Is this a problem with the car and using CANCEL?

    Thank you!

    DA

    11.2.0.2

    RHEL 5.5

    Bug: 4178579

  • Recover using backup controlfile

    A binary restoration of the controlfile requires incomplete recovery of the database and a database open with resetlogs.

    But I understand why it is necessary to specify 'using backup controlfile' with the recover command - what is the difference. With the help of Oracle 11.2.

    Since Oracle 10 g, it is more necessary to back up the database after a database opened with resetlogs and the recovery process is able to recover a database to a previous, provided incarnation archivelogs are available. What is the history please?

    I just came across this old post of mine. Actually, I don't really remember what it was. However, I think the confusing part was simply that I didn't, that SQL * MORE and RMAN recovery is not the same.

    When you use SQLPLUS to recover the database "with the HELP of BACKUP CONTROLFILE' is necessary. Under RMAN is not necessary because it automatically determines a BACKUP CONTROLFILE. If the question was probably SQL vs RMAN database recovery.

  • 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

  • RECOVER, DATABASE using backup controlfile until the

    Hello
    in 10g R2, may this work:
    RECOVER DATABASE using backup controlfile until '2009-05-21:12:47:30';
    Thank you.

    GregX wrote:
    In fact, it should say something like this:

    until time ' to_date (May 19, 2009 10:30 "," dd-mm-yyyy hh24:mi:ss') ";

    No, you needn't.
    Doc http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osrecov.htm#i1007361
    "+ If recovery up to one hour, the time is always specified using the following format, delimited by single quotes: 'YYYY-MM-' DD:HH24:MI:SS. '. + »

    Nicolas.

  • doubts in the database using backup controlfile recovery.

    Hi gurus,

    I have a doubt in database recovery using backup controlfile.

    I do not speak of "ORA-01207: file is newer than the control file - old control file.

    Here, any of our files archive / redo log have been lost and the problem of lack of update in the control file.

    So why open the database in resetlogs option, after recovering the database by using a backup controlfile. ?

    Thanks in advance

    Mahi

    In order to maintain the consistency of the data, the RCS should be the same in all the files of the controlfile & file REDO data current.

    By definition when you use 'backup controlfile' there a SNA expired in it.

    RESETLOG requires the RCS to 1 in order to get consistency across all files in the database.

    CREATE CONTROLFILE fills this new file with the most recent SNA that exist in the data files.

    It's just the way Oracle has been implemented.

  • ORA-01194 and ORA-00604 when using backup controlfile set #2

    Oracle 11.2.0.1 database version
    Enterprise Linux 5.4
    Database is in archivelog mode.

    I'm trying to recover a database according to a backup controlfile to trace #2. Create the controlfile works very well, but recover the database fails.

    From what I understand, the recovery fails because it cannot roll forward - 39 sequence is in the online missing redo log file. However, the database opens with the restlogs option and I understand that it should use the archivelogs in order to roll back. Since it is a new controlfile he does not know the archivelogs, but he does not accept to register or use archivelog files.

    The recovery as shown in set #2 doesn't seem to work as expected. Any ideas?

    Following errors:
    SQL>  CREATE CONTROLFILE REUSE DATABASE "RCAT" RESETLOGS  ARCHIVELOG etc.
    Control file created.
    
    Tyring to register on of the archivelogs does not work:
    SQL>  ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc';
     ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc'
    *
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level
    
    
    Applying an existing archivelog during recovery does not work:
    
    SQL> recover database using backup controlfile until cancel
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc
    ORA-00310: archived log contains sequence 33; sequence 39 required
    ORA-00334: archived log:
    '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc'
    
    
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u02/RCAT/datafile/o1_mf_system_6959kz7l_.dbf'
    
    
    ls -l /u02/fra/RCAT/archivelog/2010_09_19:
    -rw-r----- 1 oracle dba 49313280 Sep 19 00:01 o1_mf_1_33_69bfo5tx_.arc
    -rw-r----- 1 oracle dba   312320 Sep 19 00:03 o1_mf_1_34_69bft63b_.arc
    -rw-r----- 1 oracle dba 20343808 Sep 19 02:10 o1_mf_1_35_69bo6y6j_.arc
    -rw-r----- 1 oracle dba    40960 Sep 19 02:12 o1_mf_1_36_69boc9t8_.arc
    -rw-r----- 1 oracle dba    20992 Sep 19 02:13 o1_mf_1_37_69bofng4_.arc
    -rw-r----- 1 oracle dba   794624 Sep 19 02:15 o1_mf_1_38_69bokwbf_.arc
    Thank you
    Markus

    Markus Waldorf wrote:
    I think that I am aware and do not suggest to use the hidden setting.

    What worries me is that the value #2 of the controlfile to trace the contours of the database backup can be recovered even with the lack of recovery online newspapers, but apparently this is not the case. What I also don't understand, is why he simply not restore using the information of the archivelogs. The database was not shut down properly, but isn't always the case when you lose again-online newspapers?

    Here is the text of the controlfile.sql

    -Set #2. RESETLOGS case
    --
    -The following commands will create a new control file and use
    -to open the database.
    -The data used by the Recovery Manager will be lost.
    -The content of online newspapers will be lost and all backups
    -be invalidated. Use this option only if online newspapers are damaged.

    Published by: Markus Waldorf Sep 20, 2010 09:34

    You are right. But it is especially the case.perform, create the new database and will stop immediately (without demolition) and remove newspapers online OS level. And try to recover the database using backup controlfile until cancel or just recover database until cancel then enter Word Cancel and resetlogs option database open. It will work. Because it actually do not need any recovery operation. But your case you need to recover the database. You consider backup restore las and perform incomplete recovery. I think you can do the first test.

  • Recovery using backup Controlfile...

    Hi all

    I have a little doubt about the recovery process...

    Suppose I took a cold backup (after immediate stop).
    After that, I started the database, made a newspaper change and delete the control file.

    In this case when I try to recover the database by using a backup controlfile (recover database using backup controlfile), I need to provide the name of the log file manually
    to ensure no loss of data during the recovery process.
    After that, I need start the database with the RESET LOGS.


    But my question is why the database will force you to RESETLOGS even if you haven't lost all the data or you haven't made an incomplete recovery.


    Thank you...

    >
    Suppose I took a cold backup (after immediate stop).
    After that, I started the database, made a newspaper change and delete the control file.

    In this case when I try to recover the database by using a backup controlfile (recover database using backup controlfile), I need to provide the name of the log file manually
    to ensure no loss of data during the recovery process.
    After that, I need start the database with the RESET LOGS.

    But my question is why the database will force you to RESETLOGS even if you haven't lost all the data or you haven't made an incomplete recovery.
    >
    It's the RESETLOGS forcing resynchronization of the control file.

    A control file "backup" is a copy and is supposed to be an older file so it needs to be synchronized with the redo log using RESETLOGS files.

    See the doc of SQL language
    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_1004.htm
    >
    RESETLOGS. NORESETLOGS clause determines if Oracle database resets the current sequence number to 1, archives logs not archived (including the active log) and eliminates any information redo that was not implemented during recovery, ensuring that it will never be applied. Oracle database using NORESETLOGS automatically except in the following specific situations, which require a framework for this clause:

    You must specify RESETLOGS:

    After completing the incomplete media recovery or media recovery using a backup control file

  • How to identify what trace file is your track of backup controlfile in udump

    I have a 10.2.0.3 database under unix.
    I want to configure a job to run a script every night to save the controlfile as text.
    as "alter database backup controlfile to trace."
    How my script can identify what trace file is the only one created just for backup controlfile and copy the file on a backup drive?

    Thank you very much!

    I thought that there

    change controlfile backup of database to trace in the "absolute path to a file where you want that control to plain text file";

    e.g. on Windows...

    ALTER database backup controlfile to trace as *'c:\temp\create_ORCL_control.sql'*.

    This way, you will know where your work will backup controlfile to trace

  • Captivate - interrupted due to the error. How to recover the backup file?

    While the work on Captivate, I met this error message.  I was not able to save the project, I was working on when this error came.

    How can I recover the project upwards? Where is file '.cpbackup '?

    Enable you the creation of backup in the preferences? If so, you should find

    the backup file in the same folder as your normal projects.

  • New update failed - how to recover?

    When I saw the report on a security fix major, I opened Adobe Reader 9.3.4 (which I recently updated with the latest patch), click Check for Updates, downloading the update and then I chose to install.

    He took off just fine, but he arrived at where the installer panel says "remove shortcuts" just hanging there, I left it for about 20 minutes to do of course and also examined the processes and the saw he didn't use any CPU.

    Update process would be not killed, I also couldn't kill the process and of the charge to pass beyond it. If I open Adobe Reader of the short cut, that he was not able to remove the hull comes well, and I can open the option PDF files open in Adobe but can not double-click a PDF file and opened it, he seems to have lost the Association. Shell says it's now version 9.3.4.218

    I just want to know how to untangle it, Adobe Reader is not in Add/Remove programs anymore and I do not like this State to halfway. I have no problem installing a new version on this one, but I don't want a bunch of junk scattered and the registry entries that appear to be corrupt. Is there a tool to "clean" or Super cleaner, what you call...

    Thanks for any help.

    For reference:

    HP a362N - 3 GHz / 2G of RAM

    XP Home Edition SP3-(all updates current)

    NIS - 2011 (current)

    MS - Defender (current)

    Try to install this download http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.4.0/en_US/AdbeRdr940_en_US.exe

    If you get errors during installation, installation to remove the corrupt 9.3.4 with Windows Installer Cleanup (http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html) utility.

  • I lost my files - how to recover them?

    HI GUYS,.

    Recently, I realized that some videos and image files simply disappear from my HD.

    I need a disaster recovery software, fast file recovery

    I think it was deleting the file an accident or a hardware failure, but not a virus attack!

    What I should do or try?

    I found a few links that says who could help with some software:

    http://www.TODO-backup.com/products/home/free-backup-software.htm
    http://www.EASEUS-deletedrecovery.com/

    It is the only way to recover my files?

    I am a beginner and I have no money and time paid toshiba to get back my Actualy HD, it's 4 files, but it is very important for me.

    Thank you!

    Check your software viruses journal - if files had virus signatures it will be deleted or moved. If you have removed them, they may be recoverable. You have identified two undelete programs and here's a third free:
    [http://www.piriform.com/recuva] the author of CCleaner.

  • Recovery system files - how to recover programs and files?

    Thanks for reading this post.

    I had to perform a recovery using F11, that my system would not initialize. Constantly, he'd say he was restartin with it turns ping pong balls, but would not load.  Why it crashed is useless at this point.

    I run Windows 8.1 and uses a HP15 f039wm.

    I saved my backup files before continuing the recovery.

    As it is now the USB that was copied in my office has a folder named "System Recovery Files.

    There is no .exe file I can locate in the breast.

    More precisely my concerns are two: 1) I bought a subscription to Avast and wonder if I can reinstll, don't know where my license key is but could probably contact Avast.  (2) I downloaded Mozilla Thunderbird and have the emails and contacts from a variety of e-mail accounts and one account in particular I no longer have access to.

    The $64 000 question is: can I get these programs works again with what I saved?

    The issue of $99 or $14.99 per month over $ 35.00, fresh installation is, should I contact HP AND they would be able to fix if here, nothing works?

    Thanks in advance and I thank you for anyone who can help on Thanksgiving.

    You cannot reinstall programs from a backup. They must be reinstalled fresh. You may be able to save the backup of certain data related to programs.

  • How to recover the backup of user data DVD

    Windows 7 Home Edition premium, I did a backup of the user data at 25 DVD before restoring the original operating system from the recovery partition.  Now I want to restore data from the DVD. I can't find anything in the title of recovery and restoration. but I found an EXE called RecoveryMrg on the 1st DVD.  By clicking on it, I get an hourglass when I put the cursor on the window of the files on the dvd.

    He suggested in another post on the forum this should take a while. Well, it has been a few hours.

    In the resource monitor DISK tab, I don't see any activity for the DVD player. (But I don't know that it should show op it)

    Is that long normally? Or it's the wrong way to restore files of the user?

    Thank you

    I'm glad you had your important data stored on your computer!
    The HP_TOOLS partition contains the recovery image. If you have recovery media (DVD/USB), then it is not necessary to have this partition to restore your system to the factory settings. If you want to restore, you will need perform an HP recovery to factory settings.

    I hope this helps.

  • How to load multiple files into multiple tables using a Controlfile?

    Hello world

    I have four different tables with similar structures, get the data from four different data files. I would like to use one control file to load the data from four different files from four different tables.

    Here's the DOF of the tables:

    CREATE TABLE Product_Sales(  
        Year_of_Sale NUMBER,  
        Product_Type VARCHAR2(25 CHAR),  
        Product_Group VARCHAR2(25 CHAR),  
        Category_Type VARCHAR2(25 CHAR),  
        Category_Group VARCHAR2(10 CHAR),  
        Product_Count NUMBER,  
        Product_Amount NUMBER(19,2),  
        Category_Count NUMBER,  
        Category_Amount NUMBER(19,2)  
    )  
    
    

    CREATE TABLE Retail_Sales(  
        Year_of_Sale NUMBER,  
        Product_Type VARCHAR2(25 CHAR),  
        Product_Group VARCHAR2(25 CHAR),  
        Category_Type VARCHAR2(25 CHAR),  
        Category_Group VARCHAR2(10 CHAR),  
        Product_Count NUMBER,  
        Product_Amount NUMBER(19,2),  
        Category_Count NUMBER,  
        Category_Amount NUMBER(19,2)  
    )  
    
    

    You still have products_sales instead of product_sales in when your article, so it does not load anything in the product_sales table.  You have not reset the position for the first after subsequent field in the table and when clauses, then it starts looking for the first field to the position you left it in the previous section, instead of 1, so he can't find anything and does load all the data in the household_sales table.  You need to reset the position 1 for each combination of table and what clause after the first.  The first argument is optional.  Please see the corrected below control file.

    DOWNLOAD THE DATA

    INFILE 'output.txt '.

    IN THE PRODUCT_SALES TABLE TRUNCATE

    WHEN filename = "Product_Sales".

    FIELDS ENDED BY ',' POSSIBLY FRAMED BY ' '.

    TRAILING NULLCOLS

    (

    file name of FILLING,

    Year_of_Sale,

    Product_Type,

    Product_Group,

    Category_Type,

    Category_Group,

    Product_Count,

    EXTERNAL DECIMAL Product_Amount,

    Category_Count,

    EXTERNAL DECIMAL Category_Amount

    )

    IN THE HOUSEHOLD_SALES TABLE TRUNCATE

    WHEN filename = "Household_Sales".

    FIELDS ENDED BY ',' POSSIBLY FRAMED BY ' '.

    TRAILING NULLCOLS

    (

    filename FILLER POSITION (1),

    Year_of_Sale,

    Household_Type,

    Product_Group FILLING,

    Category_Type FILLING,

    Category_Group FILLING,

    Product_Count,

    EXTERNAL DECIMAL Product_Amount,

    Category_Count,

    EXTERNAL DECIMAL Category_Amount

    )

Maybe you are looking for