DG advice backup, backup the database ensures 11 GR 2

Hello world

I have a few problems with the way backups are installed in my DG Environment. I searched high and low and not really found an easy answer to how set up your backups DG.

It is said this, another says that. So I ask here in the forum.

What is the right way to safeguard a DG Environment? Some emissions of debates just do a normal backup on the standby only, another says that you must back up the controlfiles primary as well (this is where my problem begins)

We have recently upgraded a DB 11 GR 1 material in GR 11, 2 and now the old system no longer works. The old plant was on standby and spfile backup + controlfile backup on the primary node. this moment fails with an invalid sequence of function calls ANU2614E to the Protection of data for Oracle (tape backup)

This particular error occurs when I run a backup controlfile on the primary before the backup on the previous day. If I jump the backup controlfile on the primary, standby backup properly, including the controlfile + spfile.

There is also an obsolete script delete running in each script (controlfile backup etc.), could also questions cause I guess. But it worked well in 11 GR 1 material.

So I'm tender hand, trying to find the right way of backup, everyone says different.

Sincerely

Johnny

What is the right way to safeguard a DG Environment?

Support of primary or secondary is more correct than the other.

You can use a backup made on the previous day in order to restore and recover a database and vice versa.

Data files, control files and archive backups are interchangeable in a Data Guard environment.

Where you backup should depend on the load. If the primary can handle the load without causing a problem with ALS then I would backup here.

The main things I'd do with Data Guard RMAN are as follows:

Select the block change tracking.

Always use the auto backup.

Always use an FIU.

Keep Flashback Database.

And always put this on the primary (CONFIGURE ARCHIVELOG DELETION POLICY to APPLIED on all THE previous DAY ;))

Sequence ANU2614E invalid.

Strange, if you use a third-party software with RMAN I could check this:

RMAN fails ORA-19511 ANU2614E invalid sequence of function calls to the Protection of data for Oracle (Doc ID 1300134.1)

Otherwise, I opened a support ticket as soon as POSSIBLE.

Best regards

mseberg

Tags: Database

