Synchronous multimaster replication Backup strategy using RMAN

Hi all,
I am using synchronous multimaster replication. my question is backup strategy has to perofirm in all the master site or only in any of 1 mastersite? what all problems will encounter in RMAn backup in my scenario please help me out with your suggestion
nagaraj.K
[email protected]

You ask: "I want to configure backup strategy using RMAN. any one can help me that"
And the answer is clearly no we can not.
An RMAN backup strategy depends on your SLA (Service Level Agreement) with your customers that you didn't post. What is your down-time window? What is your skill set?
You ask: "How to configure for RMAN Incremental backup?"
Read the docs at http://tahiti.oracle.com for your version (which you didn't mention).
You ask: "What will be backup space and there size ?"
We have no idea. Are you going to create an image copy or a backup set? Read the docs and learn the difference. Are you going to turn on compression? Are you going to back up only changed blocks? We don't know.
You ask: "how to manage growing online archiving files?"
Again we can't help you without knowing your SLA. How many MG/GB are they? What period of time do you need to retain them to meet your SLA? When you figure this out back up to tape those you don't need to keep on the server.
You ask: "how to manage growing data and there disk space?"
This is one we can answer: BUY MORE DISK! That was easy.
You ask: "How we can give good performance our CPU and memory?"
Do you really expect that we can with zero knowledge of your environment, your version, your application, etc. distill into a few short paragraphs the collective wisdom of Cary Millsap, Jonathan Lewis, and the rest of the Oak Table Network membership?
Of course we can not. So what you need to do is buy Cary's book, Jonathan's book, and take their classes.
You ask: "we need keep all archive log in backup files or we need to remove old archive files?"
Remove the old ones after being absolutely sure you have a good backup.
You ask: "where we can take backup tape drive,SAN,disk removable hard disk? which one is better?"
No one solution is better than the other. They are all adequate.

