Recover the database to a different path

I am rewriting of scripts of restoration of the development environment and I'm having a problem getting the restore command to read from a path different nteh directs the controlfile.  The production archivelogs are rsynced to a NFS server periodically and I would like to recover from this mount point, but I can't understand how say 'recover data' to use this directory.  RMAN restore works very well, but recover insists on using the path in the controlfile.

Is there a way to tell RMAN to revcover files in a diffenret path that the production environment has written to?

We use Oracle version 10.2.0 and there is no catalog database.

controlfile path = / u01/FLDPRD/arch /.

desired path = / mnt/backup/flood/FLOOD/arc

Hello

The RMAN catalog is the controlfile by default, so just add the directory with the command start catalog rman catalog with and then check your backup with the backup list command.

RMAN > catalog starts by ' / nfs /...» » ;

RMAN > list backup;

Best regards

Tags: Database

Similar Questions

  • How can I restore and recover the database to a different server using RMAN?

    Hello Friend:

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Thank you

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Check this box
    * How to restore Rman backups on a different node when the Directory Structures are different [ID 419137.1] *.

  • can I recover the database to a different database

    Hello

    I had to drop a full Oracle database and install it as a new. The Id of the new database is now other than the former. I want back the old Rman backup with all recovery logs, datatafiles...

    Is there a way to do with rman?

    Kind regards

    Siegwin

    Hello

    Check the ORACLE - DBA tips corner

    HTH

  • Recover the database failed after restoration

    Dear people,

    We are trying to restore the RMAN backup on another Linux machine. We did this activity several times. The backup has been taken from a RAC instance and we are trying to restore to RAC. After the success of the restoration of the data files, while we publish "recover the database'; It ends with the following error messages:

    RMAN-00571, RMAN-00569
    RMAN-03002 recover command failed

    RMAN-11003 failure during parsing / execution of the sql statement: alter database recover if necessary until cancel using backup control file

    ORA-19801: DB_RECOVERY_FILE_DEST initialization parameter is not defined

    ORA-00280: change 123123213123213123 thread 1 is in sequence #10787

    Kind regards

    Ali

    ProDBA wrote:

    Dear people,

    We are trying to restore the RMAN backup on another Linux machine. We did this activity several times. The backup has been taken from a RAC instance and we are trying to restore to RAC. After the success of the restoration of the data files, while we publish "recover the database'; It ends with the following error messages:

    RMAN-00571, RMAN-00569
    RMAN-03002 recover command failed

    RMAN-11003 failure during parsing / execution of the sql statement: alter database recover if necessary until cancel using backup control file

    ORA-19801: DB_RECOVERY_FILE_DEST initialization parameter is not defined

    ORA-00280: change 123123213123213123 thread 1 is in sequence #10787

    Kind regards

    Ali

    1. as you have said several times, you performed the restore, then you have not yet checked the parameter above so defined or not?

    2. I hope that its very easy to understand ENGLISH characters

    3 try to correctly set the parameter and size, try again to display the error (since some changes for thread 1 is necessary (hopefully, you gave 123 repeatedly instead of posting of the number of real change in your message))

    -Pavan Kumar N

  • How to recover the database with RMAN avoiding blur

    Hi gurus,


    I'm stuck in a situation and need your help.

    We check if our backups are valid or not. So it gave me a new server and backups/archives to a 2 TB database I need to restore/recovery. I followed steps below.

    (1) copied the prod parameter file to test.

    (2) make the necessary changes in the init file.

    db_file_name_convert, etc..

    (3) start db in nomount mode.

    (4) restore the backup control file

    Restore controlfile to ' / oraback/ARCH/prod/backup_controlfiles/c-250795000-20141030-01';

    (5) mount the database.

    (6) created under the rman script and executed.

    Run {}

    Catalogue start with ' / oraback/RMAN/test "noprompt.

    Catalogue start with ' / oraback/ARCH/test "noprompt.

    allocate channel C1 device type disk;

    allocate channel C2 device type disk;

    allocated channel C3 device type disk;

    allocate channel C4 device type disk;

    allocate channel C5 device type disk;

    allocate channel C6 device type disk;

    allocate channel C7 device type disk;

    allocate channel C8 device type disk;

    @rename_datafiles.lst

    @rename_logfiles.lst

    until the SNA 144390584718.

    restore the database;

    switch datafile;

    recover the database

    }

    Questions-

    -Restore completed successfully, but I found that few archives are missing.

    -I pulled from database to recover until cancel using backup controlfile; There is a below error

    ORA-01152: 1 no file has been restored from a sufficiently old backup

    ORA-01110: data file 1: ' / u02/oradata/testsystem01.dbf'

    -Then tried to restore the archive of available backup archive and few of archives have been restored.

    i.e. of sequence between 759529 and 759552.

    And then I pulled the database until cancel using backup controlfile recovery and I got errors below.

    SQL > restore database using backup controlfile until cancel;

    ORA-00279: change 144185396330 September at 26/10/2014 to 08:14:01

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759541_535023608.arc

    ORA-00280: change 144185396330 thread 1 is in sequence #759541

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

    Auto

    ORA-00279: change 144187549215 September at 26/10/2014 to 08:22:05

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759542_535023608.arc

    ORA-00280: change 144187549215 thread 1 is in sequence #759542

    ORA-00278: log file ' / oraback/ARCH/arch_1_759541_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144187559176 September at 26/10/2014 08:28:41 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759543_535023608.arc

    ORA-00280: change 144187559176 thread 1 is in sequence #759543

    ORA-00278: log file ' / oraback/ARCH/arch_1_759542_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188388865 September at 26/10/2014 08:36:51 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759544_535023608.arc

    ORA-00280: change 144188388865 thread 1 is in sequence #759544

    ORA-00278: log file ' / oraback/ARCH/arch_1_759543_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188399424 September at 26/10/2014 08:46:40 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759545_535023608.arc

    ORA-00280: change 144188399424 thread 1 is in sequence #759545

    ORA-00278: log file ' / oraback/ARCH/arch_1_759544_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189462436 September at 26/10/2014 08:54:04 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759546_535023608.arc

    ORA-00280: change 144189462436 thread 1 is in sequence #759546

    ORA-00278: log file ' / oraback/ARCH/arch_1_759545_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189469985 September at 26/10/2014 08:58:13 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759547_535023608.arc

    ORA-00280: change 144189469985 thread 1 is in sequence #759547

    ORA-00278: log file ' / oraback/ARCH/arch_1_759546_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189577217 September at 26/10/2014 to 09:01:38

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759548_535023608.arc

    ORA-00280: change 144189577217 thread 1 is in sequence #759548

    ORA-00278: log file ' / oraback/ARCH/arch_1_759547_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189584836 September at 26/10/2014 to 09:05:26

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759549_535023608.arc

    ORA-00280: change 144189584836 thread 1 is in sequence #759549

    ORA-00278: log file ' / oraback/ARCH/arch_1_759548_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189699671 September at 26/10/2014 to 09:09:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759550_535023608.arc

    ORA-00280: change 144189699671 thread 1 is in sequence #759550

    ORA-00278: log file ' / oraback/ARCH/arch_1_759549_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189708674 September at 26/10/2014 to 09:14:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759551_535023608.arc

    ORA-00280: change 144189708674 thread 1 is in sequence #759551

    ORA-00278: log file ' / oraback/ARCH/arch_1_759550_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715134 September at 26/10/2014 to 09:21:51

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759552_535023608.arc

    ORA-00280: change 144189715134 thread 1 is in sequence #759552

    ORA-00278: log file ' / oraback/ARCH/arch_1_759551_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715148 September at 26/10/2014 to 09:21:52

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759553_535023608.arc

    ORA-00280: change 144189715148 thread 1 is in sequence #759553

    ORA-00278: log file ' / oraback/ARCH/arch_1_759552_535023608.arc' is no longer

    necessary for this recovery

    ORA-00308: cannot open archived log ' / oraback/ARCH/arch_1_759553_535023608.arc'

    ORA-27037: unable to get file status

    IBM AIX RISC System/6000 error: 2: no such file or directory

    Additional information: 3

    ORA-10879: error reported in parallel recovery slave

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -Now when I tried to open the database with resetlogs it gives below error.

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -I found that sequence backup archives are missing 759553 to 759599. This is not present in the primary also.

    -I tried to check the blur of datafiles and achieved lower results.

    ALTER session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";

    Set of feedback on

    topic on the value

    set pagesize 1000

    set linesize 175

    format of column checkpoint_change # 999999999999999999999

    Select the State, checkpoint_change #, fuzzy,.

    TO_CHAR (checkpoint_time, ' ' MON-DD-YYYY HH24:MI:SS) as checkpoint_time,.

    Count (*)

    v $ datafile_header

    Status group, checkpoint_change #, fuzzy, checkpoint_time

    order of the State, checkpoint_change #, fuzzy, checkpoint_time;

    STATUS CHECKPOINT_CHANGE # CHECKPOINT_TIME FUZZY COUNT (*)

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

    144189715148. ONLINE NO 26 OCTOBER 2014 09:21:52 123

    ONLINE 144375495577 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375495581 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375891732 YES 29 OCTOBER 2014 20:52 1

    ONLINE 144375891955 YES 29 OCTOBER 2014 20:52:03 1

    144376850545. ONLINE NO 29 OCTOBER 2014 21:13:10 1

    ONLINE 144376866610 YES 29 OCTOBER 2014 21:13:36 1

    ONLINE 144377230506 YES 29 OCTOBER 2014 21:31:42 1

    ONLINE 144377313738 YES 29 OCTOBER 2014 21:35:47 1

    144377571340. ONLINE NO 29 OCTOBER 2014 21:53:33 1

    ONLINE 144377625895 YES 29 OCTOBER 2014 21:57:39 1

    ONLINE 144378445278 YES 29 OCTOBER 2014 22:13:37 1

    ONLINE 144378578727 YES 29 OCTOBER 2014 22:20:43 1

    ONLINE 144378877241 YES 29 OCTOBER 2014 22:35:59 1

    ONLINE 144378912130 YES 29 OCTOBER 2014 22:42:25 1

    ONLINE 144379435791 YES 29 OCTOBER 2014 22:57:31 1

    ONLINE 144379545905 YES 29 OCTOBER 2014 23:03:17 1

    ONLINE 144379631677 YES 29 OCTOBER 2014 23:18:53 1

    ONLINE 144379637933 YES 29 OCTOBER 2014 23:24:18 1

    ONLINE 144380039550 YES 29 OCTOBER 2014 23:37:44 1

    ONLINE 144380054601 YES 29 OCTOBER 2014 23:41:40 1

    ONLINE 144380099883 YES 29 OCTOBER 2014 23:54:16 1

    ONLINE 144380114063 YES 29 OCTOBER 2014 23:59:41 1

    ONLINE 144380676881 YES 30 OCTOBER 2014 00:13:27 1

    ONLINE 144380869308 YES 30 OCTOBER 2014 00:20:33 1

    ONLINE 144381101372 YES 30 OCTOBER 2014 00:32:49 1

    ONLINE 144381124605 YES 30 OCTOBER 2014 00:40:54 1

    ONLINE 144381393417 YES 30 OCTOBER 2014 00:51:20 1

    ONLINE 144382166578 YES 30 OCTOBER 2014 01:00:46 1

    ONLINE 144382500313 YES 30 OCTOBER 2014 01:10:11 1

    ONLINE 144382666697 YES 30 OCTOBER 2014 01:18:47 1

    ONLINE 144382861398 YES 30 OCTOBER 2014 01:30:02 1

    ONLINE 144383132266 YES 30 OCTOBER 2014 01:37:38 1

    ONLINE 144383283837 YES 30 OCTOBER 2014 01:48:24 1

    ONLINE 144383580087 YES 30 OCTOBER 2014 01:55:49 1

    ONLINE 144384682269 YES 30 OCTOBER 2014 02:06:55 1

    ONLINE 144384792040 YES 30 OCTOBER 2014 02:12:50 1

    144385726601. ONLINE NO OCTOBER 30, 2014 02:24:16 1

    144385779382. ONLINE NO OCTOBER 30, 2014 02:29:51 1

    ONLINE 144385956865 YES 30 OCTOBER 2014 02:41:27 1

    ONLINE 144386015770 YES 30 OCTOBER 2014 02:46:22 1

    ONLINE 144386151651 YES 30 OCTOBER 2014 02:59:08 1

    ONLINE 144386317681 YES 30 OCTOBER 2014 03:04:13 1

    ONLINE 144386563076 YES 30 OCTOBER 2014 03:16:59 1

    ONLINE 144386565235 YES 30 OCTOBER 2014 03:18:44 1

    ONLINE 144386699656 YES 30 OCTOBER 2014 03:31:40 1

    144386801438. ONLINE NO OCTOBER 30, 2014 03:36:15 1

    144387128892. ONLINE NO OCTOBER 30, 2014 03:52:31 1

    ONLINE 144387143873 YES 30 OCTOBER 2014 03:53:56 1

    144387490033. ONLINE NO OCTOBER 30, 2014 04:09:52 1

    ONLINE 144387501235 YES 30 OCTOBER 2014 04:11:27 1

    144388180516. ONLINE NO OCTOBER 30, 2014 04:26:44 1

    ONLINE 144388433270 YES 30 OCTOBER 2014 04:31:19 1

    ONLINE 144388902410 YES 30 OCTOBER 2014 04:42:55 1

    ONLINE 144388917251 YES 30 OCTOBER 2014 04:53:11 1

    ONLINE 144389534812 YES 30 OCTOBER 2014 05:01:56 1

    ONLINE 144389556024 YES 30 OCTOBER 2014 05:08:42 1

    ONLINE 144389674922 YES 30 OCTOBER 2014 05:19:48 1

    ONLINE 144389831920 YES 30 OCTOBER 2014 05:26:13 1

    144389957543. ONLINE NO OCTOBER 30, 2014 05:42:59 1

    ONLINE 144389982414 YES 30 OCTOBER 2014 05:46:24 1

    144390137798. ONLINE NO OCTOBER 30, 2014 05:56:40 1

    ONLINE 144390460229 YES 30 OCTOBER 2014 06:12:36 1

    ONLINE 144390474106 YES 30 OCTOBER 2014 06:13:11 1

    144390582132. ONLINE NO OCTOBER 30, 2014 06:27:27 1

    144390582634. ONLINE NO OCTOBER 30, 2014 06:28:02 1

    (1) how to proceed from here.

    (2) all the changes I need to do to the RMAN script. As I need to automate the process of restoration.

    (3) I don't want to use under hidden settings

    _ALLOW_RESETLOGS_CORRUPTION = TRUE

    _CORRUPTED_ROLLBACK_SEGMENTS = (Automatic Undo segments comma-separated list)

    Thank you for the support.

    You can not ignore the archivelogs.

    If the archivelogs are not available, you need a database backup that was created after missing the last archivelog point.

    Hemant K Collette

  • Recover the database by using cold backup

    Hi all

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

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

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

    Please find the steps we use to restore below.

    create controlfile

    from the db in State of Mt.

    recover the database;

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

    ENV details-

    DB - 11.2.0.1

    Please suggest.

    Thank you

    create controlfile

    from the db in State of Mt.

    recover the database;

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

    Mount the database

    restore all data files

    recover the database up to the...

    ALTER database open resetlogs

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

  • recover the database

    Hi all

    I took a backup using the database in backup mode

    alter database begin backup
    copying the files to the new destination
    change the backup of the end
    insert into values('abc') of the employee;
    Commit
    alter system archive log current;
    alter database backup controlfile to trace as "c:\control01.sql"
    connected to the new database

    created settings file,

    startup nomount;

    C:\control01.SQL Edited
    and inventory is change, change reuse to set
    Control file to
    @C:\control01.sql
    was created

    ALTER system set log_archive_dest_1 =' location = c ';

    copied the primary database archiving logs at this location

    now, I want to know the difference between


    recover the database, recover database until cancel and recover database using backup contorlfile up to cancel


    Thank you

    948024 wrote:
    Thank you very much guys it really helped,

    I fixed the database completely I have cross checked the lines that I have inserted after taking the backup, and they are in the new database

    just one thing guys.

    now both HAV same databses data...

    Once again if I want to insert rows in the primary database and

    alter system archive log current;

    then the cn I directly paste this newspaper archive in second file of database archvive and make immediate judgment

    N ° once you opened this second database, he began his life with it's own set of stock footage, it's own set of SNA. You can not just graft in a some other database archivelog, no matter how closely, you think that these databases are linked. Oracle is concerned, as they have zero relationship to another.

  • Recover the database Losted

    I have a new adventure like Oracle Database Administrator (of course as a beginner): I assume that this database has crashed during the backup. Now, I can't launch database, I can't retrieve the database, I can't do anything. EM said "the State of the database is currently unavailable. It is possible Traore, the database is in State of Mount or nomount. Click 'Start' to get the current state and open the database. If the database cannot be opened, click "Perform the valuation" to run a proper recovery operation. "When I try to"Start", according to the information of identification and"work in progress", he returned to the first window. I tried to perform recovery, but the result is same.

    Can someone describe me procedure how to recover the database step by step? I need to recover the data from the tables and if it is possible, the tables.

    I have the database Oracle 10.1.0 on Windows 2003 server.

    Thanks in advance!

    Miroslav197 wrote:
    Yes, I did: alter system set db_recovery_file_dest_size = 10G-force and commissioning.

    Now, he says: ORACLE instance started. Complete system...; Mounted database. ; Open database.

    Looks all right. Do I need something more to do before opening EM?

    Yes.
    Actually answer your question. Except that pst responded and post correct/good

  • recover the database unitl cancel using the control file

    I refreshed with db1 db2, copied all the newspapers dbfile and archive to the db2 server and setup/adjusted spfile, controlfile etc on the new db2 server and has
    recover the database unitl cancel using the control file.
    ALTER database open resetlogs.

    Now the customer want to refresh it after 2 days, I wonder of I need only archive newspapers or both? to do the same again?

    Published by: DBA2008 on November 11, 2009 09:49

    Yes, you can 'restore to cancel' several times.

  • recover the database on windows xp linux rman backup

    Hi guys,.

    I am recovering a xp database that runs on Centos 5.3 on windows xp.

    That's what I did.
    backup database
    Run {}
    maxcorrupt for the data file the value 2 to 1;

    CONFIGURE REDUNDANCY 5 RETENTION STRATEGY;
    CONFIGURE BACKUP OPTIMIZATION
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/snapcf_XE.f'; # by default
    compressed backup backupset database;
    backup current controlfile;
    backup SPFile;
    }

    FTP files on Windows
    SQL > startup mount restrict exclusive;
    SQL > drop database;

    SQL > startup nomount;
    RMAN > set dbid = 7898909
    RMAN > recover automatic backup controlfile;

    And then the problems begin.
    because the controlfile contains the former locations of tablespaces (linux).
    I try with set newname for data file does not work because old tablespaces are not there.
    If I try to backup the controlfile to find and change the locations, it still does not because I don't have the files of data in place.

    In short; How to restore and recover the database from a backup of linux on windows?

    Hello

    Rman backups are not portable between operating system platforms.
    You must use the convert command.
    Please follow the link which explains the controls and the procedure below.
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/dbxptrn.htm#CHDCFFDI

    Kind regards
    Tycho

  • recover the database test

    Hello
    in metalink notes 94114.1 I see:
    9. Test your recovery
    REASON: During a recovery situation this will let you know how the recovery will go without
    actually doing it, and can avoid having to restore source datafiles again.
    
    SQL> recover database test;
    Can you tel me if 'test' to 'recover the database test' is a parameter or the name of the database to recover?
    Thank you.

    The name of the database to recover.

  • How to recover the database when archive some of the log file are deleted.

    I am facing a problem with the Oracle database, which is linked to archivelogs.
    Our development database is running in archivelog mode, but we don't have safeguards and have no recovery catalog.
    When the database was in running, disk got full, so some archivelogs were deleted manually.
    After that they have restarted the DB, and DB now not come. The errors are as follows:

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


    SQL > startup
    ORACLE instance started.

    Total System Global Area 1444383504 bytes
    Bytes of size 731920 fixed
    486539264 variable size bytes
    956301312 of database buffers bytes
    Redo buffers 811008 bytes
    Mounted database.
    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open


    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: ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'


    SQL > recover datafile ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be


    SQL > restore database using backup controlfile;
    ORA-00279: change 215548705 generated at 2008-09-02 17:06:10 needed for thread
    1
    ORA-00289: suggestion:
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00280: change 215548705 thread 1 is in sequence #1107


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00308: cannot open archived log
    ' / export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to get file status
    SVR4 error: 2: no such file or directory
    Additional information: 3


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

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


    1 how to recover the database and put online

    Any help will be much appreciated.

    Regarding
    Hemant Joshi

    Published by: hem_Kec on 7 Sep 2008 09:07

    Hello

    It is actually quite easy.
    We knew that Oracle was looking for logsequence 1107. There is no archived log, it was deleted, or it has never generated. As you delete files, the 1st solution would be possible, BUT as there was only an instance crash so more old archived logs is not required for crash recovery. There is a need during the restoration of the old backup files, which is not our case.

    Thus, the missing log sequence has not been archived = > it is a redo log.
    To identify the required online redo log, we just to log query v$ as I suggest.

    Once the log identified file, we can recover it by specifying the redo log when you ask logsequence 1107.

    And it is on. We win! :)

  • recover the database running on pfile

    Hi all

    I have an of Oracle (9i) database that was running on pfile (startup pfile = ' path/init.ora'), windows.

    the database has been works well, for several days and today was arrested by a developer (ora-30036 was obtained and it instead of asking any stop just s/n of the database).

    I want to know if I have the database using pfile, will, I get the data to date or I'll have to recover data using the starting log Archives or other methods of recovery?

    1 thing to mention, RMAN is not configured...

    Please let me know if you need more information.

    Thank you

    Florent

    Hi Florent.

    ORA-30036: unable to extend segment by string in undo tablespace 'string. '

    Cause: the specified undo tablespace has no more space available.

    Action: Add more space for the undo tablespace before retrying the operation. An alternative is to wait for all of the active transactions to commit.

    It is not necessary to perform a recovery, you can just start your DB and your DB should start very well.

    If you want to diagnose why you received the ORA-30036, you can start by checking the size of the undo tablespace and check operations that are exhausting your Undo tablespace.

    Kind regards

    Suntrupth

  • 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

  • Necessary to define the database time zone differs from the OS

    We have a database of who currently resides in New York. Let's move to another server that resides in London. This is a problem, because each date which is currently in the time base is New York time, but after the move, all the new data that created time will always be time to London. We do not want users to have to remind any date preceding the date of move, will idle 5 hours if we would like to do is to have the database always on time in New York despite the BONE being London time. The server will be shared with other applications for the operating system time zone will have to remain with London time. The database will only have data for our application. So is there a setting of database that we can use to set the time zone database is different from the operating system time zone? The database is currently 10 GB but is promoted as part of the move to 11 g.

    What is the data type of the column? If the date or timestamp, then there is no time zone stored with the data. If timestamp with time zone, then the time zone of the data remains the same regardless of the time zone database and operating systems.

    SQL> select dbtimezone from dual;                    
    
    DBTIME
    ------
    -05:00                                               
    
    SQL> alter database set time_zone='EST';             
    
    Database altered.
    

Maybe you are looking for