Similar Questions

  • Backup the database with archiving logs lost

    How can I get a backup of the database when all archive logs have been lost?

    So, it looks that you use RMAN to back up, since all the archivelog went. You can do

    RMAN> crosscheck archivelog all;
    
    RMAN> delete archivelog all;
    

    then make a backup.

  • Give advice about uninstalling the database Client Oracle under Windows with multiple Oracle homes

    Hi all.

    Probably a Client of Oracle database uninstall will arrive in a Windows box, where there are several houses of Oracle:

    (1) the Oracle Database 11 g Client is.

    (2) the House of Oracle Oracle database server.

    (3) oracle 6i Oracle Home.

    I have these concerns:

    (1) do I stop Oracle Services NOT related to the Oracle Home being deleted? I guess that's not necessary, but it is recommended?

    (2) the YES program to run must be or is better to use the YES program located at removed Oracle (Oracle Client to Database 11 g in this situation)?

    "(3) I see there are additional post - installation according to section 5.3 steps"manually remove the Oracle database Client components remaining' the Oracle Client Installation Guide for Windows.

    Could someone provide the additional steps or recommendations?

    Sorry but I do not trust the windows plataform much!

    Thanks in advance!

    Best regards, Luis!

    Hello myluism,

    You can use the oracle supplied binary dinstall to uninstall oracle binaries that you can download from this url of Oracle Database 11 g Release 2 for Microsoft Windows (x 64) that looks good in your context.

    In addition, you can also uninstall the binary files by running the dinstall respecitive houses Oracle located in the path: ORACLE_HOME\dinstall.

    Please go through the url: https://docs.oracle.com/cd/E11882_01/install.112/e47959/deinstall.htm#NTCLI1326

    I hope this helps.

    Thank you and best regards.

  • 10.2.0.4 patch on the database ensure single instance

    Hi all

    We have a production base 10.2.0.3 running with CARS having 2 nodes on Solaris 10. We have fixed this
    databases for 10.2.0.4 (two nodes) on production without any problem.

    We have a database of physical standby (10.2.0.3) with 2 nodes on solaris 10. But we stopped node2 sometimes
    back and currently is a database of pending of the single instance. New whe trying to apply the patch to frame watch
    It shows that the two nodes during installation and the installation fails when he tries to look for node2.

    What is the solution for this problem? Any document on how patch on the day before the only instance of database when
    the production runs in the CARS.

    I think you're basically saying that you have a 2 RAC cluster with node 1 down (possibly permanently) and you want to just patch 1 nodes?

    It's not too surprising the installer is by train to connect the other node when in your inventory is you have a 2 cluster nodes.

    Have you tried to run the installer with the option - local?

    This should just patch your local node. Of course the dictionary changes will be applied through MRP from the primary database.

    Jason.

    --
    http://jarneil.WordPress.com

  • RMAN backup not producing do not backup the files/size

    Hi Experts.

    I have a shell script at the request of backup the database every day. Every day, it works well, but he was hanged, so we have erased its PID and run the script manually but it doesn't produce any file backup now. I see no error in the backup log file.

    Could you please say what could be the reason of it?

    Thank you

    -RAJ

    If you see the SID of the RMAN session session $ v, check the output of the use of v$ rman_output

    Select exit
    v $ RMAN_OUTPUT
    where sid =<>

  • The problem with SQL after the migration of the database to another machine

    Having a SQL strange problem trying to extract a database being moved from one machine to the other.  Both machines are running SQL 2008 32-bit and are both Windows 2008 servers.  When I try to backup the database using the SQL tools and restore the. BAK file on the new SQL Server, I get the following error:

    Restore failed for server 'servername' (Microsoft.SqlServer.Smo)
    Additional information:
    System.Data.SqlClient.SqlError: RESTORE detected an error on the page (44:2097184) in database 'RestoreDBName' read from the backup set.

    Similarly, when I am trying to copy the. MDF and. LDF files to the new server and tie them, I get the following error:

    Attach the database failed for the server 'servername '.
    Additional information:
    An exception occurred during the execution of a Transact-SQL statement or batch.
    A system assertion failed.  An assertion failure is usually caused by a corruption of data or software bug.  To check the database, consider running DBCC CHECKDB.  If you have agreed to send images to Microsoft during installation, a mini dump will be sent to Microsoft.  An update can be an available from Microsoft in the latest Service Pack or a QFE from Technical Support.
    Could not open new database 'NewDatabaseName' create a DATABASE is dropped.
    "" Location: "logmgr.cpp": 3277
    Expression: lfh-> lfh_startOffset is startOffset
    SPID:55
    PID: 292876 (Microsoft SQL Server, error: 3624)

    Everything I've read, these errors usually indicate some sort of database corruption.  However when I run DBCC CHECKDB on the database on the source server, it is up to perfectly don't own... None detected corruption.  In fact, this server hosts 8 different databases.  Departure from all the correct DB on the source server, none of them will restore however to a new server using one of the methods above.  I'm having a hard time to believe that each of them could be corrupted when they show absolutely no indication of a problem.

    Anyone have any ideas?

    Try to make the backup and restore via SQLCMD (or via a query in SQL Server MS window).

    The backup will be the following (obviously, change "MaBase" and "D:\BACKUPS" to some database and the location you wish to save - just using for example):

    BACKUP DATABASE MyDatabase

    TO DISK = 'D:\BACKUPS\MyDatabase.bak. '

    WITH NOFORMAT, NOINIT,.

    NAME = 'Database MyDatabase - Full Backup',

    NOREWIND, NOUNLOAD, STATS = 10, SKIP

    Copy your backup to the other server and file make:

    RESTORE the DATABASE to MyDatabase

    FROM DISK = 'E:\Backups\MyDatabase.bak' WITH FILE = 1,

    GO to "MyDatabase_Data" to "E:\SQLDATA\MyDatabase_Data.mdf,"

    GO to "MyDatabase_Log" to "E:\SQLLOG\MyDatabase_Data.ldf,"

    NOUNLOAD, STATS = 10 REPLACE

    Again, change your names and locations in function.

    If this does not work, try to restore a database by third-party tools. You can find them in Google. If you don't want to spend the time to research, you can try a tool SQL Server Recovery Toolbox. All the details about this program on the link. http://www.oemailrecovery.com/sql_repair.html

  • Cannot open the database from backup

    Hello

    I use Oracle Database 10 g on Lunix and have a physical database ensures.

    I was check on the primary it shows

    Primary

    SQL > archive logs list;
    Database log mode Archive Mode
    Active AutoArchive
    Archive destination /database/oraapps/PROD/db/tech_st/10.2.0/dbs/arch
    More old sequence of journal online 568
    Log sequence archive 569
    Current log sequence 569


    Sleep mode


    SQL > list of archive logs
    Database log mode Archive Mode
    Active AutoArchive
    Archive destination /database/oraapps/PROD/db/tech_st/10.2.0/dbs/arch
    More old sequence of journal online 568
    Log sequence to archive 0
    Current log sequence 569

    Whenever I run

    alter system switch logfile, that is happening, but when I try to open the database of Eve I get error like below;

    SQL > ALTER DATABASE OPEN;
    ALTER DATABASE OPEN
    *+
    ERROR on line 1:
    ORA-16004: backup database requires recovery
    ORA-01152: 1 no file has been restored from a sufficiently old backup
    ORA-01110: data file 1: ' / database/oraapps/PROD/db/apps_st/dddd/system01.dbf'

    Please advice.

    Thank you.

    Published by: user8676543 on October 16, 2012 03:55

    recreate your Eve yet once, you did something wrong in creation.

    http://oracleinstance.blogspot.com/2010/01/step-by-step-document-for-creating.html

  • 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

  • Duplicate the database and incremental backups

    Hello

    I reviewing options to maintain a test server that is "relatively" updated compared to the production server.
    This is my first contact with RMAN and I went through the books, but as I have not had a chance to play with it I could have missed something.

    It is an Oracle devoted to a Redhat Enterprise Linux (not sure of the complete version number) 11.2.

    The test server must be writable and must be synchronized with the server in production about once or twice a month. Due to the size of the database (~ 600 GB) we are studying solutions that could make using incremental backups that are already taken on the production database.

    While launching the test using RMAN DUPLICATE server seems to be honest, I'm not sure how the "sync" can be done as effectively as possible - especially because we are changing the data on the test server.

    After the RMAN BACK command description, is not clear to me if this could serve to 'recover' the database of test based on the incremental backups to the 'current state' of the production database, even if the test database has been changed. After reading a few posts here, it's not seems to be the case.

    A restore point would make such a possible incremental restore? Creating a (name?) point of restoration immediately after duplication, and once the tests are finished making back to the restore point and then apply the incremental backups that have accumulated since then.


    Another of the options seems to be to create a database of the previous day. Then when running the tests, we turn to the backup database in one instantaneous standby database open read/write and run tests. Once we have finished, we he switch back to a physical standby. This switchback to rewind the changes and recovery logs accumulated are applied as "incremental" catching up with production - which is basically what we want.

    Is there another solution to this? Or use a watch of the snapshot, the most effective solution? If possible, we would like to avoid transferring the 600GB whenever we want to re - synchronize the database to test.

    Thanks in advance
    Thomas

    Hi Tomas. I think you're right. Ensures the most effective solution in your situation of snapshot.

  • I'm unable to take backup of database MS SQL clustered, while it uses in the live production server.

    Hi all

    I use my database cluster for my running app that sits on MS SQL.

    who uses many users both on the live production by many users at a time server.

    BUT I'm unable to perform an online backup of database and offline backup, I can't take as it uses on the live production server

    If anyone can help me for you even

    Thanking you

    Concerning

    Tarun Kaushik

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Windows SQL Server Forums.

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

  • RMAN backup on the database with data file with corrupted block

    Hi friends,

    I have a problem with a database of oracle 11g XE on windows server 2003, the database is in production, it is open, is operating normally.

    The database has no backup configured before, so I put the database archiving mode and tried to backup using rman utility, but it show me some errors.

    First of all, it showed me:

    ORA-19501: error in reading file... SYSAUX. DBF

    ORA-27070: async read/write failed

    OSD-04016: error queuing an asynchronous i/o request.

    And when I passed the dbv on the SYSAUX file utility. DBF showed the fatal error.

    So, I switched CHKDSK utility on windows to repair the disc of the error. After that, run utility dbv and he passed and showed me the corrupt on SYSAUX blocks. DBF

    Then, came to rman and ran:

    RMAN > validate the logical database checking;

    State of the file marked corrupt blocks examined empty blocks high YVERT

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

    3 0 1111 115840 78859075 FAILED

    File name: C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

    Type block for lack of treated blocks blocks

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

    Data 0 0

    Index 0 0

    Other 38 114729

    After that: watching the content of v$ database_block_corruption;

    Show me a lot of lines like this:

    SQL > select * from v$ database_block_corruption;

    FOLDER # BLOCK # BLOCKS CORRUPTION_CHANGE # CORRUPTIO

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

    3 4440 1 FRACTURED 0

    3 4439 1 0 ZERO ALL THE

    3 4386 2 FRACTURED 0

    3 4384 1 0 ZERO ALL THE

    3 4334 1 0 ZERO ALL THE

    ...

    33 selected lines.

    Finally I try to rerun rman and he shows me the error:

    ORA-19566: exceeded the limit of 0 blocks corrupt file C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

    How can I do backup with rman? Maybe I can by pass the corrupt block?

    I'll be grateful for any help you can provide.


    =)

    It would be better if you try to find the reason of corruption and try to recover the corrupt blocks. A block corrupted in the backup would really not must use. But if you're ready to take backup, you can ask RMAN to ignore corrupt blocks and move forward.

    Use the pseudo-code for the backup

    Run {set maxcorrupte for the database to 10;

    backup tablespace sysaux ;}

    HTH

    Aman...

  • 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

  • RMAN takes longer than usual to the database backup cars.

    Hi all

    I have a database of CARS 2 nodes (11.2.0.3) using ASM on OUL5x64 (DB1/DB2) the backup script was running on DB2 for the past 3 years without problem.

    backup with compress is 80 GB Sunday.

    level Inc 1 day = 20 to 30 GB)

    I just added 2 other nodes to this CAR, now there DB1, DB2, DB3, DB4

    moved the backup to DB4 script and set up all of the environments for this work.

    The first 2 days, it did increase normal level 1 backup around time (20-30 GB) between (1 h 30 min)

    but on Thursday which is always increase of LEVEL 1, it took 8 hours to do the job.  and when checking the size

    the backup, the size was 255 GB level 1 (s/n 20/30 GB) and today it did the same.

    Please give suggestions as why backup is so huge.

    Thank you.

    Here's the script.

    RMAN target / < < EOF

    echo setting

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / u02/%F';

    Run {}

    allocate channels d1 type disk maxpiecesize 5 g;

    allocate channels d2 type disk maxpiecesize 5 g;

    Compressed backupset backup

    format ' / d01/pr1/pr1_%s_%t_%p.dbf'

    extra strength 1 cumulative

    Skip inaccessible

    tag hot_db_bk_level1

    filesperset 4

    (data include current controlfile);

    # sql 'alter system archive log current';

    #Backup all archive logs

    Compressed backupset backup

    format ' / d01/pr1/pr0_%s_%t_%p.arc'

    Ark of the tag

    filesperset 4

    (archivelog all delete all entries).

    }

    Hi all

    After you resolve the problem, the support of Oracle pointed out that

    I hit the limit in this note:

    How many incremental backups can be taken when the OWA is enabled? ( Doc ID 452455.1 )

    the default value

    _bct_bitmaps_per_file = 8

    in my case, I ran more than 8 times in the week. sous-séquence then run don't use BTC (block_change_tracking)

    After running a backup full again, backup works like it suppose to.

    Thanks for the replies.

    Kind regards

  • doubts in the database using backup controlfile recovery.

    Hi gurus,

    I have a doubt in database recovery using backup controlfile.

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

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

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

    Thanks in advance

    Mahi

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

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

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

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

    It's just the way Oracle has been implemented.

  • How Controlfile SNA remain synchronized after moving the database with the cold backup

    Hello DBAs,

    I doubt that:

    Every time you pass a cold backup database. We create a new controlfile with new locations of data/redologs etc.

    And then we execute "create controlfile reuse...". noresetlogs...; "to create the controlfile.

    After that, we will open the database as > > alter database open;

    Now the question is:

    We are able to open the database without clause "resetlogs.

    Here, we create a new controlfile so SNA to controlfile will not be synchronized with the SCN of the datafile and redo the file.

    Please let me know how the new controlfiles' SNA is synchronized with the data file and redofile and wea are able to open the database without resetlogs clause.

    Oracle: 11.2.0.4

    OS: Linux

    If your cold backup also includes online redo logs, a RESETLOGS is not necessary.

    The controlfile is created if it does not have a SNA, it reads the data file headers the YVERT database. For a cold backup, all the headers of data file are consistent.  (This is also the reason why a RECOVERY is not required).

    Hemant K Collette

Maybe you are looking for