Similar Messages

  • Oracle 9i TEMP tablespace backup problem using RMAN!

    Oracle8/8i whole backup is ok for our backup software(using RMAN without RC database), but for Oracle 9i, I get following error messages when backing up temp tablespace.
    1. RMAN-20202: tablespace not found in the recovery catalog
    2. RMAN-06019: could not translate tablespace name "TEMP"
    I check some views of Oracle9i, and know some changes happen for temp tablespace in 9i, but how to deal with this problem. Any idea, please!

    In 9i RMAN does not restore temporary datafiles. Instead, you should create them after your restore. I believe that Oracle is going to make a change to this in the next release of 9i and have RMAN create the temporary files. You can view the temporary datafiles @ v$tempfile.
    I believe RMAN doesn't restore temporary files because they are locally managed and not in the control files. RMAN reads the controlfile of the target database to obtain info about backups, datafiles, etc.
    Hope this helps.

  • Database restore  from a particular backup set using rman

    Hi all,
    My OS: UNIX
    DB : 10.2.0.1
    As i checked the database it will indicate datafile 5 is header corruption.
    yesterday i take complete online backup of the database using RMAN but now when i run restore database command it will show as
    ORA-19870: error reading backup piece /cms/BACKUP/ora_BSCS_set149_piece1_20111206_4lmth1qj_1_1
    ORA-19573: cannot obtain exclusive enqueue for datafile 6
    Database is open and datafile is physically present there
    So can anyone tell what to do next
    Edited by: Vikas Kohli on Dec 9, 2011 9:58 AM

    here are the result for the same:
    Starting restore at 09-DEC-11
    using channel ORA_DISK_1
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    147 Incr 0 1.10G DISK 00:14:10 06-DEC-11
    BP Key: 147 Status: AVAILABLE Compressed: YES Tag: TAG20111206T085858
    Piece Name: /cms/BACKUP/ora_BSCS_set149_piece1_20111206_4lmth1qj_1_1
    List of Datafiles in backup set 147
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/system01.dbf
    2 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/undotbs01.dbf
    3 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/sysaux01.dbf
    4 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/users01.dbf
    5 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/DATA.dbf
    6 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/users02.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    149 Incr 1 11.49M DISK 00:00:07 07-DEC-11
    BP Key: 149 Status: AVAILABLE Compressed: YES Tag: TAG20111207T082737
    Piece Name: /cms/BACKUP/ora_BSCS_set151_piece1_20111207_4nmtjkbr_1_1
    List of Datafiles in backup set 149
    File LV Type Ckp SCN Ckp Time Name
    1 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/system01.dbf
    2 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/undotbs01.dbf
    3 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/sysaux01.dbf
    4 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/users01.dbf
    5 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/DATA.dbf
    6 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/users02.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    151 Incr 1 115.07M DISK 00:01:24 08-DEC-11
    BP Key: 151 Status: AVAILABLE Compressed: YES Tag: TAG20111208T075327
    Piece Name: /cms/BACKUP/ora_BSCS_set153_piece1_20111208_4pmtm6nn_1_1
    List of Datafiles in backup set 151
    File LV Type Ckp SCN Ckp Time Name
    1 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/system01.dbf
    2 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/undotbs01.dbf
    3 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/sysaux01.dbf
    4 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/users01.dbf
    5 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/DATA.dbf
    6 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/users02.dbf
    no backup of log thread 1 seq 411 lowscn 9068988025356 found to restore
    no backup of log thread 1 seq 412 lowscn 9068988167985 found to restore
    no backup of log thread 1 seq 413 lowscn 9068988203392 found to restore
    List of Archived Log Copies
    Key Thrd Seq S Low Time Name
    263 1 3 A 05-DEC-11 /u01/app/oracle/admin/BSCS/arch/BSCS/1_3_769127125.dbf
    273 1 13 A 07-DEC-11 /u01/app/oracle/admin/BSCS/arch/BSCS/1_13_769127125.dbf
    Media recovery start SCN is 9068988123314
    Recovery must be done beyond SCN 9068988123314 to clear data files fuzziness
    Finished restore at 09-DEC-11

  • Cold backup downtime using RMAN

    Over the weekend I performed a cold RMAN backup on a 3.6 TB
    database. Because a lot of the database was backed up with
    transportable tablespaces, the net amount being backed up was
    approximately 365 Gb. I took down the database at 11:00 and the
    script finished at 4am, but in reviewing the logs, the database
    actually appears to have been opened at 2am.
    I assumed that the database would be down the entirety of the
    backup. Can anyone help me understand why the database was
    opened so long before the RMAN command completed? Was the
    backup adversely affected in any way by a user obtaining access
    prior to the RMAN process completing.
    Any information greatly appreciated.

    unfortunately i think you misunderstood the original question. i took the database down to do the cold backup. in order to use rman, you have to startup nomount the instance.
    the script run was:
    #!/usr/bin/ksh
    rman msglog '/data2/oracle2/local/log/rman_lvl0.log' <<EOF
    @connect.rman
    run {
    backup incremental level 0 tag full_bkup0 database diskratio=0;
    alter database open;
    exit;
    EOF
    exit
    the "alter database open" tells RMAN to open the database once the backup is completed. i had a process running that checked each 10 seconds to see if the PID for the RMAN process was still running. The process itself appears to have run for an additional 2 hours after the database was opened.
    there is nothing on the system to suggest that the database was opened by anything other than RMAN. was the database opened prematurely? was the additional time spent in the RMAN script doing the sync in the database? did the usage by the user prior to RMAN completing invalidate the backup? (so far the cloning is still running without error).

  • Backup database using RMAN

    Hi,
    I wanted to perform the first backup with RMAN and I used this command and I got error:
    RMAN> BACKUP AS COPY DATABASE;
    "can not backup or copy active file in noarchivelog mode".
    But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
    I also performed this command successfully...
    RMAN> configure controlfile autobackup on;
    new RMAN configuration parameter are successfully stored...
    but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    Thanks,

    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?You can do RMAN backups with DB in NOARCHIVELOG mode, but the DB must be MOUNTED and not OPEN. You can do something like the following :
    $ $ORACLE_HOME/bin/rman nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Feb 9 01:18:08 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN> connect target
    connected to target database: DB102 (DBID=XXXXXXXXX)
    using target database control file instead of recovery catalog
    RMAN> run { allocate channel d1 type disk;
    2> shutdown;
    3> startup mount;
    4> configure controlfile autobackup on;
    5> backup database;
    6> sql 'alter database open';
    7> }
    I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    RMAN> list backup of controlfile;

  • Backup SunMC Using RMAN

    Hi,
    I know that SUN has a utility calls es-backup to backup the SunMC. However, since we could NOT affort to shutdown the SunMC for backup, can we use RMAN to backup SunMC Oracle database, SunMC Config files? This means that SunMC Processes are running during backup operation. Can I use this immage to restore? Thanks
    Appreciate your help very much.

    use es-backup with -o option; which does online backup. Make sure that oracle is running in archive mode. To configure this you must have run
    /opt/SUNWsymon/sbin/es-config -a
    I hope this will help.
    Cheers,
    Zia-ul-Hassan
    Message was edited by:
    zhassan
    Message was edited by:
    zhassan

  • Backup procedure using RMAN for 11i Instance

    Hi,
    we have 11.5.10.2 instance
    Node 1 = Application Tier ( 11.5.10.2)
    Node 2 = DB Tier ( 9.2.0.7)
    as of now, we are taking daily cold backup of both instances.
    we want to implement RMAN online backup for DB and take cold backup every week end only.
    so, what are the best procedures for implementing RMAN for 11i Database.
    Please share your experience, if you have anybody implemented?
    which one you prefer in RMAN backup ( backupsets or copy option or backupsets with compressed option) interms of performance.. our db size is 60 GB only.
    we apply apps tier patches very rarely . so we want to take RMAN online backup for DB daily and take cold backup for entire apps and db in the week ends.

    Hi,
    This time, i am going to implement for Oracle 11i Database. thats why, i need you guys advice regarding 11i Database.Well, the same is applicable to 11i/R12 databases. You just need to configure RMAN the same way you configure it on any standalone database.
    If you have implemented any where RMAN, can you share, how you are taking RMAN backup? I can share the scripts we use for backup using RMAN. If you are interested, let me know and I shall send it by email.
    if we want to clone, are you cloning the TEST instance with RMAN backup or using cold backup.We use both, depends on the time frame of the cloning task and whether it is possible to use cold backup for cloning or not.
    Please have a look at the following notes, it should be helpful.
    Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1
    Note: 760772.1 - Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1
    Note: 362473.1 - Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362473.1
    Regards,
    Hussein

  • Backup/restore using RMAN with no catalog

    Hi all,
    Can someone tell me if this is correct:
    I have two identical machines, same configuration and same file structure, everything is the same.
    On machine A, I have a 9.2.0.7 database running. I take a hot backup and try to restore it on machine B.
    Note: I am using RMAN for backup/restore whith no catalog.
    This is how I perform backup on machine A:
    ALLOCATE CHANNEL C1 TYPE DISK;
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    BACKUP INCREMENTAL LEVEL=0 CUMULATIVE format '/backup/level0_%u' BACKUP CURRENT CONTROLFILE format '/backup/control_primary' FORCE;
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    BACKUP ARCHIVELOG ALL format '/backup/archivelogs_%s_%t';
    On machine B, here is how I perform restore:
    SET DBID 1221334455;
    RESTORE CONTROLFILE FROM '/backup/control_primary';
    ALTER DATABASE MOUNT;
    RESTORE DATABASE VALIDATE;
    RESTORE DATABASE;
    Recover database;
    Thanks,

    You forgot to restore the spfile or pfile on the second node to go to nomount state.
    OR
    You can use RMAN Duplicate to do this.
    Regards
    Message was edited by:
    Singh

  • How to backup database using RMAN on another server's tape?

    Dear All,
    Please give me an advise what parameters I should set up in RMAN to backup database on another server's tape.
    Best wishies,
    Givi

    I am connected to the database server from the server
    where I have tape, but Rman is searching tape on
    database server.I am not sure I understabd the above statement, but at the Operating System Level, you must ensure that from the Server you are running RMAN, it is configured to see the Tape Drive of the other Server. Once the Remote Tape is mounted with any name (say sbt) on the Local Server (however it is done with), then RMAN can configure the channels to use it.
    If you cannot get this access at the Operating System Level, then do not bother trying RMAN to access it.

  • Need help with Backup Recovery using Rman - Point in Time.

    Hi all,
    I am trying to recover my database to a certain point in time. Here are the details below.
    Oracle database version is. 11G R1. on 2 Node RAC. OS is AIX.
    Database name is Sales.
    Due to a mistake by the Application team, the database is written over by bad data. Now I have to restore the database in to a point in time, where the database was good.
    For this, i took a whole (full) RMAN backup, everything, all the archivelog files and Controlfiles as well.
    After doing this, i dropped the entire database. So now everything is clean.
    Now i have to restore and recover the database to this point in time.. 03/16/2011 12:45:00
    Please guide.
    The backups are located at.. /backup/sales/rman/
    I am trying various things, but each time i get the msg..
    ORA-01507: database not mounted
    I understand.. the reason for this message is the controlfile does not exist.. as the database is in mount mode. But as i said.. i have dropped the database in order to proceed with entire restoration.
    But i have taken a whole backup.. which also includes the controlfiles + archivefiles.
    Please guide.. with proper steps and commands.

    Hi,
    Priror to start with restore and recovery - Try to restore the control file from backups "/backup/sales/rman/"
    Then further you can mount the db and further carry on with recovery (catalog the backups prior to recovery)
    - Pavan Kumar N

  • RMAN Backup Strategy Comment Needed

    Hi,
    Currently I'm trying to implement a backup strategy with RMAN.
    Scenario: My side we're 5 days operational (Monday to Friday). I'm planning my backup as follow:
    Mon – Incremental level 1 differential
    Tue – Incremental level 1 differential
    Wed – Incremental level 1 cumulative
    Thurs – Incremental level 1 differential
    Fri – Incremental level 0 (aka full database backup)
    I planned Mon,Tues and Thurs as an incremental differential, while Wed as an incremental cumulative. With Wed as a cumulative backup, my thinking is that if my db is to fail on Thurs/Fri, my recovery will need to apply fewer backups but at the expense of storage.
    Any comment or view about the strategy will be greatly appreciated.
    Thanks and Regards
    Eugene (ET)

    hi,
    there is Oracle suggested backup strategy
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm
    other
    http://books.google.cz/books?id=3aEIIqRHkY8C&pg=RA1-PA326&lpg=RA1-PA326&dq=oracle+rman+backup+stratery&source=bl&ots=DrnVZ3tZPs&sig=QajKM0SXbpoa3eWZgl5kmwmSUPI&hl=cs&ei=o6xcSvSaCpKwsAbmu8yVDA&sa=X&oi=book_result&ct=result&resnum=4
    Regards,
    Tom

  • Help me! cann't restore database using RMAN!!

    i've backuped database using RMAN,
    now datafile of system tablespace have lost,
    and i execute the command as following:
    run {
    allocate channel c1 type disk;
    restore database;
    these are errors:
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: restore
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: IRESTORE
    RMAN-06003: ORACLE error from target database: ORA-01843: not a
    valid month
    RMAN-06097: text of failing SQL statement: select decode(bitand
    (festa,(4096+128)
    ),128,fecps,4096,fecps,0) ,decode(bitand(festa,
    (4096+128)),128,281474976710655,4
    096,controlfile_change#,0) ,decode(bitand(festa,
    (4096+128)),128,SYSDATE,4096,con
    trolfile_time,to_date('JAN 01 1988','MON DD
    YYYY')) ,feofs ,feonc_scn ,to_date(n
    vl(feonc_tim,'01/01/88 00:01:01'),'MM/DD/RR HH24:MI:SS')
    into :b1,:b2,:b3,:b4,:b
    5,:b6 from x$kccfe ,v$database where (fenum=:b7 and fedup=1)
    RMAN-06099: error occurred in source file: krmk.pc, line: 21652

    Try setting the NLS_DATE_FORMAT at the command prompt.

  • 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!

  • Backup using RMAN

    Hi,
    I want to perform the first backup with RMAN and I used this command and I got error:
    RMAN> BACKUP AS COPY DATABASE;
    can not backup or copy active file in noarchivelog mode.
    But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
    I also performed controlfile autobackup on but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    Thanks,

    Hi
    Yes, you must shutdown the database and set it to start in ARCHIVELOG mode.
    After that you can connect to the rman catalog and the target database and execute a backup.
    eg. RMAN> backup database;
    You can search other example posted by me:
    eg.
    - Re: Backup with RMAN
    - Re: How do i set up this backup strategy?
    To be sure that you backed up your control file you can issue the rman-command:
    RMAN> list backup of controlfile summary;
    Bye, Aron

  • Full DB backup using RMAN

    Hi
    I have RMAN backup taken using "backup database" command. Does this backup include control files, spfile, redo logs, archive logs along with datafiles?
    How should be a backup strategy in order that db is recovered without any dataloss?
    Thanks
    JIL

    If you CONFIGURE CONTROLFILE AUTOBACKUP ON controlfile and spfile backups are automated. They go to the FRA (FlashRecoveryArea) if you have an FRA defined, else they go to $ORACLE_HOME/dbs (on Unix/Linux).
    Redo Logs are never backed up by RMAN.
    BACKUP DATABASE does not include ArchiveLogs unless you run BACKUP DATABASE PLUS ARCHIVELOG. Alternatively, run BACKUP ARCHIVELOG ..specification.. seperately after the BACKUP DATABASE.
    Please read the Oracle documentation on Backup and Recovery.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

Maybe you are looking for