RMAN and Dataguard

We are trying to setup RMAN ( Incremental backup ) for a Dataguard system for Oracle 10G. As I am new to this can anyone help me to start the setup for this?

See "Using RMAN to Back Up and Restore Files" in "Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-05"
http://docs.oracle.com/cd/B19306_01/server.102/b14239/rman.htm
More information
Re: Configuring rman for dataguard environment.
Best Regards
mseberg

Similar Messages

  • RMAN and Dataguard (10g)

    Hi all,
    I know this topic has been discussed several times over on this forum, but I have a peculiar situation.
    I have just inherited a client system with 10g and DataGuard with RMAN. The standby is Physical and both nodes are on HP-UX version and patchsets.
    The standby is persistently idle. The client insists on backing up the physical standby only.
    My question is this, is there any danger in backing up on the physical standby?. I've argued the case that we should backup the Primary and Standby to no joy. I am a little worried that we may experience a failure on the primary and start a recovery with backup taken from the Standby node. Is this feasible at all?
    Please confirm that I am right.
    Regards,
    Timothy.

    Having a recovery catalog, there's a resync with the standby controlfile after the backup, the backup informations are now in the catalog. Now when you need to restore/recover the primary database you connect to this and to the catalog. Primary and standby are clones , so you access the same record in the catalog regardless whether you are connected to the primary or to the standby. Because of this a resync will refresh the primary controlfile with the backup records which were taken while connected to th standby. A simple backup/recovery example looks like this:
    1) connect target sys/pwd@stdby catalog rman/pwd@rmancat
    2) backup database; (resync happens automatically after this)
    4) connect target sys/pwd@prim catalog rman/pwd@rmancat
    5) resync catalog;
    6) restore database;
    7) recoverer database:
    It's not mandatory, but recommended to backup the archivelogs on the primary side. Here you are sure to have all archivelogs (at least under regular circumstances). For many reasons it could happen, you miss some archives on the standby side.
    It's possible to run a standby in read-only mode for reporting purposes. In this case archivelog applying is suspended. If you have such a situation it's not recommended to backup the standby database, possibly it does not change for a long time and in case of recovery you have to apply a large number of archivelogs.
    Werner

  • RMAN and dataguard wout catalog?

    Hello,
    We used RMAN for backups and recently implemented a dataguard environment in 10g r2(physical standby). While perusing upgrading to 11g I came across instructions saying you must use a recovery catalog in a dataguard environment. The backups are running on the primary just using the control file and all seems to be working. I did a 'restore database validate' and it succeeded. Is the recovery catalog only necessary if I chose to do the backups on the standby - or is a catalog required in my scenario?
    Thanks,
    Mark
    Edited by: user6061469 on Apr 20, 2011 11:43 AM

    You were able to build your standby without using a catalog.
    You are able to take backups of your primary without using a catalog.
    Where does it say (in the documentation) that a recovery catalog is required ?
    With the enforcement of DB_UNIQUE_NAME you can use the same catalog for Primary and Standby backups -- if you run backups from both locations. That is an enhancement. But not a requirement if you don't need to or plan to backup both sites and use a common catalog.
    Hemant K Chitale

  • Rman and dataguard standby

    I have a physical standby and was using rman to manage the deletion of archive logs. I changed the retention policy on the primary because of some disk space issues. When I tried to do the same on the standby it was unhappy:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 07/08/2009 09:52:29
    RMAN-05021: this configuration cannot be changed for a BACKUP or STANDBY control file
    So, does that mean the only way to manage this is to rebuild it from the altered primary. Say it ain't so, Joe.

    I guess I need to get to grid control, but that has been such a painful process. I believe it will be a work around since the control file is the thing in the way.

  • Simple Problems of oracle 8i using Rman and so.................

    I am Shan here. I am DBA student for oracle 8i. I have a problem with a backup and recoverys article which is Rman. If you can not help for this then please tell me a contact of that person who can help me. If u can then it is on..
    1- I create a user RMAN. I grant him a quota on rman and on rman_temp tablespace; grant him a dba, sysdba, recovery_catalog_owner role. Then I connect it to target. Then I create catalog, then register database then type a command of list (LIST COPY OF DATABASE and LIST BACKUP OF DATABSE) it shows me nothing. ok.
    Then I take a whole backup of a database with the command
    Run {
    Allocate channel c1 type disk;
    Backup
    Format d:\backup\whole_%d_%s_%p.bak
    (Database) ;}
    This command shows me allocating channel and then processing backup Then this commend ended successfully. And it shows me files physically of my desire path. Then I query a command of LIST for showing me my backup details (LIST BACKUP OF DATABSE). But it shows me nothing. No details about my backup. But the file is still physically there at my given path.
    This is the same story with copy command it physically create a file there but do not show it with LIST COPY OF DATABASE command.
    It is not a story of a single Computer I changed it and do the same stuff with the others but the result is same. But I got desire results on one Computer but next day I got another problem with this Computer. I type a command of list backup it shows me the results. It has two backup pieces. I tried to delete them with change command by allocating channel for delete type disk. And then change backupset 605(backup set no) delete;. It shows me that he deleted that file form path but when I query of list backup it show me the same results which it show me before delete. Then I tried to delete second set which is still there I would not allow me to delete that set and give a error that catalog does not have the information about that file but list command show me both pieces. I do manual resync catalog command but no difference on results.
    Then I take another whole backup at another place, and query to get its information but list command does not show the results. It shows me the old results. Then I take a backup of a single data file and query but the result is same.
    I also tried to delete that copy data file by change command but it says that recovery catalog do not have the information about that file.
    2- If we allocate more then one channels for backup on a same drive what will be the behavior of those channels.
    Will them not working parallel. And tell me that it is true that channels will work parallel when they are writhing information on different drives (different drive means that two different hard drives physically).
    Syntax of all commands is writen,I tallied it by book.<<<<<<<<<<<<<<<<3- What is O stands for in crosscheck command? A stands for available U Stands for Unavailable and O Stands for? In a status column.
    4- Please tell me a single command to delete all tables of a user. (Single command..)
    We are using ORACLE 8i (8.1.7.0.0) Version for practice.
    Give its solution by mail
    [email protected]

    I have briefly used sql*ldr in linux and yes, it does support exit codes

  • Backup policy on Grid, using RMAN and Recovery Catalog.

    Hello Gurus,
    I'm trying to move ahead the new features of Oracle 10g in my company. So I've already created Grid Control and will deploy Agents/Targets during the next week. I also want to switch the backup process from the archaic exp/imp to RMAN with the Recovery Catalog.
    My question is such: could anybody suggest the best book or text with solutions and descriptions of backup policy, using the Grid, RMAN and Catalog? What I want to do is to create eventually the powerful and centralized storage of every database in a company and do all daily routine from there. But as long as I'm only in the very beginning I want to gain some knowledge before the bad experience, like crashed recovery catalog and no backups for all databases :-)))
    Definitely I'll keep existing imp/exp and hotbackup for a long time. I'm not going to substitute all our backup strategy with one catalog. I just want to understand what will be the best practice in the backup perspective.
    And at all, I wonder if you please could give me very brief answer to this question: Let's say I have a huge monster with 5 disks by 500Gb RAD0+1. Is it a bad idea to store all of them in one physical machine before they will tape to backup or it could make sense? For me it sounds a bit scary, but probably if all made with the brain it's not a bad idea?
    Please, send me to some valuable and good source (like Tom Kyte or Don Burleson) Unfortunately, I didn't find anything regard the backups itself. Only pretty much general thought.
    Thanks a lot in advance.
    M.

    great!
    thanks a lot!
    this is definitely valuable info and I'll read right away. but as far as understand they suggest to use Data Guard, Standby and RAC which are the best ways to prevent your environment from crash. But in reality (I mean in my company) nobody is going to move to RAC at this point and I'm not sure, that they will have a chance to do in the next year. they just aren't up to it.
    what I'm looking for is probably some tips and hints about backups in more or less big environment, but not as big as Oracle itself :-) unfortunately, i'm the only DBA in my surrounding. i mean, i have no friends or mentors DBAs that could seat with me in a pub and pass theirs knowledge from generation to generation :-)))
    but anyway, I'll devote this week-end to this link.
    thanks a lot!

  • RMAN and Point IN time recovery

    1. We have a table with bad data.
    2. We know that data was entered via the GUI exactly one week ago.
    3. I have an RMAN database full back-up that was taken the same day but before the table was screwed.
    4. the database in archivelog mode.
    5. we will be happy to restore the database in the condition before the change occured
    5. when I restore database via RMAN, and do:
    recover UNTIL TIME '16-MAR-2005';
    Oracle restore bad data, and if I put time or scn I get a message that the database incarnation is wrong!
    Is there any other way to do it?
    TIA

    Thanks Laurent! I was able to restore it only until Mar. 17?
    1. RMAN> reset database to incarnation 2;
    2. RMAN> restore database until time "timestamp '2005-03-15 00:00:00.00'";
    RMAN-03002: failure of recover command at 03/29/2005 19:44:11
    RMAN-06555: datafile 1 must be restored from backup created before 15-MAR-05
    3. My backup was created on Mar. 16, :
    RMAN> restore database until time "timestamp '2005-03-17 00:00:00.00'";
    RMAN-03002: failure of restore command at 03/29/2005 19:46:55
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    4. RMAN>Restore database; OK
    5. RMAN>Recover database; internal error!
    RMAN-03002: failure of recover command at 03/29/2005 20:08:02
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database reco
    ver logfile 'G:\ORACLE\ORA10G\FLASH_RECOVERY_DATA\ORCLSRMA\CONTROLFILE\2005_03_2
    3\O1_MF_1_14_14442T9B_.ARC'
    ORA-00283: recovery session canceled due to errors
    ORA-00600: internal error code, arguments: [3021], [1], [15], [2], [0], [419057]
    , [0], [416789]
    6. RMAN> recover database until time "timestamp '2005-03-17 00:00:00.00'"; OK
    7.RMAN> recover database until time "timestamp '2005-03-17 00:00:00.00'"; OK
    8. RMAN> alter database open resetlogs; OK
    9. RMAN> list incarnation;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 ORCLSRMA 2671268838 PARENT 1 09-MAR-04
    2 2 ORCLSRMA 2671268838 PARENT 318842 01-MAR-05
    3 3 ORCLSRMA 2671268838 ORPHAN 380529 25-MAR-05
    5 5 ORCLSRMA 2671268838 CURRENT 409286 29-MAR-05
    4 4 ORCLSRMA 2671268838 ORPHAN 416789 25-MAR-05

  • Business continuity 11i and dataguard

    Hi,
    Is there a white paper/best practice for business continuity on 11i with single 10g instance and Dataguard solution? i've tried looking and cannot find and thing.
    thanks
    M.

    Hi,
    Please refer to:
    Note: 403347.1 - MAA Roadmap for the E-Business Suite
    Note: 464167.1 - Is Logical Standby Feature Supported For Oracle Applications Release 11i
    Comparing Oracle Data Guard vs. Active Data Guard for EBS Environments
    http://blogs.oracle.com/stevenChan/2008/10/comparing_oracle_data_guard_vs_active_data_guard_f.html
    Regards,
    Hussein

  • RMAN and Datapump Question

    Hello,
    Database : 11gR2
    I was recently provieded an access to a new database, because users are complaining of poor perfromance.
    During my monitoring of this database, and using statspack report (because we don't have licensed diagnostics pack), I have seen both RMAN and Datapump processes running together during peak hours. So I asked the DBA responsible of this server, why she's scheduling RMAN and datapump together?!! She replied that she knows nothing about these datapump processes and that could be RMAN who is using (“ Module: Data Pump Worker”) !
    This answer was surprising me since in the Oracle documentation, I never read that before! Is it correct that RMAN utility can use Data Pump Workers??!
    This is here answer : "I think these “ Module: Data Pump Worker” are run by rman during backup."
    Thank you and sorry for this stupid question!
    Edited by: 899767 on 26-ago-2011 0:47

    RMAN and DATAPUMP are two different utility provided by oracle to take backup
    Oracle Backup are divided into two parts: ---
    a) Physical Backup: -- These are the copies of physical database files and we can take it by using RMAN utilities provided by Oracle.
    b) Logical Backup: -- These contain logical data (for example tables and stored procedures) extracted with Oracle Datapump Utility and stored in a binary file
    Refer to this thread it will help
    https://forums.oracle.com/forums/thread.jspa?threadID=1133819
    And
    http://myoracleservice.com/?q=node/38

  • Expert secrets for using RMAN and Data Pump by kamran agayev and Aman Sharm

    Hi ,
    Is this book available in INDIA:
    Expert secrets for using RMAN and Data Pump by kamran agayev and Aman Sharma
    How can i get this book in India.
    Thanks,
    Alok
    Edited by: user12141893 on 6 Apr, 2012 11:25 AM
    I tried to buy this book online from rampant's official site but shipping cost was more than cost of book.
    Book is not available on Flipkart and Amazon also

    Helios,
    OP can send a mail to me too :-) .
    OP,
    We are in talks with the publisher. In India, the book would be by another partner publisher and details of it I shall be updating when would be available. Thanks for the interest in our book.
    Aman....
    PS: This is a technical forum and is not meant for such topics. Please discuss by communicating with Kamran and me over email personally. Let's keep the forum for the very purpose it is meant for-technical discussions.

  • Standby and Dataguard

    I'm new to DBA tasks.....and i supposed to setup Datagurad on oracle 9i
    Bit confused with standby and dataguard, Could any one please expalin what is standby and what is dataguard, and the difference between two

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/concepts.htm#1027493

  • RAC and dataguard

    With reference to this thread
    is Dataguard and standby dbs is HA
    RAC and DATAGAURD are two different approches for high availability and desaster recovery.
    We are planning to implememt RAC and DATAGAURD but there are budget issues also.
    With RAC As i understand we have multiple instances governing a single database. So multiple node/machines governing a single database server.
    With DATAGAURD,we have a DR solution at another location.If the primary server fails,standby database takes up the role of primary.
    With RAC alone,if any node fails, there is another node to do instance recovery or the server still continues. But what if database server crashes. WIth RAC alone and no dataguard, won't it allow downtime?

    Hi Hashmi,
    RAC and DataGuard are indeed different things, as you understood.
    Regarding your question, there is no database server, that's the whole thing. There is one database (which resides on external redundant storage like Netapp, EMC, etc.) and there are several servers that are running the instances. Downtime will occur only if the storage crashes. And if you don't trust your storage you can have ASM redundancy, so storage failure will not cause downtime as well.
    The down side, is that there is one database, so if you have logical corruption, human error, or something similar you can loose data or have downtime.
    However, the high availability is real.
    In DataGuard, once the primary is down it takes some time (not long) to activate the standby, but it has a different IP, so you should configure your DNS/clients (in advance or at failover) to connect to the activated standby.
    HTH
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]

  • Rman and bcv bkp

    hi,
    I want to find out if rman and bcv bkp both triggered together will it lead to any problem.

    hi Natarajan,
    this is the portal content management forum. for your database question please use the database forums:
    http://forums.oracle.com/forums/index.jsp?cat=18
    thanks,
    christian

  • Rman and optimizer run parallel

    we have 300GB size database and we have to run RMAN full backup which normally takes 6 to 7 hrs to complete and after RMAN completion we need to run the schema level optimizer to collect the statistics for whole database; We need at least 12 hrs complete these two process. OS – Linux with 32 GB ram and 8 CPU.
    What the impact of we run both RMAN and schema optimizer parallel.
    Is there any way to reduce the process time. Please suggest me. Thanks.
    Edited by: lm**** on Jan 28, 2011 10:11 AM

    Hi
    If you took backup of indexes and temporary tables in your full backup then instead of that you can create new tablespace and move all those indexes and temp.tables and take backup without indexes and temp.tables.
    and create one script of those indexes and temp.tables and keep it with you, because temptables are either session preserve or commit preserve so no need to tack backup of those data. it may be reduce you backup time....
    Thanks and Regards,
    Viren Patel.

  • RMAN and BRTolls

    Hi,
    shall i use RMAN and BRtools for backup on SQL Database?if not what are the backup tools for SQL.
    rgds
    Rajender.J

    Vinay,
    RMAN is recmd tool for oracle Databases.
    SAP provides the tools BRBACKUP, BRARCHIVE, BRRESTORE, BRRECOVER, BRSPACE, BRCONNECT, and BRTOOLS to manage and protect the data in your Oracle database.
    If u r talking about SQL Server better u can go for any third party tolls like netbackup or Veritas for Production DB.
    Let me know what exaclty u want to do
    Regards
    Vinod

Maybe you are looking for

  • Unable to print in adobe reader x

    I have windows xp and i recently updated to adobe reader x and now am unable to print. i have tried to print 'as an image' but I don't see a option for that on my printer ( I have a HP Deskjet D1420). I also tried uninstalling this version and puttin

  • No Mp3 Disk on Source List

    I am having trouble with mp3 disk playback. I only found one topic related which was not answered. when I insert a mp3 disk, iTunes doesn't seem to detect it. while it is available as a disk in the Finder, I don't see any reaction from iTunes. obviou

  • Queue Tables

    How to drop Queue tables ? QL> drop user test cascade; drop user test cascade ERROR at line 1: ORA-00604: error occurred at recursive SQL level 1 ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables

  • X-Fi Xtreme Fatality Platinum & Vista 5.1 not work

    Here I am again hoping that in the many months I've had this sound card that a solution will drop in my lap and I still wait. I'm going to take another shot at this and hopefully someone who knows what the problem is can fix it. Vista 64 X-Fi Xtreme

  • How does iPhoto work? What are the guts?

    I am a recent switcher from Windows and have been running OSX since the black MacBooks have come out. I used and loved Picasa on windows for pics. I have been using iPhoto and have run into problems. I am trying to get my head around just how iPhoto