Database backup RMAN with Veritas NetBackup catalog

Hello

How can I use Veritas NetBackup to backup my database of catalog RMAN? I need to stop this catalog DB in order to save it. How can I plan with NetBackup?

Thanks in advance.

qtpham

Hello

Normally, the catalog database backup is currently off cause is very small database and may remain unavailable for a few minutes. In my company, we use netbackup.
Try to schedule an offline backup of the database via the Netbackup graphical interface, it will generate RMAN scripts bpstart_notify. YOUR_POLICY_NAME and bpend_notify. YOUR_POLICY_NAME under/usr/openv/netbackup/bin/if you use SOLARIS.

Kind regards

Rodrigo Mufalani
http://mufalani.blogspot.com

Tags: Database

Similar Questions

  • backup RMAN with damaged block

    Hello

    First-, I have problem on non-production 11.2.0.1.0 database, so I'm not deeply concerned about data. But I need to understand what happened with database backups and how to prevent these things in the future.
    So - I have backup complete regular weekly EM and daily incremental backups. Later, he had problem with equipment and some blocks corrupted database found. The weekly backup ran without error and obsolete backups have been removed. Now, it is not possible to 'retrieve the list of corruption' because there is no backup without the corruption (RMAN-06023: no backup or copy of the data file 6 found to restore). I'm not worried about the loss of data, but I need to know how is the backup contains the corrupt blocks.

    I checked the data file using utility dbv
    DBVERIFY - Verification starting : FILE = /opt/oracle/oradata/orcl/users03.dbf
    
    DBV-00200: Block, DBA 27525766, already marked corrupt
    csc(0x0001.7b01729f) higher than block scn(0x0000.00000000)
    Page 2359942 failed with check code 6054
    
    
    DBVERIFY - Verification complete
    
    Total Pages Examined         : 3840000
    Total Pages Processed (Data) : 453896
    Total Pages Failing   (Data) : 1
    Total Pages Processed (Index): 2959104
    Total Pages Failing   (Index): 0
    Total Pages Processed (Other): 424025
    Total Pages Processed (Seg)  : 0
    Total Pages Failing   (Seg)  : 0
    Total Pages Empty            : 2975
    Total Pages Marked Corrupt   : 1
    Total Pages Influx           : 0
    Total Pages Encrypted        : 0
    Highest block SCN            : 2156227446 (1.2156227446)
    As you can see the data file 6 - user03.dbf contains errors. Also the backups now contain errors.

    (1) so how is it possible that the scheduled backup EM took place without problems and now the backup contains corrupted blocks. How to avoid this in the future? I know there is MAXCORRUPT setting. How can I check its current value? How can I configure using backups EM on-demand?

    (2) Secondly, at the same time, I studied the RMAN commands. So I have suspended the work of backup EM and run follwing command. And backup represented without error. How is this possible, if the data in the file users06.dbf is corrupted block?


    Thank you!
    RMAN> run {
     set MAXCORRUPT for datafile 6 to 0;
     backup as compressed backupset datafile 6;
     }
    2> 3> 4>
    executing command: SET MAX CORRUPT
    
    Starting backup at 07-NOV-12
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    using channel ORA_DISK_5
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00006 name=/opt/oracle/oradata/orcl/users03.dbf
    channel ORA_DISK_1: starting piece 1 at 07-NOV-12
    channel ORA_DISK_1: finished piece 1 at 07-NOV-12
    piece handle=/opt/oraBackup/rman/nrnpo0sg_1_1 tag=TAG20121107T200120 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 01:13:05
    Finished backup at 07-NOV-12
    
    Starting Control File and SPFILE Autobackup at 07-NOV-12
    piece handle=/opt/oraBackup/rman/c-1253245572-20121107-03 comment=NONE
    Finished Control File and SPFILE Autobackup at 07-NOV-12

    OK, sounds good, do not hesitate to open a TAR because bedbugs are not all public...

    Keep us in the loop.

    Good bye.

  • Understanding of database backup RMAN

    Hello
    Previously a TA Guy left me with this code.

    #! / bin/bash - x
    #
    #
    #
    =======================================================================
    ORACLE_SID = IMAGINABLE; export ORACLE_SID
    Log_file=/U03/backup/Oracle/$ORACLE_SID/backup_$ORACLE_SID.log

    Target of $ORACLE_HOME/bin/rman / < < EOF
    JOURNAL of the COIL to $log_file
    SQL 'alter system archive log current;
    SQL 'alter system archive log current;
    BACKUP DATABASE;
    SQL 'alter system archive log current;
    SQL 'alter system archive log current;
    COIL DISCONNECTION;
    quit smoking;
    EXPRESSIONS OF FOLKLORE

    / usr/bin/compress/u03/backup/oracle / $ ORACLE_SID / * backup
    ==============================================

    Its supposed to make a backup, while the DB is a high and open based on the backup of oracle documentation database
    [http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmbckba.htm#g1050005 | http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmbckba.htm#g1050005]
    Using the Backup Database command, what is backup and what is not? Also, if the next time that the script comes new RMAN will recreate a different physical file to save the dbf, redo log, etc. n of the command file or it will reuse the existing file previously created by RMAN?

    Published by: Joey Tan on 10 June 2012 21:27

    Hello

    Using the Backup Database command, what is backup and what is not? Also, if the next time that the script comes new RMAN will recreate a different physical file to save the dbf, redo log, etc. n of the command file or it will reuse the existing file previously created by RMAN?

    Rman backup data files, the controlfile and the spfile. RMAN backup never backups upward the redo log. Check the show all set of parameters. The backup database command would take full db backup and create new backupsets whenever it is run.

    Anand

  • Standy of database backup and restore help to duplicate a database

    OK, here's my situation. I save my 11.1.0.6 database from the backup server (primary backup not suitable, who ruled out a double asset) using a recovery catalog. My goal is to restore this database under another name called (TEST) on another server using the duplicate database command. My questions are:

    (1) I know that I can save my sleep using RMAN database, but what should I back up the control file and the spfile of the primary database as well?

    (2) I use a recovery catalog (who I am already registered in the primary database only with), I have to save the elements of backup of the backup above with the recovery catalog (or are they already registered since I have connected to the catalog when you take the backup of the standby database?)

    (3) if I need backup upward the primary controlfile, can I manually copy the file to the new server or should I create by issuing a 'backup controlfile to trace' command on the primary database server and re-create it.

    I guess my points of friction would be how to publish the duplicate database command, once I have all the parts. If I'm missing something please let me know. This is a database of 1.5 TB and I only have one (1) time to get this right. Lucky me... Thank you all

    (1) I know that I can save my sleep using RMAN database, but what should I back up the control file and the spfile of the primary database as well?

    * ==> spfile must be static most of the time, so that you can make a copy whenever you make changes and save it to your backup location. In regards to your controlfiles, you can back up the database your intelligence and your backups.* database

    (2) I use a recovery catalog (who I am already registered in the primary database only with), I have to save the elements of backup of the backup above with the recovery catalog (or are they already registered since I have connected to the catalog when you take the backup of the standby database?)

    * ==> Oracle documents Oracle® Data Guard Concepts and Administration 11 g Release 2 (11.2) part number E17022-05 not shows you how this.*

    (3) if I need backup upward the primary controlfile, can I manually copy the file to the new server or should I create by issuing a 'backup controlfile to trace' command on the primary database server and re-create it.
    * ==>, You must also back up your controlfiles of RMAN. Read the Oracle Documentation above

    I guess that my points of friction would be how to publish the duplicate database command, once I have all the parts...

    * ==> There is another Oracle documentation on duplication. Oracle® backup and Guide 11 g Release 2 (11.2) part number E10642-04. * user recovery

  • Full restore of the database of RMAN cross-platform

    All the

    I have a database 10.2.0.3 on Solaris 10 OS.

    I did a full upward (level 0) this database using rman with auto save on. I'm trying to worl on a scenario where I could restore that backup on another linux machine. so I copied all the elements on the target linux server backup. go to a local installation of RDBMS (10.2.0.3) on the linux machine I'm trying to restore the database... but does not yet...

    When I deliver restore spfile or restore the control file a + < backup file name > +; the guest continues search in rear location that responded to the questionnaire didn't tell no piece found backup... Here are the encode stage, I'm...


    1. set up env on the linux server

    2 rman target /.

    (instance not started but rman to connect)

    3 set the DBID = + < ID DB data source running on Solaris > +.

    It run set dbid =

    4 startup nomount

    as the pfile/spfile file is not available in $ORACLE_HOME/dbs on a linux machine picks it up pfile by default however, but the instance stars no Assembly...

    5 restore spfile to ' / u01/app/oracle/product/10.2.0/rman_bkp/c-300009955'

    Here, he is not able to restore any thing.same is the case with the control file.

    Ideas please advice

    Sarat

    Sarat Chandra C wrote:
    Thanks for the referance. Now, I understand that I am not able to use the transportable database command to carry the entire db. However, there is a line in the 'Cross-Platform Database Transportable Restrictions' that says ++ 'main restricting cross-platform transportable database is that the platform of source and destination must share the same endian format. For example, while you can transport a database from Microsoft Windows to Linux for x 86 (the two little endian) or HP - UX, Aix (the two big endian), you may not carry a set of base HP_UX to Linux for x 86 using this feature. You can, however, create a new database on a destination manually, and necessary transport of tablespaces of the source database platform using cross-platform transportable tablespace as described in "Cross - Platform Tranportation Tablespace: CONVERT DATAFILE or TABLESPACE. » +

    I understand that if we are willing to carry each tablespace from Source to target individually, may then be able to replicate a transportable database. Fact the transportable tablespace have not all restrictions has obtained from the database of transport compared to the platform and Endian? Please specify.

    Also is there a matrix of support for thr transportable database and tablespaces which we could see?

    Kind regards!
    Sarat

    Sarat,

    The same restriction that is there for the transport of the whole base is quite real for the transportable tablespace as well if you go to the cross-platform. Endian must match across platforms that only you can do otherwise, as the database feature, you must convert the source file to the target-endian.

    If you look at the doc of reference order of unlocking Tablespace
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta063.htm#RCMRF1919

    This restriction is documented here in addition to the other restrictions
    ,
    >
    Restrictions and antonyms

    Limitations on the creation of tablespace portable games described in the Oracle database administrator's Guide apply to transport backup storage spaces, with the exception of accountability read-only storage.

    TRANSPORT TABLESPACE does not format endian conversion. If the target platform has a different endian format, you must use the CONVERT RMAN command to perform the separate step of conversion of data files endian format portable overall.
    >

    HTH
    Aman...

  • 9i database to register with the 10g rman catalog

    I want to know if something prevents a 9i database to record with the catalog rman 10g server?. Any ideas or links to popular docs

    My situation

    target db - 9204
    target rman executable used for backup - 9204
    Catalog RMAN - 10204
    version of RMAN database - 10204
    without auxiliary basis or duplicate at this time.

    Can I now register and start taking backups?

    Published by: user13296481 on August 18, 2010 12:11

    The version of the recovery catalog schema must be greater than or equal to the version of RMAN client.

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

    Version of the catalog RMAN - 10.2.0.2

    Target - 9.2.0.4 database

    You can register now and start the backup.

    Concerning
    Asif Kabir

    Handle: jsampath
    Status level: Beginner
    Join date: July 9, 2010
    Messages total: 3
    Total Questions: * 3 (3 pending) *.

    -Mark your useful post as correct/helpful and close all threads.

  • backup rman design database with phsical ensures

    Hello

    12 c database, after physical expectation is created, I need backup rman configuration,

    The goal is: a) backup of database b) remove archivelogs that have been backed up, free up space FRA.

    Design as below:

    1:

    in RMAN (primary and standby):
    RMAN >
    Configure controlfile autobackup on;
    set the type of backup device type disk compressed backupset;
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;


    2: primary school:
    RMAN > CONFIGURE RETENTION POLICY to the 5 DAY RECOVERY WINDOW;

    3: in priamry, turn on track changes to block

    4: primary, implemented since rman level 0 (full backup) on Sunday.

    5: in the primary, the installation program rman level 1 backup from Monday to Saturday.

    6: primary, set up since rman "save archive backup delete them all obsolete" every hour;

    questions here:

    1. as in step 5, for the protection of the o and delete archivelog, the script using:

    Run {}
    allocate channel d1 type disk;
    SQL 'alter system archive log current';
    overlap archivelog all;
    backup AS COMPRESSED BACKUPSET archivelog all delete them all input;
    output channel d1;
    }

    I wonder if ' archivelog all delete all entries "will delete archivelog which was not taken on the eve of the database and broken standby database

    (hanging and out-of-sync with primary)... it is a concern, is that possible?

    2. If the primary database crashed, failover to standby mode, then restore/recovery primary, switch back to the primary, this design is just? If you have any good suggestions, please let me know.

    (to put it simply, I don't want to full/incremental backup to install standby, primary server CPU is good enough)

    Thank you very much!

    A few brief notes worth a visit:

    Based on Oracle 11 g Data Guard for the backup database and restore

    http://www.databasejournal.com/features/Oracle/article.php/3830766/leveraging-Oracle-11g-Data-Guard-for-database-backup-and-recovery.htm

    Standby database using RMAN

    http://Arup.blogspot.com/2007/07/standby-database-using-RMAN.html

    Best regards

    mseberg

  • The RMAN catalog database backup

    Version: 10.2.0.1.0

    We have created a database to host our RMAN catalog. This catalog contains info backup more RMAN stored scripts for 5 production databases. Now, we have to save this the RMAN catalog database.

    I'm going to use the control as the catalog file (IE. NOCATALOG) for our the RMAN catalog database. This should be good. Right? Best practices should I follow this topic?

    The catalog database can be saved as a BACKUP when COLD, if not in use for other purposes. Simple and easy backup and restore.

    Otherwise, you can make backups RMAN, but the this backup catalog database Controlfile.

    (You can even take copies to export the schema from the RMAN catalog!)

    Hemant K Collette

    Published by: Hemant K grapple on July 8, 2010 14:45

  • Restoration of RMAN with SBT_TAPE Symantec Netbackup

    Hey, people! We have batch files to run backup who send a full and differential backups of a database. It works as below:

    RUN {}

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";

    BACKUP

    ADDITIONAL = 0

    FORMAT "% d_ % T_ t % db_full_.

    TAG 'GIA-db-full ".

    DATABASE;

    OUTPUT CHANNEL ch00;

    # Archived backup logs

    SQL 'alter system archive log current';

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";

    BACKUP

    FORMAT "% d_ % T_ t % arch_full_.

    TAG 'GIA-arch-full ".

    ARCHIVELOG

    ALL THE

    REMOVE ALL THE ENTRIES;

    OUTPUT CHANNEL ch00;

    # Backup control files

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    SEND "NB_ORA_CLIENT = corp08, NB_ORA_SID = GEDD, NB_ORA_POLICY = WINDOWS-ORACLE-FULL, NB_ORA_SERV = corp05, NB_ORA_SCHED = per default-Application-Backup";

    BACKUP

    FORMAT "% d_ % T_ t % ctrl_full_.

    TAG 'GEDD-ctrl-full ".

    CURRENT CONTROLFILE;

    OUTPUT CHANNEL ch00;

    ALLOCATE CHANNEL ch00

    TYPE 'SBT_TAPE ';

    OVERLAP ARCHIVELOG ALL;

    OUTPUT CHANNEL ch00;

    }

    We use Symantec Netbackup software to support us on leave, the backup files to SBT_TAPE.

    The incident occurs when I try to restore a tablespace, for example.

    When I run a restore below procedure:

    RMAN > RUN {

    ALLOCATE CHANNEL ch00 TYPE SBT_TAPE SEND 'NB_ORA_CLIENT = corp08';

    recover the tablespace "T_CCEL_DAT_01", "T_CCEL_IND_01" until "to_date ('2014-06-23 08:00 ',' ' YYYY-MM-DD HH24:MI:SS)" auxiliary destination "D:\". » ;

    }

    The procedure allocates a ch00 channel, which triggers the work, find a revovery catalog but the Holy following error at the end:

    channel alocado: ch00

    channel ch00: SID = 66 = SBT_TAPE device type

    channel ch00: Veritas NetBackup for Oracle - version 7.6 (20131113)

    Iniciando recover em 24/07/14

    RMAN-05026: ADVERTENCIA: implies - is o conjunto tablespaces has seguir is applied a um ponto specific no tempo

    Espera - is a list of tablespaces have segmentos CANCEL

    SYSTEM tablespace

    Tablespace UNDOTBS1

    Preencher uma instance automatica, com SID = 'sfgw'

    inicializacao para instance automatica free time:

    db_name = ORACLE02

    db_unique_name = sfgw_tspitr_ORACLE02

    compatible = 11.2.0.0.0

    DB_BLOCK_SIZE = 8192

    DB_FILES = 500

    SGA_TARGET = 280M

    process = 50

    db_create_file_dest = D:------.

    Log_archive_dest_1 =' location = d.: \'

    Auxiliary parameter file #No used

    inicializando instance automatica ORACLE02

    Instance Oracle iniciada

    Total da Area Global Sistema 292278272 bytes

    Bytes of size 2254584 fixed

    104859912 variable size bytes

    180355072 of database buffers bytes

    Redo buffers 4808704 bytes

    Instance automatica criada

    List of tablespaces that were banco dados destino sistematicamente:

    Tablespace T_CCEL_DAT_01

    Tablespace T_CCEL_IND_01

    conteudo Memoria of Script:

    {

    # the requested value point in time

    until ' to_date ('2014-06-23 08:00 ',' YYYY-MM-DD HH24:MI:SS') ";

    # restore the controlfile

    Restore clone controlfile;

    # mount the controlfile

    SQL clone "alter database database mount clone";

    Current online journal archive #.

    SQL 'alter system archive log current';

    # avoid needless save structural changes during the TSPITR

    SQL ' start dbms_backup_restore. AutoBackupFlag (FALSE); end;';

    }

    Executando Script de Memoria

    Comando executando: SET until clause

    Iniciando restoration em 24/07/14

    Removendo instance automatica

    desativando instance automatica

    Oracle instance Encerramento

    Instance automatica removida

    channel released: ch00

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: falha comando recover em 24/07/2014 08:59:41

    RMAN-03015: erro ocorrido no armazenado memory Script script

    RMAN-06034: at least 1 channel must be distributed to run this command

    I study and I can not find a conclusion as to the error. Is there someone to help me with this?

    Kind regards

    André Luis

    I found the error: we put the channel as Symantec on Allocate environment variables below.

    RUN {}

    ALLOCATE CHANNEL ch00 TYPE SBT_TAPE SEND 'NB_ORA_CLIENT = corp0814';

    Restore tablespace t_outorgas_dat_01 until TIME ' TO_DATE ('2014-07-24 02:50 ',' ' YYYY-MM-DD HH24:MI:SS) "validate;

    }

  • 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

  • How to create the file controlf from scratch when there is no backup rman, catalog, or trace.

    Hello

    I am a beginner, I know that we can restore with RMAN control file configure automatic backup feature or by connecting the catalog

    charge the Alter database backup controlfile to trace.

    But suppose that there is no backup. You have the database running in nomount. I came across a blog which was responsible for creating the control file manually and when there is no planned block number error came, the blogger has used the forumale something as expected number of block * 1024 / something. Lost the link to this blog

    was wondering is it possible to create a controlfile from scratch. with little information as the location of the data file, repeat the log size / location.

    Please can someone let me know it in detail or shoot me this link!

    Thank you

    2638616 wrote:

    Hello

    I am a beginner, I know that we can restore with RMAN control file configure automatic backup feature or by connecting the catalog

    charge the Alter database backup controlfile to trace.

    But suppose that there is no backup. You have the database running in nomount. I came across a blog which was responsible for creating the control file manually and when there is no planned block number error came, the blogger has used the forumale something as expected number of block * 1024 / something. Lost the link to this blog

    was wondering is it possible to create a controlfile from scratch. with little information as the location of the data file, repeat the log size / location.

    Please can someone let me know it in detail or shoot me this link!

    Thank you

    1. Yes, you can do this

    2 Controlfile script is standard... link doc oracle: http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5003.htm

    3. prepare with the location of the data files and of redologs online then create it.

    Note - If you have placed the name of the different database, then, it will check with datafile and it give error (if you need correct the name of the database)

    As you have not indicated whether or not the last stop of database is compatible (we assume that there are his uniform and mandatory ORL and archives)

    -Pavan Kumar N

  • tape backup fail with RMAN-03002 RMAN-20201 and RMAN-06010

    Hello

    My level 0 backup failed over the weekend and I don't understand why. I know I have four data corruption with files, so I put the MAXCORRUPT to 5 for these specific files so the continuous backup to work. This script has completed successfully in the past, and the structure of the database has not changed since the last backup of level 0 has been taken using this script. Here's what I see in my log file that displays the RMAN script, I used to run the backup and the following error messages:

    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Apr 18 00:05:24 2009

    RMAN > Connect target *.
    2 > run {}
    3 > allocate channel oem_sbt_backup1 type 'SBT_TAPE' format 'SDE_L0_ % %%U s_ t_ ";
    4 > allocate channel oem_sbt_backup2 type 'SBT_TAPE' format 'SDE_L0_ % %%U s_ t_ ";
    5 > the file VALUE of DATA MAXCORRUPT for 112,28,61,43 to 5;
    6 > database backup incremental level 0 filesperset 1;
    7 > archivelog backup all the format "%%U t_ SDE_ARCLOG_" remove entry;
    8 > delete noprompt obsolete recovery window 14 days device type 'SBT_TAPE ';
    9 > output channel oem_sbt_backup1;
    10 > output channel oem_sbt_backup2;
    11 > assign the channel oem_disk_backup1 type disc format ' / u01/app/oracle/controlfilebackups/cf_SDE_%t_%s_%U';
    12 > backup current controlfile;
    13 > output channel oem_disk_backup1;
    {14 >}
    15 >
    connected to target database: MYDATABASENAME (DBID = <>#)
    using the control file of the target instead of recovery catalog database

    allocated channel: oem_sbt_backup1
    channel oem_sbt_backup1: sid = 108 devtype = SBT_TAPE
    channel oem_sbt_backup1: NMO v5.0.0.0
    command sent on channel: oem_sbt_backup1

    allocated channel: oem_sbt_backup2
    channel oem_sbt_backup2: sid = 159 devtype = SBT_TAPE
    channel oem_sbt_backup2: NMO v5.0.0.0
    command sent on channel: oem_sbt_backup2

    executing command: SET MAX CORRUPT
    output channel: oem_sbt_backup1
    output channel: oem_sbt_backup2
    RMAN-00571: ======================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ======================================================
    RMAN-03002: failure of the command set to 18/04/2009 00:05:36
    RMAN-20201: datafile not found in the recovery catalog
    RMAN-06010: error while looking upward of datafile: 112

    DataFile 112 exist?

    See the notes 197932.1 on MOS.

  • Firewall rules RMAN target database and RMAN catalog database

    Hi, we are on Oracle 11.2.0.4 and we just build a new environment, in which case the RMAN catalog is located on a seprate from the target database server. I'm trying to figure if the firewall between these two rules should be two-way, so that the target database and RMAN catalog database can ping each other. If bi-directional rules in place, so what's the reason for this? I understand that during RMAN backup entries are made in the RMAN catalog database, but do not know if the RMAN catalog database must always meet target db. Thank you!

    If you run the rman command on the target database server, it acts as a client to the catalog database server by connecting on sqlnet to the catalog database.

    If you run the rman command on the catalog database server, it's a sqlnet connection join the target database server.

    In both cases, rman is simply a client that connects to the two databases.

    Hemant K Collette

  • 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

  • Restoring a backup RMAN to a new instance of the database

    Hi guys,.

    I have a problem with restoring a backup RMAN I have with me a new instance of the database. I have with me are:

    1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)

    2. backup of the control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)

    3. the full backup (O1_MF_NNSNF_FULLPROD_BU_92DVGW9H_. BKP)

    I received these files to a client environment and I need to restore these to a new instance of the database on a local computer. I gave an attempt as follows (in Oracle 10 g):

    1, creates a new instance of the (Test75) database using the Oracle Database Configuration Assistant

    2 SET ORACLE_SID = Test75

    3 connection to this instance with RMAN

    4 tried to restore the SPFILE from the BKP file received.


    I make mistakes and cannot continue. I don't know if I will carry out the correct steps. Please help me telling me how I should achieve this goal.


    Thank you.

    1. backup of the SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_. BKP)

    2 backup of control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_. BKP)

    The first backuppiece resembles a ControlFile and the other looks like a SPFILE'

    > I get error and cannot continue

    What is the error?  (I assume that you have tried to restore the O1_MF_NNSNF_SPFILE_BU_92DVGW9H_ SPFILE. BKP

    Note that you must also SET the DBID before restoring the controlfile

    Hemant K Collette

Maybe you are looking for

  • Continuous beep on Tecra M3

    Hello. I have a Tecra M3 laptop. Open and he started. Continuous high one beep but you windows started normally. What a * is that? Noticed that pressing the corner bottom right is quiet, but you, I want to know what happens. Any idea?

  • Apple will always continue to support iPhone 5 s after the release of the iPhone rumor 5SE?

    Hello I recently bought an iPhone 5. But now I read that the new "5SE" is likely to replace the 5s. I'am just scared that if I need some repairs to do damage, I've always will provide the Apple Service, in my language?

  • Unable to connect to Vista Home Premium DMA2200

    I recently had the need to re - install my HTPC (Vista Home Premium). When I went to set up my DMA2200, it gets to the point in VMC, where there a checkbox in 'Setting media locations', and he is reportedly trying to connect to the DMA2200 ("connecti

  • Cascades WebView control

    Hello I want to load a Web page in a Web view control. I create the WebView, set the url, and finally add the WebView to the container, but nothing appears. Am I missing something? Thank you

  • Win7 slow release

    Broadcasting by using the sendto() API call is extremely slow in Win7 (e.g. 192.168.1.255).Use a unicast address (e.g. 192.168.1.2), it's as expected, very quickly.I can even loop to make 256 unicast sendto() commands and it is much much faster than