RMAN backup with a missing archivelog.

Hello

I backed up my database yesterday after that you guys helped me to solve some problems I've had on this subject. I have used RMAN with the following command in an execution block:

* run {*}
allocate channel t1 type disk;
backup current controlfile;
backup database;
delete any backup archivelog entry;
output channel c1;
*}*

At the end of the operation, RMAN indicates that archivelog is missing, and he couldn't find it. Therefore, recover the operation may be compromised. Now am confused because I don't know if the command executed successfully or not and how to fix the missing archivelog.

Here are all of the output of the operation with the error message:

channel Affectu: t1
channel t1: sid = 131 typedev = DRIVE

Dumarrage of backup in 16/04/09
channel t1: backup of all files in Donnues all Dumarrage

channel t1: insertion of the Donnues in all of backup file
insertion of the current score in all of backup file
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/ncnnf0_tag20090416t211049_0.334.684
* Utiquette 364257 = TAG20090416T211049 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:00:14
End of backup in 16/04/09

Dumarrage of backup in 16/04/09
channel t1: backup of all files in Donnues all Dumarrage

channel t1: insertion of the Donnues in all of backup file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/m4prod.dbf 00008
Donnues en Entrue fno name 00010 = file is H:\ORADATA\M4REC. DBF
Donnues en Entrue fno = 00009 name file is E:\DATAFILEMETA4\M4PROD02. DBF
Donnues en Entrue fno = 00001 nom=+ASMTEST/meta4/system01.dbf file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/sysaux01.dbf 00003
Donnues en Entrue fno = name 00006 file is C:\TEST. DBF
Donnues en Entrue fno nom=+ASMTEST/meta4/meta4.dbf 00007 = file
Donnues en Entrue fno = 00005 nom=+ASMTEST/meta4/example01.dbf file
Donnues en Entrue fno = 00002 nom=+ASMTEST/meta4/undotbs01.dbf file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/users01.dbf 00004
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/nnndf0_tag20090416t211107_0.333.684
* Utiquette 364271 = TAG20090416T211107 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:51:10
channel t1: backup of all files in Donnues all Dumarrage

channel t1: insertion of the Donnues in all of backup file
insertion of the current score in all of backup file
inclusion of the current SPFILE in all of backup
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/ncsnf0_tag20090416t211107_0.345.684
* Utiquette 367351 = TAG20090416T211107 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:00:26
End of backup in 16/04/09

Dumarrage of backup in 16/04/09
Journal Archivu underway
channel Liburu: t1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: Uchec of the command backup O 16/04/2009 22:04:03
RMAN-06059: journal archiving waited not found; the loss of the log arch
ivago compromises the Possibilitu of Rucupuration
ORA-19625: error identification of the H:\ARCHIVEMETA4\ARC00001_0 file
* 682674928.001*
ORA-27041: opening the file impossible
04002 - OSD: cannot open the file
S/O-error: (OS2) the Spucifiu file is not found.

Here is my l and please correct me if am wrong:

The first 3 statements in the block run executed successfully, but
the last of them is not. Is this true?

Whatever the understanding, should I have a backup? What can I do to get a consistent backup?

Thanks in advance.

Adomi,

It is sad to see that you are still RMAN in 8i mode where you are on 10g.

The script is bs, sorry

Run {}
allocate channel t1 type disk; -not required
backup current controlfile; -not necessary, as this is already done backup of database
backup database;
delete any backup archivelog entry;
output channel c1; -not required.
}

If you have autobackup controlfile, you might just

backup database archivelog

and be done with it.

Like you didn't made a RMAN backup from the start, should have read your archivelog backup statement

ARCHIVELOG backup all Skip inaccessible delete entry.

Once successful Oracle shouldn't the archivelog has more need, and you should make a second backup without the skip inaccessible clause.

