Duplicate the database and incremental backups

Hello

I reviewing options to maintain a test server that is "relatively" updated compared to the production server.
This is my first contact with RMAN and I went through the books, but as I have not had a chance to play with it I could have missed something.

It is an Oracle devoted to a Redhat Enterprise Linux (not sure of the complete version number) 11.2.

The test server must be writable and must be synchronized with the server in production about once or twice a month. Due to the size of the database (~ 600 GB) we are studying solutions that could make using incremental backups that are already taken on the production database.

While launching the test using RMAN DUPLICATE server seems to be honest, I'm not sure how the "sync" can be done as effectively as possible - especially because we are changing the data on the test server.

After the RMAN BACK command description, is not clear to me if this could serve to 'recover' the database of test based on the incremental backups to the 'current state' of the production database, even if the test database has been changed. After reading a few posts here, it's not seems to be the case.

A restore point would make such a possible incremental restore? Creating a (name?) point of restoration immediately after duplication, and once the tests are finished making back to the restore point and then apply the incremental backups that have accumulated since then.


Another of the options seems to be to create a database of the previous day. Then when running the tests, we turn to the backup database in one instantaneous standby database open read/write and run tests. Once we have finished, we he switch back to a physical standby. This switchback to rewind the changes and recovery logs accumulated are applied as "incremental" catching up with production - which is basically what we want.

Is there another solution to this? Or use a watch of the snapshot, the most effective solution? If possible, we would like to avoid transferring the 600GB whenever we want to re - synchronize the database to test.

Thanks in advance
Thomas

Hi Tomas. I think you're right. Ensures the most effective solution in your situation of snapshot.

Tags: Database

