Restore the database to the fallback location

Hi all

9i

RHEL5

I'm doing to restore the database to the startup location.

Copy the components of backup on the remote server (same directory).

RMAN target / auxiliary sys/change_on_install@STANDBY


Release of Recovery Manager: 9.0.1.1.0 - 64 bit Production

(c) Copyright 2001 Oracle Corporation. All rights reserved.

connected to target database: PROD (DBID = 3261937922)

connected to the auxiliary database: PROD (not mounted)

Run this command on the side of PROD or side Server backup server?

He also mentioned @STANDBY, but it has not mentioned in the steps of the process to add the name of WATCH service in TNSNAMES.ora?

Thank you very much

JC

Hello Jenna_c

I suppose that you created a controlfile to standby to primary (SQL > alter database create standby controlfile as ' / tmp/stby.ctl '; in primary, then copy it to sleep)

and you have been used for the standby instance nomount (with the settings standby.ora... file) and restore it from the last backup, if you have a backup tape of stb you can restore backup site, if you have a backup to disk, it must be accessible on the same path to the backup site. (NO RECOVERY)...

Then you have an instance of State nomount standby:

SQL > alter database base_de_donnees eve of Mount;

Here, you can create the redologs Eve... it is not mandatory...

SQL > alter database add standby logfile group 11 ('/ u01/apps/oracle/oradata/STANDBY_redo_11a.dbf',)

u02/apps/Oracle/oradata/STANDBY_redo_11b.dbf') size 100 M;

SQL > alter database add standby logfile Group 12 ('/ u01/apps/oracle/oradata/STANDBY_redo_12a.dbf',)

u02/apps/Oracle/oradata/STANDBY_redo_12b.dbf') size 100 M;

SQL > alter database add standby logfile Group 13 ('/ u01/apps/oracle/oradata/STANDBY_redo_13a.dbf',)

u02/apps/Oracle/oradata/STANDBY_redo_13b.dbf') size 100 M;

SQL > alter system set standby_file_management = auto; (throwing in the primary and standby)

then, we put an instance ensures in recovery mode:

SQL > change database recovery managed standby database disconnect from the session.

in the primary, we check status of dest archive remotely.

Select * from v$ archive_dest_status;

sleep mode check us status of recovery:

SQL > select process, status from v$ managed_standby;

Kind regards.

Tags: Database

