Using RMAN/Flashback to restore or passage / failover to the backup database

Hello

I'm new on the protection of the data.  I read the documentation and have implemented the Data Guard for my database of test called PPRD.  So I PPRD for the primary database and PPRD_DR0 for sleep.

I've implemented the custody of data with the default, maximum Performance. I'm testing. (That's 11 GR 2.  I also use SQL/RMAN to set everything up.  I can implement Grid Control to administer it.

What I was asking is - as the case may be, are there times where I'm better NOT do a failover to the standby?  Given that the PPRD is in archivelog mode (of course) and we have full and incremental backups archivelogs all being written to the disc, AND my expectation is mode maximum performance... is there times where there was NO data loss by restoring the database and he recovering from RMAN? Indeed, recovery logs are intact, not if the first line of conduct?

Now, obviously if there is some sort of disaster and the primary is destroyed we would failover to our expectation. But for most typical failures, wouldn't we want to use RMAN and the backups/archivelogs as a first course, because there MAY be loss of data with the maximum performance mode? Also, I know there are views, that we can use to see how in sync is the day before, but I'm a little unclear on this.  At the time of a database problem, if we do not have an automatic failover enabled and configured, exactly how can we check how to synchronize the standby is with the primary?  (I know that this response is common and there, I don't want to ask the obvious question.)

Since I was in archivelog and flashback as well on mode the primary... If the primary is still intact (but has a problem) I use RMAN, flashback, etc. before making failover/switching in high school?

Thank you for any response.

Hello;

Yes. For me, a failover is a last resort. Ask yourself a few questions:

My company requires an availability of 100%?

How long the principal will be not not available?

How long and how to recover from failover?

I can make a move to the place?

Each year we turn off the room of servers for a weekend. What I do, it is a failover, then a switch after the old primary appears as the day before and catch up.

Here are my notes of failover test:

http://www.Visi.com/~mseberg/data_guard/Data_Guard_Failover_Test_using_SQL.PDF

This may help too:

Roll a standby forward using an RMAN backup to trouble The Nologging changes incremental (Doc ID 958181.1)

Best regards

mseberg

Tags: Database

Similar Questions

  • the backup database must be restored after failover and flashback 11

    I tried a failover with 11g r2 and RAC. Failover worked. I have flashed then return of the database (old primary) according to this http://docs.oracle.com/cd/E11882_01/server.112/e17022/scenarios.htm#i1049997, and now is the archiveurs application again.

    The problem is in the broker, it says this

    DGMGRL> show configuration;
    
    Configuration - DG_Config
    
      Protection Mode: MaxPerformance
      Databases:
        DB11G_STBY - Primary database
        DB11G      - Physical standby database (disabled)
          ORA-16661: the standby database needs to be reinstated
    
    Fast-Start Failover: DISABLED
    
    Configuration Status:
    SUCCESS
    I tried deactivating and reactivating the configuration, but still the same. Any other ideas?

    Here's a link [url http://nikolayivankin.wordpress.com/2012/02/14/dgmgrl-reinstating-ex-primary-to-standby-by-flashback-database-feature/] a demo, your theme

  • RMAN-04014: failed to start: ORA-00600 during the duplicate database

    Hello

    Oracle version: 11.2.0.2

    OS: linux rhel 5

    I do duplicate database of active database
    rman target sys/*******@pindb AUXILIARY sys/*****@test
    
    Recovery Manager: Release 11.2.0.2.0 - Production on Mon Nov 26 19:56:41 2012
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: pindb (DBID=4116200880)
    connected to auxiliary database: TEST (not mounted)
    
    RMAN> run {
    allocate channel C1 type disk;
    allocate auxiliary channel DUP type disk;
    DUPLICATE TARGET DATABASE  TO 'TEST' FROM ACTIVE DATABASE  DB_FILE_NAME_CONVERT '/oradata/pindb','/oradata/test';
    }2> 3> 4> 5>
    
    using target database control file instead of recovery catalog
    allocated channel: C1
    channel C1: SID=699 device type=DISK
    
    allocated channel: DUP
    channel DUP: SID=5 device type=DISK
    
    Starting Duplicate Db at 26-NOV-12
    
    contents of Memory Script:
    {
       sql clone "create spfile from memory";
    }
    executing Memory Script
    
    sql statement: create spfile from memory
    
    contents of Memory Script:
    {
       shutdown clone immediate;
       startup clone nomount;
    }
    executing Memory Script
    
    Oracle instance shut down
    
    connected to auxiliary database (not started)
    released channel: C1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 11/26/2012 19:57:07
    RMAN-06403: could not obtain a fully authorized session
    RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-00600: internal error code, arguments: [kck_rls_check must use (11,0,0,0,0) or lower], [kdt.c], [9576], [11.2.0.2.0], [], [], [], [], [], [], [], []
    RMAN-04017: startup error description: ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    Please can someone offer

    Thank you

    Hello;

    In my view, that it is a bug that has to do with the compatibility of the compression.

    I think that work around is:

    alter system  set "_compression_compatibility"="11.2.0";
    

    Let me confirm with a document number of MOS

    Subsequently Cannot find the doc of MOS - this has some details:

    http://www.acehints.com/2011/11/fix-RMAN-duplicate-database-failed-ora.html

    http://bryangrenn.blogspot.com/2011/12/ora-600-kckrlscheck-must-use-110000-or.html

    Best regards

    mseberg

    Published by: mseberg on November 26, 2012 16:07

  • My Favorites are gone and I can't make new bookmarks. I tried to restore their by clicking on the backups and downloading Backup and neither will not work.

    This is as far as I know. I followed the instructions to restore and nothing works.

    See also:

  • Question about restoring, Image Recovery copy at the JRC

    version: 11.2.0.3
    Platform: AIX 6


    Found the following in

    http://www.oracleracexpert.com/2011_12_01_archive.html
    SYS@DBTEST>startup mount
    SYS@DBTEST>switch database to copy;
    SYS@DBTEST>Recovery the database;
    SYS@DBTEST>Alter database open;
    The author of the blog says
    "Please note that we didn't restore the backup from backup drive or media, we did the backup database."

    Then, how it will work for the restorations in CARS? Because, after "switching" to a data file that is now on one disc of the instance will be able to access this data file. Right?
    Even if we be cross-mount the backup location to both nodes, the data file will still not be in the ASM diskgroup where it was initially stored?

    But I can't place images RMAN copies in ASM starts. I can?

    Huh? Where did you hear that? An ASM DiskGroup is frequently used as an MRE (Flash/Fast Recovery area) defined via DB_RECOVER_FILE_DEST. As you can place BackupSets in ASM, then you can everything place Image Copies in ASM.

    Hemant K Collette

  • Let the RMAN to know the location of the backup during RMAN DUPLICATE item

    RDBMS Version: 11.2.0.3
    Platform: AIX 6.1

    I spent a few discussions lately about the creation of standby DB by using the RMAN DUPLICATE method.

    Taking an example from a thread by steve74 yesterday.

    The commands below are executed after copying the elements of hot backup of the primary DB Backup on the standby server.
    --- Will be running the following DUPLICATE command from standby server 
     
    export ORACLE_SID=orcldg
    SQL> startup nomount pfile='/u01/app/oracle/11.2/db_home1/dbs/initorcldg.ora'
     
     
    rman target sys/mypass@PRIMARY_TNS auxiliary / 
     
    run 
    {
         allocate channel C1 device type disk;
         allocate auxiliary channel C2 device type disk;
         duplicate target database for standby nofilenamecheck;
    }
    The auxiliary instance is just in NOMOUNT. Lets say I copied the primary DB Backup items to the
    following in the standby server location
    /u04/backup/RMAN
    I don't see all the above commands which allows to RMAN knows about this place where are stored the backup pieces. For regular DB cloning, we are cataloging of backup items using the CATALOG command. But, you need a control file to do cataloging. The auxiliary instance does still not have control file. So, how this work?

    Hello

    simple. duplicate is a faster and simpler, method because you issue a command.
    After configuration, you issue a command, and if the pfile/spfile is properly configured, RMAN takes care of ALL the necessary measures, even for ASM (assuming the switch of data file also). It restores the CF, he set up the db, it restores, it retrieves, it updates the CF with the correct names, it converts file names if necessary, open the DB ETC.
    And, since only a single command is used, it is less prone to errors.
    And allows you to save a lot of trouble.
    Quite simply, you have a few details such as the location of the backuppieces.

    It works very well also for DEV env refreshes (with a few modifications on the pfile/spfile file).

    BR,
    jpinela.

    Published by: Pinela December 21, 2012 16:02

  • Restore the backup files. Windows Vista Expert needed!

    Help!  Recently, a virus wiped out my operating system (Windows Vista).  C drive my PC had literally nothing about it.  Then I got a new VISTA OS installed by a repair shop.  I tried to restore my previous configuration from the backup I had on an external drive, using the Vista Backup & Restore utility.  This "worked" except that he restored the backup files in a separate location on the C drive.  Using the windows Explorer I see all those files that have been restored in a folder named "Thom".

    However the new Vista installation has the user name "Thomas" where a configuration complete, (Documents, Favorites, desktop, etc.), was created.  When I connect, it's the config I see (new office, new files and folders for this new user, 'Thomas'.  I want to use the configuration, (files, folders, office computer), under the former name "Thom", not this new one, "Thomas."

    I'm afraid to just delete the files under Thomas I'm afraid I'm going to destroy my access to Windows in general.  Currently, I show only a user account in the control panel.  I don't have the 'Thom' user in the folder of the user within the new configuration.  How to delete files and folders under Thomas and use files and folders in the folder named Thom that is located on drive C?

    All restoring the backup files are there, they show just a folder on drive C, titled "Thom".  When I connect to my pc it takes me to your desktop created by the new facility.  I need ALL the files in the backup (office, e-mail, files & folders), not the Setup program created by the installation of the new Vista.  I want to be able to connect to windows and have it use the backup files, which are located in this folder named "Thom" which show on the C drive.

    Can I simply combine or merge or copy the files in the folder 'Thom', I want to use in the files of the same name, (contacts, documents, Favorites, desktop), which are under the name of "Thomas"?  Can I remove folders under the user 'Thomas' and all it's files and records and hope that windows then takes me in the files that I want to use?

    I use my laptop, (HP Pavilion, 64-bit), for business and I'm dead in the water until I can access my old configuration.  I am on day 5 of this disaster and I am desperate, please help!

    Hello Reggie999,

    Thanks for the return of the response.  You can move the files/folders in the 'Thom' folder in your new user account 'Thomas '.   Or another option would be to create a new user account and call it what you want, then move the folder in this user account.

    If you create a new user account and move your files/folders to this account, it would be nice to delete the user account 'Thomas '.  Just make sure that you have all of the files in the profile that you have recently created/added.

    New profile:

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

  • Restore feature does not accept the file backed up

    Windows 7 64 bit had problems, so I backed up the files using the program backup and restore on an external drive WD 1 T on USB port H:.  I then re image of the portion of disk C: drive D:. Then I tried to restore the files, can see *.wim on the H: drive files, BUT the restore program not to recognize the backup period or appear on the back of record.

    What can I do now?

    Thank you!!!

    Whit

    Hey there BigWhit :)

    I'd follow Ankit suggestions because I think that it would be useful.
    I would also check the condition of the car, because it can cause problems if there are problems with it. I connect to a working PC and run the WD Data Lifeguard Diagnostic tool. If the drive passes extended tests it should be made safe to use and fast.

    Post back with some results :)

    See you soon!

    Captain_WD.

  • RMAN duplicate for standby the active database and the missing data files

    We have a car of 2 node ASM 11 GR 2 and 11.1 of database and a standby with ASM also. Our database is relatively low (300 GB)

    and in one recent event the day before was such a departure from the primary that we decided to "repopulate" the data using duplicate RMAN.

    I deleted the data files of the previous day and followed the Oracle documentation to duplicate a database. In the waiting

    I created a static listener and a pfile containing only the essential information (db_unique_name). I started the day before with nomount using the 'empty' pfile.

    I run RMAN, connected to the target and ancillary catalogues and run this command:

    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate channel prmy5 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database for standby from active database nofilenamecheck;
    }
    

    RMAN duplication completed without errors, so I started the rescue database and got

    an error saying that datafile XXX is missing. I checked XXX datafile at the primary level

    and it is in a DISCONNECTED state. In the standby database the same data file is in the online state.

    So I think the problem is that during the duplication, RMAN (as documentation States) does not work

    Copy the files of data in offline mode, but the standby control file seem to think that these data files

    are online and should be present.

    Can someone please help me solve this problem? From my understanding, I could just copy the missing persons

    data files (there are many however) and in the standby go offline, but I don't think it's

    the right solution, edit this file for control of the standby? I would add another option

    in the RMAN script?

    Take the data file in offline mode on the site of the previous day.

    I don't think that two COPIES try to manage separately offline files.

    Hemant K Collette

  • Cannot use the name of the world database

    Oracle 10.2.0.3

    Windows

    Hello

    I changed the name of the worldwide database using

    ALTER DATABASE RENAME GLOBAL_NAME TO THE TDB. ABC.COM;

    But I get the error message when you connect to db with his global name.

    SQL > conn system@tdb [No. ERROR]

    Enter the password:

    Connected.

    SQL > SELECT * FROM GLOBAL_NAME;

    GLOBAL_NAME

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

    TDB. ABC.COM

    SQL >

    SQL >

    SQL > conn [email protected] [ERROR]

    Enter the password:

    ERROR:

    ORA-12154: TNS: could not resolve the connect identifier specified

    WARNING: You are more connected to ORACLE.

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

    > SELECT NAME, VALUE FROM V$ PARAMETER WHERE NAME in ('db_domain', 'db_name');

    VALUE NAME

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

    db_domain

    db_name TDB

    Kindly help me to solve this error.

    Thank you

    > Using "sldb";

    SLDB tnsnames entry should be on the * server database * because it is the database server process that initiates the connection to the remote database.

    I also noticed that you have *. ABC.COM in use.  Ideally USING "sldb" should have USED "sldb. ABC. COM' with SLDB. ABC.COM in the tnsnames.ora on the database server.

    Hemant K Collette

  • 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

  • Problem with the archive log when you use RMAN for backup and restore (11g 2)

    Hello world
    Please help me solve this problem.
    I'm just beginner in Oracle Database (11 g 2). Today, I had a problem, I tried to back up and restore my db by RMAN. I delete all the files in /u01/app/oracle/oradata/orcl / * , then I restore them easily, but the point is I have a table, I can restore Hungarian, but cannot restore anything ranks in it (something wrong with step restore database). I'll tell the detail below.
    -First, I create a 'Day' with command table create table hr.day (varchar (20)) day. Then I backup complete by this:
    run{
    allocate channel bkp device type DISK FORMAT '/u01/backup/DB_FULL_%d_%T_s%s_p%p' ;
    backup as compressed backupset incremental level 0 tag 'DB_FULL' database include current controlfile;
    backup as compressed backupset tag 'ARCL_BKP_FULL' archivelog all delete input;
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt obsolete;
    release channel bkp;
    }


    D ' other hand, I have insert 'Monday' to table. then do an incremental backup by this:

    run{
    allocate channel bkp device type DISK FORMAT '/u01/backup/DB_INC_%d_%T_s%s_p%p' ;
    backup as compressed backupset incremental level 1 tag 'DB_INC' database include current controlfile;
    backup as compressed backupset tag 'ARCL_BKP_INC' archivelog all delete input;
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt obsolete;
    release channel bkp;
    }

    Repeat 7 times (Monday-> Saturday). And I got these files:

    [oracle@rac ~]$ ls -l /u01/backup/
    total 400280
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 07:23 c-1428943247-20160120-01
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:04 c-1428943247-20160120-02
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:05 c-1428943247-20160120-03
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:06 c-1428943247-20160120-04
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:08 c-1428943247-20160120-05
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:08 c-1428943247-20160120-06
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:09 c-1428943247-20160120-07
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:32 c-1428943247-20160120-08
    -rw-r----- 1 oracle oinstall 296337408 Jan 20 07:23 DB_FULL_ORCL_20160120_s89_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 07:23 DB_FULL_ORCL_20160120_s90_p1
    -rw-r----- 1 oracle oinstall   2266624 Jan 20 07:23 DB_FULL_ORCL_20160120_s91_p1
    -rw-r----- 1 oracle oinstall   4073984 Jan 20 07:23 DB_FULL_ORCL_20160120_s92_p1
    -rw-r----- 1 oracle oinstall  11201536 Jan 20 07:23 DB_FULL_ORCL_20160120_s93_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:05 DB_INC_ORCL_20160120_s100_p1
    -rw-r----- 1 oracle oinstall    146944 Jan 20 08:05 DB_INC_ORCL_20160120_s101_p1
    -rw-r----- 1 oracle oinstall    884736 Jan 20 08:06 DB_INC_ORCL_20160120_s103_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:06 DB_INC_ORCL_20160120_s104_p1
    -rw-r----- 1 oracle oinstall     82432 Jan 20 08:06 DB_INC_ORCL_20160120_s105_p1
    -rw-r----- 1 oracle oinstall    294912 Jan 20 08:07 DB_INC_ORCL_20160120_s107_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:07 DB_INC_ORCL_20160120_s108_p1
    -rw-r----- 1 oracle oinstall     18944 Jan 20 08:08 DB_INC_ORCL_20160120_s109_p1
    -rw-r----- 1 oracle oinstall    155648 Jan 20 08:08 DB_INC_ORCL_20160120_s111_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:08 DB_INC_ORCL_20160120_s112_p1
    -rw-r----- 1 oracle oinstall    131584 Jan 20 08:08 DB_INC_ORCL_20160120_s113_p1
    -rw-r----- 1 oracle oinstall    647168 Jan 20 08:09 DB_INC_ORCL_20160120_s115_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:09 DB_INC_ORCL_20160120_s116_p1
    -rw-r----- 1 oracle oinstall      8704 Jan 20 08:09 DB_INC_ORCL_20160120_s117_p1
    -rw-r----- 1 oracle oinstall   2203648 Jan 20 08:04 DB_INC_ORCL_20160120_s95_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:04 DB_INC_ORCL_20160120_s96_p1
    -rw-r----- 1 oracle oinstall   1899008 Jan 20 08:04 DB_INC_ORCL_20160120_s97_p1
    -rw-r----- 1 oracle oinstall    327680 Jan 20 08:05 DB_INC_ORCL_20160120_s99_p1

    And
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    ------- -- -- - ----------- --------------- ------- ------- ---------- ---
    80      B  0  A DISK        20-JAN-16       1       1       YES        DB_FULL
    81      B  0  A DISK        20-JAN-16       1       1       YES        DB_FULL
    82      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    83      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    84      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    85      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T072332
    86      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    87      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    88      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    89      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080440
    90      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    91      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    92      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    93      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080545
    94      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    95      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    96      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    97      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080657
    98      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    99      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    100     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    101     B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080801
    102     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    103     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    104     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    105     B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080844
    106     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    107     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    108     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC

    My configuration of rman:
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name ORCL are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/u01/backup/backup_df%t_s%s_s%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome/dbs/snapcf_orcl.f'; # default

    - Thirdly, i removed all file in /u01/app/oracle/oradata/orcl/*. then restore control file from the newest backup control file (saturday backup) + restore database. Seem nothing's wrong here.
    RMAN> restore controlfile from '/u01/backup/c-1428943247-20160120-08';
    Starting restore at 20-JAN-16
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=18 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=20 device type=DISK
    channel ORA_DISK_2: skipped, AUTOBACKUP already found
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:09
    output file name=/u01/app/oracle/oradata/orcl/control01.ctl
    output file name=/u01/app/oracle/flash_recovery_area/orcl/control02.ctl
    Finished restore at 20-JAN-16

    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    released channel: ORA_DISK_2

    RMAN> restore database;
    Starting restore at 20-JAN-16
    Starting implicit crosscheck backup at 20-JAN-16
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=18 device type=DISK
    Crosschecked 29 objects
    Finished implicit crosscheck backup at 20-JAN-16

    Starting implicit crosscheck copy at 20-JAN-16
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Finished implicit crosscheck copy at 20-JAN-16

    searching for all files in the recovery area
    cataloging files...
    no files cataloged

    using channel ORA_DISK_1
    using channel ORA_DISK_2

    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf
    channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/backup/DB_FULL_ORCL_20160120_s89_p1
    channel ORA_DISK_1: piece handle=/u01/backup/DB_FULL_ORCL_20160120_s89_p1 tag=DB_FULL
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:15
    Finished restore at 20-JAN-16

    -Fourth, the problem here, I got the database;
    .. .every oky until this line...
    starting media recovery

    channel ORA_DISK_1: starting archived log restore to default destination
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=15
    channel ORA_DISK_1: reading from backup piece /u01/backup/DB_INC_ORCL_20160120_s117_p1
    channel ORA_DISK_1: piece handle=/u01/backup/DB_INC_ORCL_20160120_s117_p1 tag=ARCL_BKP_INC
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2016_01_20/o1_mf_1_15_c9xsyx9k_.arc thread=1 sequence=15
    unable to find archived log
    archived log thread=1 sequence=1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/20/2016 08:50:22
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 1205841

    The error said that it is impossible to find the archived log thread = 1 sequence = 1. Then I check it with this command always there (oh, I'm wrong?)
    RMAN> list backup of archivelog all;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    82      2.16M      DISK        00:00:00     20-JAN-16     
            BP Key: 82   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s91_p1

      List of Archived Logs in backup set 82
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
    1    1       1154833    20-JAN-16 1177422    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    83      3.88M      DISK        00:00:00     20-JAN-16     
            BP Key: 83   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s92_p1

      List of Archived Logs in backup set 83
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
    1    1       1162729    20-JAN-16 1188784    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    84      10.68M     DISK        00:00:01     20-JAN-16     
            BP Key: 84   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s93_p1

      List of Archived Logs in backup set 84
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    2       1177422    20-JAN-16 1201833    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    88      1.81M      DISK        00:00:01     20-JAN-16     
            BP Key: 88   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s97_p1

      List of Archived Logs in backup set 88
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    3       1201833    20-JAN-16 1204844    20-JAN-16
      1    4       1204844    20-JAN-16 1204893    20-JAN-16
      1    5       1204893    20-JAN-16 1204958    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    92      143.00K    DISK        00:00:00     20-JAN-16     
            BP Key: 92   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s101_p1

      List of Archived Logs in backup set 92
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    6       1204958    20-JAN-16 1205034    20-JAN-16
      1    7       1205034    20-JAN-16 1205253    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    96      80.00K     DISK        00:00:00     20-JAN-16     
            BP Key: 96   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s105_p1

      List of Archived Logs in backup set 96
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    8       1205253    20-JAN-16 1205354    20-JAN-16
      1    9       1205354    20-JAN-16 1205433    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    100     18.00K     DISK        00:00:00     20-JAN-16     
            BP Key: 100   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s109_p1

      List of Archived Logs in backup set 100
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    10      1205433    20-JAN-16 1205519    20-JAN-16
      1    11      1205519    20-JAN-16 1205559    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    104     128.00K    DISK        00:00:00     20-JAN-16     
            BP Key: 104   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s113_p1

      List of Archived Logs in backup set 104
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    12      1205559    20-JAN-16 1205624    20-JAN-16
      1    13      1205624    20-JAN-16 1205739    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    108     8.00K      DISK        00:00:00     20-JAN-16     
            BP Key: 108   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s117_p1

      List of Archived Logs in backup set 108
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    14      1205739    20-JAN-16 1205796    20-JAN-16
      1    15      1205796    20-JAN-16 1205840    20-JAN-16


    If i ignore it and open the database, just my table in full backup come back but rows was not restored. I'm sure the problem is my archive log backup but i don't know how to solve it. Plz help me.

    Sorry for a long post.

    > 1 and from the 1205841 SNA sequence

    The SCN that indicates Oracle is above the range of SNA that you have in the ArchiveLog backups for sequence 1 to 15 (15 sequence ends at 1205840).

    The message

    channel ORA_DISK_1: restoring archives Journal

    Archives journal thread = 1 sequence = 15

    channel ORA_DISK_1: backup/u01/backup/DB_INC_ORCL_20160120_s117_p1 piece reading

    channel ORA_DISK_1: piece handle = / u01/backup/DB_INC_ORCL_20160120_s117_p1 tag = ARCL_BKP_INC

    indicates that he has restored the sequence up to 15

    You can check the log file alert database instance for messages on the fact of recovery.

    He is now asking sequence #1 it seems you did a RESETLOGS after sequence #15.

    Note: If you have NOT issued a COMMIT after the line is INSERTED in the table 'Day', the recovery of the database will have no * transactions * to retrieve.  An uncomitted transaction is cancelled.

    Hemant K Collette

  • error of Tivoli storage manager... not able to restore the file using rman

    Hi all

    I have one using AIX 64-bit os and oracle database 10g LF. I also use BR * tools and Tivoli Storage Manager for backup and storage. During the restore operation, I'm more error.file not restored to the Library Manager server...



    ERROR:
    Interface between BR * tools and Tivoli Storage Manager
    -Version 5, exit 4, change 0.1 for AIX 64-bit LF -.
    Version: 304B updated January 15, 2007
    (c) Copyright IBM Corporation, 1996, 2007, all rights reserved.

    BKI2027I: TSM-API version 5.4.0.0 using (compiled with 5.3.0.0).
    BKI2000I: Connected to the ProLE on port tdpr3ora64.
    BKI0005I: Start of the program at: Thu Dec 20 14:05:31 PAKST 2011.


    -Settings-
    Input file: / tmp/eaaBLimie
    Profile: /oracle/PEP/102_64/dbs/initPEP.utl
    File: /oracle/PEP/102_64/dbs/initPEP.bki
    Manual sorting file: disabled
    Trace file: disabled
    TraceFlags: disabled
    Parallel sessions: 2
    Multiplexing of files: disabled
    Compression of RL: disabled
    Output error: disabled
    LOT: disabled
    Buffer size: 131072
    Mode copy buffer: SIMPLE
    Redologcopies: disabled
    Release management: disabled
    Backup type: unknown
    Logs TSM server: disabled
    TSM server: 192.168.100.147:PPLTSMSRV with 2 sessions configured
    The TSM client node: PEPSRV01
    For the backup days: Mon Mar sea game Fri Sat Sun
    Backup mgmt class: MDB
    Class mgmt Archiv: MLOG1 MLOG2


    BKI5016I: Time: 20/12/11 14:05:42 new TSM session created: MGMNT CLASS:, TSM-Server: 192.168.100.147:PPLTSMSRV, type: SIMPLE
    BKI0027I: Time: 20/12/11 14:05:47 subject: 1 current 1: /oracle/PEP/sapbackup/behjszif.aff size: 67,991 KB, MGMNT-CLASS: MDB, TSM-server: 192.168.100.147:PPLTSMSRV.
    BKI0101I: Please enter 'c [have]' to continue or [high] "to cancel.
    s
    BKI0102I: Your answer: of '.
    BKI5010E: Error of Tivoli Storage Manager:
    ANS1314E (RC14) currently unavailable data file on the server
    * (RC = 14). *
    BKI1230E: The following file was not processed: oracle/PEP/sapbackup/behjszif.aff.

    #ERROR /oracle/PEP/sapbackup/behjszif.aff
    BKI1215I: Average transmission speed was 0.000 (0.000 MB/sec) GB/HR.
    BKI0020I: End of program: Thu Dec 20 14:07:27 PAKST 2011.
    BKI0021I: Duration: 01 min 56 sec.
    BKI0024I: Returns the code is: 2.
    BKI0024I: Returns the code is: 2.
    Press ENTER to continue...



    I am bit confused which... Why this error coming... for no matter what eror (RMAN) database... or due to an error of tivoli. Help, please...

    Published by: dbaforu on December 21, 2011 12:22

    Read the error message carefully
    especially the first line

    BKI5010E: Error of Tivoli Storage Manager:
    ANS1314E (RC14) currently unavailable data file on the server
    (rc = 14).
    BKI1230E: The following file was not processed: oracle/PEP/sapbackup/behjszif.aff.

    Not an Oracle error. IBM also has support forums.

    ------------
    Sybrand Bakker
    Senior Oracle DBA

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

    Hello Friend:

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

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

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

    Thank you

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

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

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

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

  • RMAN Backupsets restore from a BAND on the disc?

    Hi guys,.

    Please help me, we back up our 11g i.e. databases (extra strength 0, level 1 & archivelogs) disk with RMAN and then subsequently run another script for the backupsets of the DISC on a backup TAPE.

    Now, I would like to know, how to restore these backupsets BAND on the DISC with RMAN back if possible? We are using Veritas NetBackup for Oracle - version 7.5.

    PART OF THE SCRIPT EXAMPLE DISK to TAPE BACKUP:

    run

    {

    allocate channels ch1 type 'SBT_TAPE ';

    Send "NB_ORA_SERV = master_server_name, NB_ORA_CLIENT = client_name, NB_ORA_POLICY = netbackup_policy, NB_ORA_SCHED = schedule_name';"

    backupset backup all the format = "${ORACLE_SID} %U _full_tape_" no saved;

    output channel ch1.

    }

    Kind regards

    ZKM

    Hello, with rman you can restore the files of data, controlfiles, archivelogs, storage... (IE, your database), but I believe that you cannot restore a stb to a disc backupset backupset, you restore a backupset o filecopy to a "restore" object, not a backupset. :

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta2008.htm#RCMRF149

    You can restore it with:

    RMAN > restore database the tag ' '.

    If you have configured channel decoders and disk channel, rman will first try to restore from disk and if it is not backupset on disk, rman restore of stb.

    RMAN: Creating and restoring backups to disk and tape (Doc ID 1397703.1);

    Kind regards.

Maybe you are looking for

  • Smart album with face East/includes returns no results

    System specifications: 2012, mac Mini, 16 GB RAM, Core i7, El Capitan, Photos v1.3 I recently tried to create a new Smart Album with the following rules: Face is (OR includes) The date is in the range of 01/01/2015 to 31/12/2015 Even though I KNOW th

  • HP ENVY Desktop 700-410xt: can I upgrade gtx 1070

    So I intend to upgrade form my 960 to a 1070. So I was wondering if the motherboard on my computer is compatible with it? Also, I currently have a wt 500 food. Link to desktop - http://support.hp.com/us-en/product/HP-ENVY-700-400-Desktop-PC-series/71

  • XP Pro SP3 restart after Windows Update

    Windows Live Update (August 7, 2011) today requested reboot. After reboot, PC does not completely start upward and goes into repeated reboots. I managed to stop several reboots by forcing a shutdown, restart later, by pressing F8 and selecting Disabl

  • error Recurso shared functions of Red

    Al querer open a red me vidéoconférence as only permissions I have. Antecedentes. Tengo windows server 2012 in both maquinas, todo worked well pero al pasar el tener acceso dejo ccleaner is not said that no tengo permits red than me ponga en contacto

  • Add only self hosted webfonts

    Hellofor the moment I m test Adobe Muse.That s my problem: I tried to import a family free fonts hosted (iI have the license). First time Muse and I could use the full range. But all of a sudden only a font family is available (the others are deleted