------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • RMAN backup with log archiving

    Hello

    I'm using oracle 11G (11.2.0.1). My open database and I'm using the RMAN command to perform a backup hot below. My doubt is the reason we have the backup of the database to archivelog more? What is the use of the archivelog backup because the archivelogs will keep generation while the database is open.

    RMAN > backup the database archivelog;

    Kind regards

    007

    I agree with Oviwan. You must archivelogs in the recovery database to the last second. If you have the base of mission critical data, then you must also add redo log members on different disks.

    And I also suggest to run command before backup below.

    RMAN > sql 'ALTER SYSTEM SWITCH LOGFILE;

    You can remove the logs to archive that are saved.

    RMAN > delete any backup archivelog entry;

    Also, I suggest to backup database and Archives journal separately.

  • RMAN backup with the smallest size of backup

    Oralce 11g 2 on Redhat 5. Disk space is our the tighter resource, and we want an incremental backup with Level0 Sunday and level 1 every day of the week and on Saturdays. I'm using the comamnds to do the job
    --Sunday
    backup incremental level 0 tag 'level_0' database plus archivelog;
    --Other days
    backup incremental level 1 database plus archivelog delete all input;
    I don't think that it is the best practice or produce smaller backup files.

    What are you comments and opinions. Thank you

    RMAN backup except for the backup copy will only backup blocks used, which is quite efficient. Backup incremental level 1 are set by default and the smallest of the incremental backup.

    However, you can enable compression reduce the size of the backupset (Oracle 10 g and more). You can also enable the block track the changes in the database only once, so that backup incremental level 1 do not need to analyze the data files for the changes - this allows saving a lot of time and IO.

    SQL > ALTER DATABASE ENABLE BLOCK CHANGE TRACKING;

    RMAN > run {sql 'alter system switch logfile' ;}}
    RMAN > BACKUP AS BACKUPSET INCREMENTAL LEVEL 0 COMPRESSED DATABASE MORE ARCHIVELOG DELETE ALL ENTRIES;
    RMAN > ACE COMPRESSED BACKUPSET INCREMENTAL LEVEL 1 DATA BACKUP MORE ARCHIVELOG;

    I would prefer not to delete the archivelogs after each incremental backup of level 1 in order to make a point in time recovery without the need to restore the archivelogs.

    And don't forget to:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    I hope this helps.

  • RMAN backup with ora-19504 failed

    Hi, I have to log on to the database server and map a network drive. I create a folder named rmanback and run rman to back up the database. However, it fails with the error
    ORA-19504: cannot create the file 'z:/rmanback/test_27628.bak '.
    ORA-27040: skgfrcre: error, unable to create the file
    My version of database server system is windows2003 server. And the backup command is
    format='z:\rmanback\%D_%s.bak backup database"
    The version of oracle's 10g, sp4.
    What should I do?

    By default Oracle (database, listener) services to run under the LocalSystem account internal. This account is not allowed to write on disks shared for security reasons. And it is this account that makes the RMAN backup, not the OS user you are connected. Redefine the Oracle services, that they run under an administrator account (if you are in a domain, use a domain administrator account), see on metalink:

    How to configure RMAN to write about readers shared on Windows NT/2000
    DOC - ID: 145843.1

    Werner

  • RMAN backup with archivelog (advantages/disadvantages)

    When you do a "backup database with archivelogs" where rman stores the info contained in the archive logs. If I do a backup as I have to still keep logs archiving on disk? This increase in time to make backups? I have a few databases of production that are close to 500 GB. Ask yourself what advantages/disadvantages do a backup in this way.

    Thank you all!

    user10784896 wrote:
    When you do a "backup database with archivelogs" where rman stores the info contained in the archive logs.

    Stored information in the archive logs (what you were asking, but probably not what you mean) is stored in archive logs. Backups of these logs are stored in a backup set. Information on newspapers are stored in the control file.

    If I do a backup as I have to still keep logs archiving on disk?

    You supported their top, right? Archivelogs are not actively used by the database running, right? If you don't remove them after that only they are saved, let me know who you buy your storage drive, because I would like to buy stock in that company.

    This increase in time to make backups?

    No matter what you do "increases the time to do' vs do not do something. (More effective SELECT statement is not executed). The question is that it has a concrete and measurable performance degradation which is intolerable to my organization? The answer probably 'no '.

    I have a few databases of production that are close to 500 GB. Ask yourself what advantages/disadvantages do a backup in this way.

    Are the pros, you can recover your database.
    Disadvantages are, you cannot recover your database.

    And it seems that we must point out that the housekeeping of your archivelogs can and should be handled by rman, not outside of it. Watch "archivelog backup not saved n times" and "delete backup archivelog n times" and other variations of 'backup archivelog' and 'delete archivelog.
    >

    Thank you all!

  • RMAN backup with no archivelog mode

    Hi friend

    I made this backup several times before, to save a test database that is not in archivelog mode.
    My procedure are:


    rman target $ /.

    RMAN > run {}
    stop immediately;
    bootable media;
    backup format ' / u02/RMAN/%d_LVL0_%T_%u_s%s_p%p' database;
    remove obsolete;
    }

    But strange, now I have error:
    ORA-19602: no backup or copy of current file in NOARCHIVELOG mode


    Thank you very much

    Hello

    You havnt marked my answer as correct!

    Boyfriend so bad. Joke.

    Kind regards
    Navneet

  • Manuel Standby Database not in harmony with the missing archivelogs

    Hello

    Operating system: Solaris
    DB: Oracle 11.2.0.1 EA
    Do not use RAC or ASM

    I have a Production database which is in archivelog mode and standby server DR.
    The two servers (Prod, standby) have the same structure and exact db name/version.

    We manually scp archive logs and recover them to a database of manual standby via the SQL Scripts "cron". (I.e. the value of automatic recovery on; restore database Eve ;))
    Recently, we got out of sync with our log files and were not applying on the eve. As part of the maintenance of the Prod, these log files have been removed and are no longer available.
    I tried several ways to 'rebuild' our database awaiting. I tried to prod Shutdown, backup all files db and scp sleep them, recreate standby controlfile and startup mount and recover the.
    Whenever I try to apply a new journal archive via recover Eve, here are the errors:

    ORA-00279: change 211077622 September at 27/01/2012 12:18:42 necessary to screw 1
    ORA-00289: suggestion: /oradump/arch/PROD/PROD_arch_1_69486_736618850.arc
    ORA-00280: change 211077622 thread 1 is in sequence #69486


    ORA-00308: cannot open archived log ' / oradump/arch/PROD/PROD_arch_1_69486_736618850.arc'
    ORA-27037: unable to get file status
    SVR4 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-01152: 1 no file has been restored from a sufficiently old backup
    ORA-01110: data file 1: ' / oradevices/PROD/oraPRODsystem1.dbf'

    When I check v$ log_history, new newspapers have not been implemented.
    I also tried the method 'Restore from incremental backup via YVERT' with the same results.

    Is there a way to re - create own forward and ensure that the chain of the newspaper which is now defective gets fixed or reset?
    Finally, I would get DataGuard here, but this isn't the case at the moment.
    Thanks for your suggestions.

    -Dav

    If you use the backup to cold to create the database pending, check whether you have followed these steps.

    1. Remove
    all the data files and the database pending controlfiles.

    2. create a new controlfile eve of production to standby by using the following command
    "change the database create controlfile as 'Location'"; "."

    3. move the controlfile back to the location of the server database of such relief as specified in the initialization parameter file.

    4. replace its appropriate place that was taken through cold backup all data files.

    5 startup nomount

    6 change the mounting base pending;

    7 restore database pending.
    CPS archives newspapers sequence which is posed by the database of the production.

    You can try these steps.

  • backup rman Exadata with zfs

    Our company has recently decided to start backup rman ZFS instead of regular tape backup.

    I would like to know what is the right measures to check if ITS configured right device of ZFS, the implementation of rman backups, etc.

    I'd appreciate someone here can point me to the right document.  I read ZFS Q and A and backup using ZFS best practices. All very unclear and seems none of them provide a digital step step.

    I wonder if Oracle provides an instruction step by step for the DBA.

    9233598-

    Q documents & you examined include the "Oracle ZFS storage pool: FAQ: Exadata RMAN backup with Oracle ZFS Storage Appliance (Doc ID 1354980.1)" Note? This note has a lot of information and is updated regularly and includes information about configuring ZFS and RMAN backups to the device of ZFS.

    Some useful books of whites, an I have used in the past and has been updated again last year: Oracle Exadata with the Sun ZFS Storage Appliance protection: best practices in Configuration and backup and recovery Performance and best practices using Sun ZFS Storage Appliance with Oracle Exadata Database Machine

    These documents will in many details - including providing examples of scripts.

    HTH.

    Thank you

    Kasey

  • How to create the new database with rman backup

    Hello
    I took an rman backup with nocatelog. can I make a new database with the rman backup.
    If so, how? I m using oracle 9i.


    thxs

    If it is useful, see the following:

    http://www.shutdownabort.com/QuickGuides/clone_rman.php

  • How to restore RMAN backups

    Hello

    I tried to include works of RMAN Oracle 12 c

    If I use the following command, I should have the backuppiece and the archivelog saved in a folder:

    RMAN > BACKUP database DATA PLUS ARCHIVELOG;

    If I ran this command in 4 different days, which I ended up having 4 folders with different inside files

    I guess that, in these files, I have the data files and the archivelogs

    Now I move these folders to tape, re-cutting the backups and delete expired

    Say that in a month, I need one of these backups if I put a band records and I added start with 'c:\path_of _restored_folder _L', so I added all files in the folder that I restored from tape

    Now, if I try to restore the basis of all is well but when I run the recover, it is missing some archiving logs it says

    If I put all the files for 4 days then he finds the archivelog she needs and pick up without problem

    on this basis I understand that in the folder containing a backuppiece of a specific day there is the newspaper of archive that I needed to recover from the DB, is that true? How can I know if the backups folder I need to replace in order to have all the required log archiving?

    At the moment my DB retrieves only if I handed out the Ribbon last backup folder, if I handed out the previous, it restores, but is not recover

    Also I have this configuration of the oracle recovery 3 days window maintains backups in order to be able to restore and recover the last 3 days and he simply deletes all obsolete if the FRA is full

    I tried earlier to set up the window of 3 days as a test recovery

    I ran a few backups and after that I ran the 5th FRA leak out of space and the backup fails

    I expect rman to remove the old backup and make way for a new that I have 5 backuppiece and the FRA is full, why he not do?

    Thank you

    The default behavior of RECOVER is to make a full recovery - right until the transactions today.  So it must all archivelogs.

    If you want to restore and recover to a point in time, use the SET clause to THAT specify a sequence of the newspaper or time or SNA.  Oracle will then not get beyond that point in time - that is to say he will not seek further archiving logs.

    (Ideally, when you restore an old backup, I also begins to restore the old controlfile, then using this controlfile).

    If you use the FRA in this way

    a. set db_recovery_file_dest_size and db_recovery_file_dest

    b. * not * used a FORMAT clause in the BACKUP command

    Oracle will recognize all backups in the FRA (you can check by querying V$ FLASH_RECOVERY_AREA_USAGE before and after the backup).

    In this case, Oracle can and will automatically purge outdated backups - that is to say any backup older than the retention period, provided that there is at least a L0 or backup complete closest to the retention period.  You should see messages to this effect in the alert of the instance database log file.

    Hemant K Collette

  • Cold backup with online redo logs

    I'm working on 10G in AIX for a single instance
    It's just a general db backup & restore issue, but I have something confused.

    I'll take a cold backup with my database ARCHIVELOG.
    No wonder why make a backup of cold because it's a test database that can suffer from loss of data and the time during backup.
    I read some guides. They all mentioned to back up all the data files and control files.
    When restoring I copy all saved data files and control files to the default location.
    Then mount boot;
    Is the last step before opening the database recover database until cancel;
    For the acknowledgement, I do the database recovery command, because again the online newspapers were not saved, so we must recover in order to reset the redo logs.
    For my question, I would be in a position of order recovery of database, then directly the database starts, if I backed up online redo logs and copy the default location when restoring?
    However, I have read a lot of documents that mentions that it is not proposed to backup online redo logs. Is it simply the case that ONLY applied in the backup hot? Do you think all that for my case, cold backup online redo logs is recommended?

    Thank you all

    Hello

    read the response of Hemant ==> Re: restoration of noarchive

    Anand

  • trap State of RMAN backup log file.

    Database: 10.2.0.2 enterprize edition
    Operating system: SUN solaris 5.10

    We will perform backups RMAN, level 0 weekend and incremental backups of level 2 and level 1 week. We will continually monitor the log through a HPOV tool file. This tool will send errors in the log file to the HPSMH ticket management tool.

    Now my concern is that we get several alerts every time that a channel failure and the canal failed is running with the other channel. Now, we want to check the overall backup status, if it is successful or not by checking the newspaper at a time.

    Please give me any suggestion to overcome this obstacle. We execute the RMAN backup with shell scripts and output will be appended to the log file.

    TIA

    The RMAN return code is returned by the RMAN executable: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmtroub.htm#i1006541.

  • archivelogs with RMAN backup

    Hello.

    Version of the database is 11.2.0.4

    I implement RMAN. I'm setting up FRA and I have a general question.

    I understand that the DB_RECOVERY_FILE_DEST is necessary for FRA - this is where the logs archive saved will be stored?

    The location of archive records however (which must be separated from the FRA) - this still can be set according to the LOG_ARCHIVE_DEST parameter?

    Thank you

    DA.

    What I managed to do runs than incremental backups with block change tracking.

    It was surprising speed backups then connected - 25 minutes to a little more than 1 minute!

  • 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

  • I have some problems to make a backup with RMAN LV0.

    Mi database is Oracle 11gR2U4 and mi OS is Oracle Linux 6.5, is a two-node CCR environment.

    I always do my backups with a personal script and I've never had any problems, but it is the function with the RMAN command.

    function Backup_Level0

    {

    Path_Config

    FileLog = $DIR_BACKUP / $PROVINCIA "_LV0_" $FecTime.log

    FileError = $DIR_BACKUP / $PROVINCIA "_ERROR_LV0_" $FecTime.log

    FileBack=$DIR_BACKUP/$PROVINCIA"_LV0_"%s

    echo $DIR_TERMINAL >/tmp/entry

    mkdir Pei $DIR_BACKUP

    $ORACLE_HOME/bin/rman LOG = $FileLog < < EOF >/dev/null

    connection TARGET;

    backup as compressed backupset incremental of level 0 format '$FileBack' TAG 'RMAN_LV0' database includes current controlfile more entered archivelog delete;

    EXPRESSIONS OF FOLKLORE

    }

    It's the log RMAN backup

    channel ORA_DISK_2: from part 2 to 21 August 15

    RMAN-03009: failure of the backup command on the ORA_DISK_2 channel at 21/08/2015-07:00:56

    ORA-19504: cannot create the file ' / salva_rman/BD/190815/BD_LV0_453.

    ORA-27038: created file already exists

    Additional information: 1

    channel ORA_DISK_2 disabled, job failed on it will run on another channel

    channel ORA_DISK_1: starting from compressed backup set incremental level 0 datafile

    channel ORA_DISK_1: specifying datafile (s) in the backup set

    I do not know why this error.

    I appreciate any help!

    Hello

    change:

    "$FileBack" TAG "RMAN_LV0".

    for:

    "$FileBack" TAG "RMAN_LV0" %u

    Please read the doc format rman on oracle:

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28273/rcmsubcl010.htm

Maybe you are looking for