Similar Questions

  • Cannot restore the downloads folder to the original location

    Dear community,

    I have a new computer Windows 8.

    The hard drive is split into two, OS (C :) and DATA (d) and I realized that all my files were stored in the C: drive)

    I read online that you can change the location of folders like "My documents" by clicking on properties and change the location to the other disk.

    I did it for the Documents folders and everything was fine, I had a Documents folder in my D: drive.

    Then I did the same with my downloads folder and selected the location D:\

    After that, I realized that my D: drive and file downloads completely merged!

    Which means, when I went to my DATA (d :)) I could find all my downloads and My Documents folder.

    Still, when I was clicking on Downloads, My Documents folder was inside!

    So I clicked on downloads and tried to restore the default location, but I got the error message that it was impossible to "create sublists under D: System Volume Information. Access Denied» I tried to introduce the location manually, but the same thing happened.

    Now, my downloads folder has changed its name, it is called D:\ and my disk DATA (d :)) says in the location tab its default location is C:/users/downloads)

    I don't understand why this happened and that cannot be good for the functioning of my PC...

    Can I restore my system to just before that happened even if I never 'saved' my computer?

    If not, what can I do to fix this?

    Thanks a lot for your help.

    Luna

    Hello

    I only did this for awhile and can't find my notes...

    I think that you can get the error because you are trying to get the DOWNLOADS folder... AND it's the content... This will not work because they are now scattered on D:\.

    If asked about the files, select NO, and then copy back them manually after you move downloads.

    OR... you could leave it here just temporarily, return downloads, create a folder for downloads on D: and then move again into the folder you have created. Then, cut and paste your files into it...

  • Restore asm alias datafile at the new location extension dbf

    Hi all


    I need to restore production database to test the database and prod a data file is created with the alias of the DSO.

    Example:+Data1/prod/datafile/data.318.799151641

    Is the from statement will be working when I restore in test.

    the value of newname for datafile 5 to "+ DATA1/prod/datafile/data01.dbf".

    restoring datafile 5;

    Are there other autour work to restore the alias of asm to the new location with dbf extension.

    Thank you

    Restore completed successfully. The command worked below.

    the value of newname for datafile '+ DATA1/prod/datafile/data.318.799151641' to '+ TEST01/test/datafile/data01.dbf '.

    Thank you

  • Restore the backup with a new name and a different location on the same server

    Hi all

    I did a complete backup of my current PROD. Is it possible to restore the database on the same server, but with a different instance name, db_name and on another location?

    PRM says:
    Hi all

    I did a complete backup of my current PROD. Is it possible to restore the database on the same server, but with a different instance name, db_name and on another location?

    If you use RMAN my awnser is not.

    You cannot change the name of the database before open resetlog.

    But you can make this work without problem using the same server.

    You will need to change some parameters.

    Create a PFILE from SPFILE (prod) change parameter 'db_unique_name' file new name (ex TEST).

    Change all the value of PROD TEST except db_name parameter must be PROD.

    CREATE a SPFILE from this PFILE (spfileTEST.ora)
    Create a new password file (orapwTEST)

    So you can start this new Instance_name (TEST).

    Restore the PROD to TEST instance database, you will need use set new name to the file data or database (depends on which version you use)

    Retrieve the instance PROD database (TEST)

    It is time to open resetlogs...
    !!!!!!!!!!!!!!!!!!!!!!!!!!!! ATTENTION HERE!

    You need change redo log location before open resetlogs, you must query v$ logfile member column and change it to another location.

    After change you can open resetlog.

    Now its time to change name of database.

    Stop and start Mount

    Use the NEST

    NEST target=sys/password@instance DBNAME = TEST

    When this process is complete, NEST will be closing database.

    So you will need to start with nmount change db_name to the TEST and reset the parameter 'db_unique_name' (alter system reset db_unique_name)

    Then stop and start upstairs question OPEN DATABASE RESETLOGS and is done.

    HTH,
    Levi Pereira

    Published by: Levi Pereira on August 27, 2012 13:09

  • Restore the database on new server

    I have Oracle 10 g on AIX 5.3
    I perform the backup hot by script every week.
    A user makes me know that the accident he has deleted a table. Because I only use the standard version, I can use the flashback table to restore the lost data.
    Under the guidance of askTom for similar cases raised by others, Tom said that cloning the db to the new location and export that data to the old server are the only way can do.
    The data in the table of the deleted user not be updated frequently, so I only need to apply all the data files in the last backup, no need to apply the archivelog.

    My colleague helping me duplicate data files to the new location. The new server has installed Oracle and the configuration is the same as the old server.
    But can I know the steps what I can do to clone the database in the best way? (no need to apply archivelog)

    Thank you very much

    If I restore the database up to the 15/05 01:05, I do not know what newspapers of archiving backup must be copied to new servers (the new server has limited the size, I can't copy all the logs to archive on the server).

    Depends on if you are allowed to lose some data. In the case opposite and you all data just before that the data has been deleted, you need to recover up to 22/05 16:59 you need all the archives logs from 15/05 01:05 to 22/05 16:59.

    You can consult the archives of the information for journal of v$ archived_log view on the main database using next_time between the time of hot backup and 22/05 17:00.

    Anand

  • Restore from a different location from the original location of RMAN backup

    All,

    Sorry to bother you on this simple question, but it's something I've never done before:

    Background
    =======

    My sys admin is currently copying a full backup of the default RMAN backup location to another location on the drive (say/u01/oracle/backup).
    The backup was performed using RMAN and in my view, THAT RMAN knows that his initial backup location. See RMAN permanent setting below:

    SET UP DEFAULT DISK DEVICE TYPE;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / banksys_arch0/backup/ora_cf%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F ';
    SET UP THE DEVICE TYPE DISK BACKUP FOR PARALLELISM BACKUPSET TABLET 1 TYPE;
    SET UP THE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP BACKUPSET TYPE;
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1;
    CONFIGURE BACKUP COPIES OF DATA FILE FOR THE 'SBT_TAPE' UNIT 1;
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1;
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE 'SBT_TAPE' 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK RATE 10 M FORMAT ' / arch/oradata/BANKSYS/backup/%Y-%M-%D-ora_df_s%s_s%p';

    Question
    ======
    I need to restore and recover the database from this new backup location. This is as simple as the following:

    1 change the default RMAN location to the new location:

    DISK CONFIGURATION CHANNEL DEVICE TYPE FORMAT "u01/oracle/backup/ora_df%t_s%s_s%p". (note that I've changed it to the new location)

    2 restore and recover (I have a good knowledge/experience in the part).

    Thanks in advance.

    just by changing the default backup location, custom RMAN find backups on its own, you should always run an overlap

    However I would not change the default location temporarily

    RMAN> CATALOG START WITH '/my/backup/location'
    

    will be of RMAN recognize your backups

  • Restore the Oracle XE database to another machine

    I have an Oracle XE server on a Windows XP computer, and I want to copy it to a Windows 7 computer.
    On XP, I did a backup through the database "backup" interface graph user (BACKUP. (BAT). The Oracle backup created 3 new folders under C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET

    I installed XE on the Windows 7 machine and it seems to work.
    Then I had to face the 3 files to backup on a USB and put them in the folder structure on the new Windows 7 machine. I ran the restore from the GUI as administrator (RESTORATION. (BAT). Restore failed, and I can't understand why. I don't know what are the sequence numbers.

    Now I can't get into Apex or Apex_Admin

    Thanks for taking a peek at this.

    The contents of the OXE_RESTORE file is as follows:
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011

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

    Windows NT Version V6.1
    CPU: 8 - type 586, 4 physical cores
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 6031 M / 8183 M, Ph + FCP: 13737 M / 16364 M, GOES: 1973M / 2047 M
    From debugging disabled

    connected to target database: xe (unassembled)

    RMAN > set the echo;
    2 > restore (spfile to autobackup db_recovery_file_dest = 'C:\oraclexe\app\oracle\flash_recovery_area\');
    3 > strength of startup nomount;
    4 > restore (automatic backup controlfile);
    5 > change the editing of the database;
    6 > configure controlfile autobackup.
    7 > restore database;
    8 >
    echo on

    From restoration to January 8, 11
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 37 devtype = DISK

    destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area\
    name of database (or unique name of database) used for research: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
    channel ORA_DISK_1: restore SPFILE full automatic backup
    Finished restore at 8 January 11

    Oracle instance started

    Total System Global Area 805306368 bytes

    Bytes of size 1289996 fixed
    239075572 variable size bytes
    562036736 of database buffers bytes
    Redo buffers 2904064 bytes

    From restoration to January 8, 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 36 devtype = DISK

    destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area
    name of database (or unique name of database) used for research: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
    channel ORA_DISK_1: restore full automatic backup of control file
    name of the output file = C:\ORACLEXE\ORADATA\XE\CONTROL. DBF
    Finished restore at 8 January 11

    mounted database
    output channel: ORA_DISK_1

    RMAN old configuration settings:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration settings:
    CONFIGURE CONTROLFILE AUTOBACKUP
    new RMAN configuration settings are stored successfully

    From restoration to January 8, 11
    From implicit overlapping Backup 8 January 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 35 devtype = DISK
    Cut objects 1
    Backup of implicit overlap ended in January 8, 11

    Starting copy of implicit cross-8 Jan 11
    using channel ORA_DISK_1
    Copy of implicit overlap finished-8 Jan 11

    the search for all files in the recovery area
    cataloging files...
    cataloging done

    List of cataloged files
    =======================
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP

    using channel ORA_DISK_1

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM. DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO. DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX. DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS. DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: backup C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_ piece reading. BKP
    channel ORA_DISK_1: restored the backup part 1
    piece handle = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_. Tag BKP = TAG20110107T194642
    channel ORA_DISK_1: restore complete, duration: 00:00:56
    Finished restore at 8 January 11

    Complete recovery manager.

    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011

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

    Windows NT Version V6.1
    CPU: 8 - type 586, 4 physical cores
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 6021 M / 8183 M, Ph + FCP: 13238 M / 16364 M, GOES: 1973M / 2047 M
    From debugging disabled

    connected to target database: XE (DBID = 2604800077, is not open)

    RMAN > set the echo;
    2 > restore database;
    3 > alter database open resetlogs;
    4 >
    echo on

    From back-8 Jan 11
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 38 devtype = DISK

    starting media recovery

    Archive journal 1 sequence 375 thread is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
    archive log thread 1 sequence 376 is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
    archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. Wire ARC = 1 sequence = 375
    archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. Wire ARC = 1 sequence = 376
    Cannot find the log archiving
    archive log thread = 1 sequence = 377
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 08/01/2011 18:34:47
    RMAN-20000: abnormal termination of job step
    RMAN-06054: recovery of media asking unknown journal: thread 1 seq 377 lowscn 11715842

    Complete recovery manager.

    After playing a bit, I solved the problem.
    There are a total of four records in \FLASH_RECOVERY_AREA\XE\ I had copied only three of the four.
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET

    Windows services store the files in open ONLINELOG, so I had to shut down services and then work with the folder. That's why four files must be moved and copied onto the new machine:
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    ONLINELOG

    If you are running as an administrator "Backup" of the GUI, it runs the BACKUP. BEATS, a batch file called RMAN. Once that is done, copy the four files to the same location on the target computer, and then run as administrator 'Restore' (RESTORATION. (BAT).

    In another forum someone told to be sure that the 'archive logs' are copied. It should be interpreted to mean not only the folder 'ARCHIVELOG', but all four files.

    Published by: PhilMan2 on January 11, 2011 11:28

  • Error on the server after restoring the backup: "could not allocate space for object database because the 'primary' filegroup is full.

    Original title: Hi Experts,

    Hi Experts,

    Pls help me...
    When I tried to restore the backup of one of my site in my server, I got error like "cannot allocate space for object database because the 'primary' filegroup is full"... Microsoft SQL-DMO(ODBC SQL State:42000))

    Hello

    The question you have posted is related to professional level support. Please visit the link below to find a community that will support what ask you:

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer/

  • How to restore the system recovery files to their original location? (HP Pavilion p6540F desktop computer)

    I have a desktop HP Pavilion P6540F under Windows 7 Home Premium. A few days ago there was a problem with windows that virtually wiped out my OS and I had to restore my computer to factory settings. Before restoring my computer I backed up all my files on a disk. After Reinstalling windows, I placed the drive with all my files recovery on it in my computer and running the recovery .exe file that has started downloading my files. All of this worked perfectly well but the problem is that these files only stored in a file on my desktop and has not been restored to its original location. Is it possible to get these files to restore to the correct locations on my computer without having to manually, drag the files to their old location? Honestly, I don't know where many of these files were located before the restoration and many items such as preferences for certain programs are impossible for me to move. Thanks for the help.

    The backup that is used to recover only restores the files in a folder, leaving the owner to move. I agree, not the application of backup more useful, but better than nothing I guess.

  • Cannot restore the location of the folder 'Video' drive system D

    Hello I have a little problem :( I have Windows 8, and I wanted to move some files from my OS drive (C :) on my unused data drive (d). My video library took plenty of room so I tried to move my video system folder by using the tab location in the properties and just selected the D drive. I understand now that should not have been done because all my files are gone and my drive (c :)) has not yet changed size. Now my video folder mimics the D drive, when I look at the properties now he says it's a Local disk. So when I went to the tab location again, and then clicked on "Restore Default" to C:\Users\Eva\Videos, an error appears and says: "unable to generate a list of regular subdirectories in 'D:\System Volume Information. Access is denied. "

    Is anyway to fix this issue? And that I lost all files in this folder for ever?

    Hi Evaliu,

    If you are able to see the videos folder available and if you get access denied, then I suggest you give permissions for the videos folder, and then check to see if you are able to move the files.

    "Access denied" or other errors in the access to or work with files and folders in Windows
    http://support.Microsoft.com/kb/2623670/en-us

    I hope this helps! Let us know if you have other problems with Windows in the future.

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

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

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

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

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • Restore the database on the two houses of Oracle

    Hi all

    Oracle 9iR2

    OEL 5

    I have our database of PROD rman backup, the SID is also named PROD.

    I want to restore it to a different server, but I want two database restored the same SID on the same server.

    For example, I create OracleHome1/u01/app/oracle and OracleHome2 another/u02/app/Oracle.

    Then I'll bring backup rman for each House, create two identical databases. Is this possible?

    Thank you very much

    JC

    No, 32-bit guest OS cannot use hardware virtualization assisted using a type 2 hypervisor. VirtualBox is an application and type 2 hypervisor. What you need is the Oracle VM x 86 Server, which is a type 1 hypervisor where you can run a 32-bit guest with the support of paravirtualized system.

    The following will give you a good overview: paravirtualization (PV) - Xen

  • How to restore the database only with redolog, ctl and dbf files

    Hi friends,

    I had an oracle 11g database, but the server is down. So I just save only the DBF, CTL and REDOLOG files. But I couldn't save the file spfile and pwd.

    How to restore this database in the other server? How can I recreate the spfile?

    I hope someone can give me a hand.

    Thank you.

    Hello

    Thanks for all your advice.

    I try to recreate an environment equal to the original.

    I have install windows server 2003 and install the database from oracle 10.1 all default options.

    I create the directory D:\oracle\product\10.1.0\oradata\. Then I put the files (*.) CTL *. DBF, *. Log) in this directory.

    After this, I create a pfile file in: D:\oracle\product\10.1.0\db_1\database\init.ora with only the db_name and the control_file, the compatibility settings.

    Then open a CMD and create a service, set the ORACLE_SID and try to start the database:

    oradim-new - sid

    Set ORACLE_SID =

    sqlplus / as sysdba

    startup nomount pfile='D:\oracle\product\10.1.0\db_1\database\init.ora';

    change the editing of the database;

    ALTER database open;

    And, the open database

    After I install Oracle Sql Developer, and I can connect to instance and check the tables.

    But when I try to do an export of CMD, I get tracking errors:

    Export: Release 10.1.0.2.0 - Production on Jue 30 Abr 10:04:24 2015

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

    Contrase±a:

    Conectado has: Oracle Database 10 g Enterprise Edition Release 10.1.0.2.0 - product

    ion

    With partitioning, OLAP and Data Mining options

    Exportaci¾n made in el juego WE8MSWIN1252 character y el juego CARAC

    Teres AL16UTF16 NCHAR

    Exportando toda database...

    . exportando tablespace definiciones

    . exportando people

    . exportando usuario definiciones

    . exportando roles

    . exportando recursos costos

    . exportando rollback segmentos definiciones

    . exportando enlaces a the database

    . exportando sequence n·meros

    . exportando directorios alias

    . exportando espacios of numbers in context

    . exportando numbers of Ajas functions bibliotecas

    . exportando tipo p·blico sin¾nimos

    . exportando privado tipo sin¾nimos

    . exportando definiciones objetos types

    . exportando actions y objetos del sistema procedure

    . exportando actions y objetos procedure pre-sequence

    . exportando agrupamiento definiciones

    EXP-00056: is ha UN error 24324 ORACLE sown

    ORA-24324: Service Manager no inicializado

    EXP-00056: is ha UN error 24324 ORACLE sown

    ORA-24324: Service Manager no inicializado

    EXP-00056: is ha UN error 24324 ORACLE sown

    ORA-24324: Service Manager no inicializado

    EXP-00000: the exportaci¾n no ha terminado correctamente

    Someone knows this problem?

    Best regards.

  • I use TDE tablespace encriptación and backup is performed (no encriptación rman). I get the error message when you try to restore the database

    I use TDE tablespace encriptación and backup is performed (no encriptación rman). I deleted the database and try to restore the backup. I get the error when you try to restore the database with rman restore database.

    ORA-19870: error when restoring backup piece + FRA_DG, oratst, backupset, 2015_03_2

    ORA-19913: could not decrypt the backup

    ORA-28365: portfolio is not open

    About what I know, you should be able to RESTORE the data, but no RECOVERY without portfolio being opened.

    Check the value of the variable environment - ORACLE_UNQNAME

    It has everything first a correct value and try to open the wallet.

    HTH,

    Pradeep

  • Hey I have a problem with the library, when I try to enable the creative cloud desktop application it keeps saying "cannot restore the file: C/users/USER name as the location of the file is not available."

    Library Eroor.jpg

    This is a double post of a following:

    Hey I have a problem with the library, when I try to enable the creative cloud desktop application it keeps saying "cannot restore the file: C/users/USER name as the location of the file is not available."

Maybe you are looking for

  • KOOBFACE IS FALSE ALARM OF IT?

    I WAS WORKING ON A NEW LAPTOP OS X YOSEMITE WHEN BELLS AND WHISTLES EXPLODED, THE WINDOW POPS UP SAYING THAT I HAD BEEN HACKED AND CALL APPLE AT # GIVEN. IT DIDN'T SOUND RIGHT, BUT ULTIMATELY, I CALLED. AFTER I LET HIM SHARE THE SCREEN "" RESCUE", HE

  • Safari does not work after update ios 9.3

    Links in Safari stoped to work after upgrading to IOS 9.3. I have restart the system and I re - install the backup in my IPad but doesn´t work. When you click on the link only opens a new page and sometimes freeesing Safari

  • Quality mediocre speaker Tecra R10 - 10A

    HelloI just bought a tecra r10-10 has fills perfectly. My only complaint is an * extremely poor sound quality * fate of built-in speakers. I can't complain for lack of low frequencies, which is inevitable for this size, but distortion of severe clipp

  • NEITHER USB 6343 negative DC voltage after power function generator

    Hey all,. I'm having a problem with my DAQ.  I'll generate a square wave in Labview with a generator function and that the output to my DAQ.  The function exited through the acquisition of data very well; However, when the production is stopped, a ne

  • Cannot open iTunes, after installing Windows updates.

    Original title: I Tunes Just did a windows update and now ITunes doesn't open