Similar Questions

  • STRATEGY OF RETENTION and incremental backups.

    Consider the following scenario.

    Sunday: level 0
    Monday: level 1
    Tuesday: level 1
    Wednesday: level 1 cumulative

    If we make the recovery Friday, rman uses Level0, last level 1 and all logs after him. All other newspapers and incremental backups are not necessary.

    Now assume that the retention policy is window of recovery of 1 or 2 days. RMAN will review these logs and backups as obsolete Friday?

    Obsolete backups - backups are performed before the last full backup that is not obsolete. Because level 1 is not full backup, rman will retain all of the incremental backups and archive logs that are created after the 0 level.

  • differences between the Data Pump to back up the database and use RMAN?

    What are the differences between the Data Pump to back up the database and use RMAN? What is DISADVANTAGES and BENEFITS?

    Thank you

    Search for the backup of the database in

    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/backrec.htm#i1007289

    In brief

    RMAN-> physical backup. (copies of the physical database files)

    DataPump-> logical backup. (logical data such as tables, procedures)

    Docs for RMAN-

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmcncpt.htm#

    Datapump docs

    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dp_overview.htm

    Published by: Sunny kichloo on July 5, 2012 06:55

  • difference between the eve of the database and primary database

    can someone tell me the difference between the database and the database of relief in simple layman's language...

    Thanks in advance

    The primary database is the active production database.
    STANDBY database is a database backup (or read-only).
    Basically, the database pending is in power of the primary database (mechanism depends on the type of sleep) where users are connected to.

    Nicolas.

  • How to find sizes backupset for full and incremental backups

    How can I get the exact sizes of backupsets, full and incremental backups RMAN? In addition, it would be nice to separate the backupset size in data and archiving logs files.

    Don't know exactly what you can include in your output, but the following is an example:

    SQL> select ctime "Date"
      2       , decode(backup_type, 'L', 'Archive Log', 'D', 'Full', 'Incremental') backup_type
      3       , bsize "Size MB"
      4  from (select trunc(bp.completion_time) ctime
      5          , backup_type
      6          , round(sum(bp.bytes/1024/1024),2) bsize
      7     from v$backup_set bs, v$backup_piece bp
      8     where bs.set_stamp = bp.set_stamp
      9     and bs.set_count  = bp.set_count
     10     and bp.status = 'A'
     11     group by trunc(bp.completion_time), backup_type)
     12  order by 1, 2;
    
    Date      BACKUP_TYPE    Size MB
    --------- ----------- ----------
    03-JUL-10 Archive Log       7.31
    03-JUL-10 Full             29.81
    03-JUL-10 Incremental    2853.85
    04-JUL-10 Archive Log       3.59
    04-JUL-10 Full              7.45
    04-JUL-10 Incremental       3.05
    
    6 rows selected.
    
  • deleting files duplicate, the shadows and ghost from hard disk

    I had to sweep and re-download my pc about 3 times. There are still remnants of programs that I deleted, and I don't know how to erase them completely. Is there a software that will clean files duplicate, the shadows and Ghost and which will get rid of remnants of deleted files. Any help will be appreciated. Thank you

    Hello

    · What is the location of the remaining files of the programs that you have removed?

    You can run the disk cleanup utility to remove all unnecessary files on your computer.

    Delete files using disk cleanup

    http://Windows.Microsoft.com/en-us/Windows-Vista/delete-files-using-disk-cleanup

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Duplicate the size and the position of several objects.

    Is it possible to duplicate the position and size properties and apply them to different objects on slides?

    In short, I have short videos I want located at the same place on each slide more than 30 slides. The videos vary, but the slide location must be the same. It becomes particularly bulky on a sensitive project to manually adjust things for not only all the slides, but once again for Tablet and phone views as well.

    Use the Guides in Captivate 9: for projects of nature reactive, leaders are in % and you can use the snap to guides easily position the videos. Take a look on:

    Rule guides! -Captivate Blog

  • How to start the database and servers after the installation of the Webcenter JSK Portal

    Hello

    I finally installed the portal WebCenter using JSK, after it turned off the machine, I don't know how to start the database or server, I need to set the environment variables? create the oracletab file? or is it a file .sh to start the database and servers?

    Any help will be great!

    Best regards!

    Thanks Françoise-Oracle for your response

    As you say, I need to go to /WCPortal_JSK_Linux.x 86-64/linux64, I found all the scripts that I needed to start or stop a server or database. But more especially if you run evertything, (I did) you just need to run the de./startup.sh script and wait, he'll run, but take some time.

    Best regards!

  • Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello.

    Hello

    Do you have any idea of this error, I went through a few forums, but I still got the same message.

    FDM is my server on computer A

    and my Foundation + shared on machine B


    Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello

    Browse the following post

    Failed to create the application of FDM

    (mark this message as useful or appropriate if that helps!)

    concerning

    -DM

  • Oracle HTTP server on a different machine than the database and APEX

    Hi guys!

    I wonder if its possible to have Oracle HTTP Server installed on a different machine then the database and APEX?

    With respect,

    PsmakR

    Hello

    exactly. Details have recently been examined here: {: identifier of the thread = 1955437}. You will find the link to the license document it.
    But OSH is not only registered with the database. If you have an OAS running somewhere, you can use the HTTP server that comes with this instance for APEX as well.

    Another option could be the APEX listener that runs on (almost) any J2EE container. The officially supported include the embedded GlassFish and the Open Source Edition of GlassFish, who both don't need no extra license.

    -Udo

  • What is the exact difference between cloning the database and updating of the database?

    Hello

    Can someone like me precisely the difference between cloning the database and updating of the database?

    I have some conflicts in these topics.

    Thank you
    Rajesh

    Discounting is what he says, "Refresh". You have a main site which would always have the data inserted into it. There is another site that would stay somewhere else. This site needs to be updated with the main site. It must be the export of primary, push the site high school and done!

    HTH
    Aman...

  • The difference in the value of the column of a flag in the database and OBIEE. Level of response

    Hello

    Field of the FLAG column, like "Accepted_Flag" can be {0,1} or {"n", "Y"} at the database level. Is there a way to OBIEE help we can transform this area of {0,1} to {'Y', ' n} or vice versa?

    Basically, we would like to understand if there is a way by which we can see a different output to the database and the OBIEE. Levels of responses:
    -DATABASE: Select accepted_flag from table_a returns * {0,1} *.
    -OBIEE answers: Select accepted_flag from presentation_table_a returns * {"n", "Y"} *.

    Please notify.

    Thank you and best regards,
    Abhishek

    You can create a logical column or responses using case statements:
    -case when table_a.accepted_flag = 1 then 'Y '.
    When table_a.accepted_flag = 0 then 'n '.
    end

  • How do I delete the database and backup of the ASM

    Hi all

    Oracle 11.2.0.3 database
    OEL 5.7

    We have a host for restore purposes.
    Run us monthly or quarterly operations to verify that I am able to restore a subset data in the given duration or for other purposes of restoration.
    I have an automated script to clone the database, but the database Clone to remove former base ASM before starting this process. I want to delete only the database files and keep the configuration (for example oratab/network/ocr and so on).

    Question: There is an easy way to delete these files without logging on ASM or using DBCA?

    Appreciate any help.

    user12028775 wrote:
    Hi all

    Oracle 11.2.0.3 database
    OEL 5.7

    We have a host for restore purposes.
    Run us monthly or quarterly operations to verify that I am able to restore a subset data in the given duration or for other purposes of restoration.
    I have an automated script to clone the database, but the database Clone to remove former base ASM before starting this process. I want to delete only the database files and keep the configuration (for example oratab/network/ocr and so on).

    Question: There is an easy way to delete these files without logging on ASM or using DBCA?

    Yes, there is a simple way. Use the DROP DATABASE command.

    Use the DROP DATABASE command to remove the database target and, if RMAN is connected to a recovery catalog, unregister it. RMAN removes all the data files, online redo logs and control belonging to the target database files. By default, RMAN prompts.

    Put this command in your script before clone your database:

    RMAN> CONNECT TARGET SYS@test1
    
    RMAN> STARTUP FORCE MOUNT
    RMAN> SQL 'ALTER SYSTEM ENABLE RESTRICTED SESSION';
    RMAN> DROP DATABASE INCLUDING BACKUPS NOPROMPT;
    

    Kind regards
    Levi Pereira

  • What do I need to use the database shall begin backup mode to perform the backup?

    Hi all

    I have a primary database to 10g (10.2.0.4) with intelligence on a solaris platform. I need to create a different primary eve for the same database.

    I stopped the recovery based on standby and began copy (copy of the os) the existing files pending at the 2nd backup server. But I didn't keep the (mounted) existing standby database into begin backup mode. Is this right?

    Thank you

    Arun

    For a mounted database backup mode?

    orclz >

    orclz > startup mount

    ORACLE instance started.

    Total System Global Area 788529152 bytes

    Bytes of size 3050600 fixed

    373293976 variable size bytes

    406847488 of database buffers bytes

    Redo buffers 5337088 bytes

    Mounted database.

    orclz >

    orclz > alter database begin backup;

    ALTER database begin backup

    *

    ERROR on line 1:

    ORA-01109: database is not open

    orclz >

  • With regard to the restoration of the database and recovery (DBPITR)

    Hello

    Today I have a level 0 backup (23/01/2015) and I want to restore and to recover the database up to yesterday (22/01/2015-21:00) by using the backup of level 0 of today.

    Is this possible? If so, please tell me how?

    Thanks in advance.

    Hello

    It is not possible to restore and to recover the database until yesterday with the backup of level 0 of today.

    Your flashback database is active? If it is active, then you can use flashback database.

    to check it out;

    Select flashback_on in the database of v$.

    Talip Hakan Öztürk

Maybe you are looking for