How to backup a rman standby db?

Hi all

9.2.0.6

I do backup rman on our database pending, but I get the following error:

RMAN > run {}

2 > CONFIGURE CONTROLFILE AUTOBACKUP ON;

3 > CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / u02/RMAN/DEV/%F';

4 > backup format ' / u02/RMAN/DEV/%d_LVL0_%T_%u_s%s_p%p' database;

5 > crosscheck backup;

6 > remove obsolete;

{7 >}

8 >

using controlfile target instead of recovery catalog database

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

RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

RMAN-03002: failure of the command configure at 15/11/2015 20:42:17

ORA-01649: operation not allowed with a backup controlfile

Complete recovery manager.

Help, please...

Thank you very much

JC

Hello

For Standby database, the controlfile is already a day BEFORE and where you can use either of the following to save the standby controlfile:

backup current controlfile

-Pavan Kumar N

Tags: Database

Similar Questions

  • How to restore the Rman incremental level 0 backup if the SID is different?

    Hi Experts,
    I had a little problem with restore rman backup of level 0. I have backup rman for oracle 11.2.0.1.0 - 64 bit and restore the server to Test 11.2.0.1.0 - 64 bit.

    Problem:
    Sid = prd production server
    Sid = prderp test server

    Operating system is Oracle linux 5 on both servers.

    How to restore Rman if the SID is different?

    Hello

    Refer to this http://shivanandarao.wordpress.com/2012/04/19/duplicating-primary-database-to-a-new-host-without-connecting-to-the-primary-database-in-oracle-10g11g/

    You need to restore it under the same name as you have in the production and later change the dbname using the NEST.

    If you don't want to go with this method, then I suggest you to go with the method of double RMAN.

    http://www.Oracle-base.com/articles/11g/duplicate-database-using-RMAN-11gr2.php
    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm

    rman target sys/@prod auxiliary sys/@tst
    RMAN>duplicate target database to 'prderp' nofilenamecheck;
    

    Please close this Re: how to restore the Rman backup if the SID is different? wire by marking as replied.

  • 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

  • How to run the rman output files, which are more days of retention

    I use for my rman backup tasks.

    I have format my output files of rman to a specific path, instead of the fast recovery area.

    Also, I spend below command in RMAN

    RMAN > CONFIGURE RETENTION POLICY to RECOVERY OF 7-DAY WINDOW;

    And the "control_file_record_keep_time" parameter is also set to 7.

    I've been running rman for 8 days. Everything seems good. But I find several rman output files are more than 7 days.

    So, I just want to know how to handle the rman output, which is longer than 7 days files?

    In fact, I assumed that these older files should be obsolete files, but rman is not to declare that they are obsolete.

    So how do now?

    user8710670 wrote:

    I use for my rman backup tasks.

    I have format my output files of rman to a specific path, instead of the fast recovery area.

    Also, I spend below command in RMAN

    RMAN > CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;

    And the "control_file_record_keep_time" parameter is also set to 7.

    I've been running rman for 8 days. Everything seems good. But I find several rman output files are more than 7 days.

    So, I just want to know how to handle the rman output, which is longer than 7 days files?

    In fact, I assumed that these older files should be obsolete files, but rman is not to declare that they are obsolete.

    So how do now?

    Windows 7 day average recovery rman will protect everything necessary for the recovery to any point in time in the last 7 days.  In fact, in the last 604800 seconds.  The same will mean that he need the files OLDER than that.  Simply because a backupset is older that your recovery window does NOT as yet, it is obsolete.  Any recovery begins with the last FULL or INCREMENTAL backup ZERO before the recovery point.  And it does not matter how old the backup is, it will be obsolete.  Suppose you take a level 0 backup, 1 January and for the rest of the year taking nothing but level 1 and backup archivelog.  31 December than and only the full backup will still not be obsolete, even though he is a year old.

    ============================================================================

    removal of the obsolescence of RMAN

    Day 1 - level 0

    Day 2 - level 1

    Day 3 - level 1

    Day 4 - level 1

    Day 5 - level 1

    Day 6 - level 1

    Day 7 - level 1

    Day 8 - level 0

    Day 9 - level 1

    Day 10 - level 1

    Day 11 - level 1

    Day 12 - level 1

    Day 13 - level 1

    Day 14 - level 1

    On day 14, your window of 7 days is up to date 7.  A recovery to date must begin by restoring the backup of level 0 of the day 1. So it may be outdated.  Some level 1 between 1 and 6 days backups might be obsolete, depending on if they are incremental or cumulative, and it also happens with archivelogs.

    If you have access to MOS, you can review the notes 462978.1 and 463875.1.

    ============================================================================

  • How to do back Rman.

    Hi all.

    I want to create Rman backup of my database can someone guide me that how to create the rman backup
    and how to store in the Ribbon?
    Please give me the steps.

    Thanks in advance.


    Sarah

    Hello
    Please see this link:
    http://www.araboug.org/IB/index.php?showtopic=20829
    Regarding save the backup to a tap.you must refer to a system of administration that will help you save the backup to a disc.
    Kind regards
    Mohamed
    Oracle DBA

  • estimate the time to backup by RMAN

    Hello
    is 11 g, possible to estimate the time of the backup by RMAN (no deposit (using the control file))?
    How?

    Thank you.

    user522961 wrote:
    Hello
    is 11 g, possible to estimate the time of the backup by RMAN (no deposit (using the control file))?
    How?

    Thank you.

    rman> list all;
    
  • How save/backup bookmarks in firefox 5.01?

    Dear support,

    Please show me how save/backup bookmarks in Firefox 5.01?
    (1) on the file menu, there is only the option "Import", but no "Export" option for me to export or save my favorites.
    (2) on the Favorites menu, there is no tab 'Manage a bookmark' as online help available.
    Thank you.

    If you press Ctrl-Shift-B to open the Bookmarks Manager, there is a tab import and backup has a backup and Export HTML option

  • How a backup set that I have purchaced online by using Windows XP?

    How a backup set that I have purchaced online by using Windows XP?

    You must copy the executable file downloaded from a CD.

  • How to backup pc games save files in Windows 7?

    How to backup pc games save files in Windows 7? Especially the Knights of the Temple 2.

    Older games often have a subfolder in the installation folder of games that backups are kept in.
    Often just called safe, but sometimes another name as the profile.

    Most of the time parties registered are stored in your user name-My Documents or Application Data Local files.
    Your My Documents there also a subfolder called my games that store some games
    also records.
    Stops and .cfg or .ini files can be in a subfolder with the name of games or the name of publishers.

    The files in the AppData folder can be found in each Local or Roaming Sub-folders will sometimes
    include saves him, but more often are configuration or other game data. In some cases you must back up these files in other institutions.

  • Backup with rman backup sets

    Hi experts. I know about backup of backup without rman example sets but I want to know is there a way to backup with rman backup sets.

    Perhaps it works for your condition.

    RMAN > backupset backup is complete before ' sysdate-1';

    Kind regards

    Shivananda

  • ORA-25408: can not read the appeal during a duplicate backup with rman catalog database safely

    Hello

    I did a database duplicate backup with rman catalog connection and got the ORA-25408: cannot read error call safely.

    The catalog database is running in a Data Guard environment.

    During the double process database failover occurred because of a server restart.

    The restore of the data files was successful:

    RMAN-08023: channel t1: restored the backup part 1

    RMAN-08180: channel t1: restoration complete, duration: 00:01:15

    RMAN-03091: finished the restoration at 27.08.2014 09:27:10

    During execution of script memory:

    RMAN-08161: content of the Script from memory:

    {

    switch from clone datafile;

    }

    RMAN-08162: execution of Script memory

    I got this error:

    RMAN-08162: execution of Script memory

    RMAN-08031: output channel: t1

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of Db in dual at 27/08/2014 09:27:10

    RMAN-05501: abandonment of duplicate target database

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06004: ORACLE recovery catalog database error: ORA-25408: cannot read safely call

    Dual boot time: 16:00

    Failover time: 18:00

    Error time: 09:00 the next day

    DB version: 11.2.0.4.0, not the RAC environment, single instances

    That's happened? My My db catalog rman session did not survive? Why the error happened at 09:00 (and not 17:00)? Why the session called the catalog rman during switching of the data files?

    Can someone explain it to me?

    Thank you!

    Hello

    The connection of the RMAN catalog remains inactive during the backup/restore process, once rman completes the task and try to activate the connection it gets error.

    What is expected as you said the rebooted server. If this happens because of the expiration time, we went with the parameter net expire_time to maintain the connection.

    Thank you

    Bigot

  • Re: is the cold backup of rman includes onlinde redologs?

    Hello

    cold backup of rman includes onlinde redologs?

    So that at the time of the recovery when I restore the database the redologs online also restored at this point?

    Please, please add your suggestions. I read in 10g database in condition to mount everything taking the backup RMAN as cold as the oracle process overall are down we cannot copy the redologs online.
    Am I correct, otherwise please someone answer me why the redologs online are not copied.

    Thanks in advance
    SAI

    A cold backup (i.e., MOUNT but not given) to RMAN does not backup online redo logs.

    If you restore this backup you will need OPEN RESETLOGS to recreate the online redo logs to the target.

    Hemant K Collette

    PS: Oracle Documentation prefers to call an RMAN backup backs "Cohérent" when the database is mounted but the State is not OPEN. "Cold Backup" is today used for the non-RMAN methods.

    Published by: Hemant K Collette on 8 January 2013 11:47
    Added PS

  • cold backup of rman includes onlinde redologs?

    Hello

    cold backup of rman includes onlinde redologs?

    So that at the time of the recovery when I restore the database the redologs online also restored at this point?

    I reason,.

    Thanks to advanced
    Sairanga

    RMAN never backup online redo logs.

    If you ever need to restore a database that had been saved cold with rman, you'd end up working with an alter database open resetlogs, which will create newspapers online brand new, empty.

  • How craete undo tablespace mode standby

    Hello

    How craete undo tablespace physical standby.

    My version of oracle: 11.2.0.2 on RHEL 5. 6

    951368 wrote:
    Sorry... I should have been clearer...

    The question I have is: my first is a node 3 CARS and I created the same 3 physical standby node, now we had a 4th node on our Eve, Eve allowed me to add all the parameters required as instance cluster #, thread # 4th node, but I was arrested to the creation of a for node 4 undo tablespace. What is the procedure? do I need to create primary or is there a way I can create directly to standby?

    Thank you

    Hello

    So, you have 3 primary nodes and I wanted to add 4th node on hold?

    Create tablespace undo 4th primary help
    SQL > create undo tablespace "undotbs4" data file 'xxxxx' size xxxx;

    The primary will not affect this cancellation as any instances should be pointing to this new cancellation.

    In the day before on the node 4 set "undo_tablespace" at undotbs4.

    See you soon

  • How reman backup blocks being written from memory to disk

    Hi all

    I think about a case when backup with RMAN's data files.
    The rman is subject to block A backup when this block is written by DBWR memory to disk.

    Suppose that writing is carried out only partially. In this case, what will make RMAN?

    1. wait until the entry is made and save
    2. save that RMAN see you there

    I wonder if the choice 2 will leave the incompatible block and thus be taken as corrupt during restoration.

    Best regards
    Leon

    Oracle uses checkpoints that ensure that all databases upward at the checkpoint SCN of the changes have been recorded in the data files. When a user commits a transaction, guarantees of Oracle who do it again so that these changes are written in it again recorded on the disc. Changed blocks of data will be written to the data files later. In fact the data is written to the data files and Oracle simply updates the headers of database with the updated SNA. RMAN does not backup of online redo log files.

    http://docs.Oracle.com/CD/B19306_01/backup.102/b14191/rcmconc1.htm#i1008641

    RMAN does not require that you put data in backup mode files. During an RMAN backup, a database server session reads each block of the data file and verifies that each block is broken by comparing the block header and the footer. If a block is broken, the session reads the block. If the same divide is found, then the block is regarded as permanently corrupted. If MAXCORRUPT is exceeded, the backup stops.

Maybe you are looking for