RMAN script to the completely different site

Hi experts,
I have a project of migration with the following basic scenario:
A1. Saturday 14:00, DB will be discontinued temporarily
A2. FULL backup of the DB and until the end
A3. copy the backupsets in the staging of file system on the 2nd site
A4. Open DB production in READ ONLY mode to prevent the modification of the data, until the 2nd DB is ready
A5. Restore the backup at 2nd site
A6. Upgrade the 2nd DB restored 9iR2 at 11 GR 2 and redirect the 2nd DB apps

Notes:
-I do not use in this case RMAN catalog

-* 1 site *.
FULL and incremental backup location: /oracle_backup

-* 2nd site *.
FULL and incremental backup location: /staging_backup

to reduce the amount of downtime, I have a plan to change the script like this:
B1. before Saturday (let's say it's Friday-21:00), I'll take the full production DB Backup, copy backupsets and restore it on the 2nd site
B2. and Saturday @2 pm, prod DB will be stopped and I'll take the backup archivelog backup and copy them into /staging_backup in 2nd site (I think it's much faster than the point A2)
B3. OPEN READ ONLY in prod DB
B4. Restore archivelog backup on 2nd site
B5. Start the upgrade and redirect the apps to the new DB

I see 3 problems here:
1. since I'm using Oracle 9iR2 (9.2.0.8), I can't recataloguer my backupsets of staging of file system
2. the 2nd site structure is completely different, that I know I can use the NEWNAME VALUE to set the new location. But my data files are over 100 s.
3. once I restored from a full backup on Friday, how do point B4?

Please advice :-)

Thank you
Yusata.

Hello
You say you start the lot for the next time:

It's Friday 21:00

So you should all archivelogs created from Friday 20:59:59 to go.

What I need to copy archivelog on/d06/oradata/TOST/archive (in the 2nd site)?

This is a correct option, that here the recovery command will automatically look for because it is the setting for the destination of the archive.
(The other option would generate for the archivelogs backupsets and copy them to "/ staging_backup".)
So, how "roll forward" as you said?

RMAN
connection target;
recover the database;

Kind regards
Tycho

Tags: Database

Similar Questions

  • When I enter a website known, I redirected to another completely different site. Why?

    I saved a site Web from AT & T about the situation at wide band. For some reason, it is now completely associated to Linked In. When I click on anything that is supposed to take me to LI, it redirects me to the AT & T broadband status page. Even when I write in the url to www.linkedin.com, I'm redirected to the AT & T site. I don't know how this association was made and don't know how to fix so I can access my Linked In page. Everyone knows this redirect automatic and dominant?

    Hello, please try to reset firefox and see if that can solve the problem...

    also run a scan complete of your different system with security tools like the free version of malwarebytes and adwcleaner.

    Fix Firefox problems caused by malicious software

  • Error in the configuration of RMAN script for physical Standby creation

    Version of database - Oracle Database 11g Enterprise Edition Release 11.2.0.1.0

    I do creating waiting using physics 'RMAN duplicate script.

    The standby db is in nomount State.

    But when you connect to the primary database of standby DB to run the RMAN script on the backup server, I get the below error: -.

    [oracle@manu ~] $ rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY path = duplicate.trc

    Recovery Manager: release 11.2.0.1.0 - Production on Fri Jan 18 13:13:11 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04005: target database error:
    ORA-01031: insufficient privileges


    I checked a few password file is to say things as db and Eve tnsnames.ora and listener.ora primary in both primary and standby, everything seems perfect.

    Can someone help me find the real problem?

    All tips/ideas would be very appreciated

    Published by: 918868 on January 18, 2013 12:25 AM

    Published by: 918868 on January 18, 2013 12:27 AM

    Hello;

    I don't know I would use sqlplus to solve a problem of RMAN. At the end of the day, you still have to use RMAN to connect.

    You can debug by taking:

    rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY trace=duplicate.trc
    

    And then just try:

    rman target sys/oracle@orcl 
    

    Assuming this works, you can refine the RMAN connection problem.

    Connection string your RMAN:

    rman target sys/oracle@orcl auxiliary sys/oracle@ORCL_STBY trace=duplicate.trc
    

    Is different from the ones I use:

    rman target sys/password@PRIMARY auxiliary /
    
    OR
    
    rman target=sys/password@primary auxiliary=sys/password@standby
    

    In addition, you must have a static entry on the side of the day before, so you have something to connect to:

    Example of

    LISTENER =
        (DESCRIPTION_LIST =
          (DESCRIPTION =
            (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = 1521))
          )
        )
    
    SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
          (global_dbname = STANDBY_DGMGRL.hostname)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
          (sid_name = STANDBY)
          )
          (SID_DESC =
          (global_dbname = STANDBY.hostname)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
          (sid_name = STANDBY)
    )
    

    The listener must be restarted to see this entry.

    The tnsnames.ora will also the entries for two databases as both sides need to connect.

    Keys to success

    1. new Eve started NOMOUNT on new password file. (So the watch is a current master password renames and then the database started in NOMOUNT use it)
    2. hard coded listener on the new standby server.
    3 fix the tnsnames.ora files.
    4 fix the command duplicate.

    Best regards

    mseberg

  • RMAN SCRIPT TO CLEAR THE BACKUP ITEMS MORE THAN 2 DAYS...

    Hello

    I take a full backup of the DB using RMAN script. The script is as below:

    grc_backup
    {allocate channel ch1 type disc format ' / home/oragrc/GRCbkup/rman_bkp/data/%T_%c_%s_%f';}
    backup database;
    SQL ' ALTER SYSTEM
    ARCHIVE LOG CURRENT ';
    change archivelog than any overlap;
    ARCHIVELOG backup all the format ' / home/oragrc/GRCbkup/rman_bkp/Archive/%T_al_%U.bck';
    current backup controlfile as ' / home/oragrc/GRCbkup/rman_bkp/%T_cf_%U.bck';
    }


    This script is supposed to run on a daily basis via an OS script.

    The problem is on a daily basis after the backup that I have to delete the backups more than 2 days. For this I use an OS script that finds the backups more than 2 days to find the command and deletes it. This script also removes the archivelogs over 2 days.

    I just know that it is not advisable to delete RMAN backups and archived logs OS command when using RMAN.

    I figured out the following script, I have changed the script and instance names are different please find below

    CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;
    Configure type disk parallelism 1 backup compressed backupset device type;

    run
    {
    allocate channel d1 type disk;
    backup filesperset 5 ' format / u06/backup/EBSDEV/EBSDEV_data_t%t_s%s_p%p' database;
    SQL 'alter system archive log current';
    format of backup filesperset 20 ' / u06/backup/EBSDV3/EBSDV3_arch_t%t_s%s_p%p' all entered archivelog delete;
    backup format ' / u06/backup/EBSDEV/EBSDEV_control%U' current controlfile;
    backup spfile format ' / u06/backup/EBSDEV/EBSDEV_spfile_%U';
    SQL 'alter controlfile backup trace database as "/tmp/control.trc" re-use";

    OVERLAP BACKUPSET;
    DELETE NOPROMPT OBSOLETE;
    DELETE THE EXPIRED NOPROMPT BACKUP;
    }
    list summary backupset;
    "exit";

    Can someone suggest me this AM I correct...

    Yes.

    Note: The OVERLAP should be OVERLAPPING BACKUP.

    Hemant K Collette

  • After I do a search for a particular Web site and click on the link, I have redirected to a completely different Web page that has nothing to do with the site I was looking for.

    When I click on the link from a web page I get redirected to a completely different page. How can I stop this?

    It seems that your computer is infected.  You can continue cleaning your system getting assistance at a forum free online, as one of those listed below, who specialize in solving these issues...  You will need to register first.

    Malware removal Forum
    Safer-Networking Forum

    What is the Tech Forum

  • Dream Weaver cc Design view problems why is completely different design of the live display view

    Why Why oh why oh why is the cc Design view completely different from live view - live mode view is good, but virtually nothing is editable. How the hell can Adobe market a web as wysiwyg design tool when design mode is terrible. I saw old messages regarding this versions in 2014 and 2015.

    I'm not completely illiterate code but I would change the drawings etc. without digging deeper into the code. It's 2016 I stopped using the ages of tables there are available to my creations, but it seems that all cram into a table is the only way to get a half-decent idea of what is happening in design mode. I use a Mac which probably didn't help, but in the interest of the essential may be easier not more difficult.

    If it is true that Dreamweaver is really only for kernel developers hard, they should say so and start promoting Muse or similar for people who don't want to spend hours crafting code in all the different possible options such java php etc to produce a well-designed functional Web site.

    Does anyone know if there is a solution to this

    Design view has always been horrible to show you the design of the site, but some things worse.

    It does not run scripts of any type and more advanced css is completely invisible to the it. Code errors will also break Design mode almost instantly. Make sure you're validating your code under file > validate > validate the current document (W3C) or going directly to the validator online at http://validateo.w3.org/nu. Pay close attention to any structural errors listed are those that make the Design view go nuts.

    For what it's worth, DW is not really a wysiwyg program in the strictest sense of the acronym, regardless of how many guys at Adobe marketing wanted to believe this claim. DW requires a solid knowledge of html, css and javascript to get the best out there for static sites. These days, we use floats CSS, margin, padding and display properties to build our page layouts. While the program comes with base layouts, you can click to start with, do not understand the desire of "why it works" quickly cause massive frustration levels.

    If you really don't want you your hands dirty with the code, or simply do not have the time to become familiar with the basics of html and css, Adobe Muse would probably be a better option for you.

    Here are some links that will help you to understand its relationship to format html and css, and I hope that allow you to make more sense to DW:

    http://www.w3schools.com/HTML
    http://www.w3schools.com/CSS

  • Malware attack of the script on the Web site

    Hello

    I'm a Web Designer and one of my sites was hacked recently, although the site is now clean I am concerned about malware that may have been installed on the PC of the user of the site with my own PC. The pirate has placed a script on the homepage which has opened a small iframe which connected to a website - I think THAT THIS WEBSITE IS DISTRIBUTING MALWARE OF SOME SORT so don't VISIT IT UNLESS YOU KNOW WHAT YOU're DOING - feedfaster (dot) com.

    I have not noticed any problems with my PC, but one of the users of the Web site contacted us because he was afraid. He told me he worked in internet security and that the site had installed a "backdoor" on his PC. He also said 'It was a very clever attack signature that is not captured by AVG, Sbybot or MalwareBytes' and only there because of what he was going to 'trash his PC. He told me that the script has been targeted to computers running windows and Internet Explore or firefox.

    I visited the site myself at the time the script was there and you click on ignore the warnings I got from my browser (as I tried to see what was going on on the site), so if there is a malware problem, I'm sure it will be on my PC. Today, I run the Microsoft Windows Malicious Software Removal Tool (Jan 2012) and also scan of Microsoft Security 1.0.3001.0 (which I downloaded today) and none of them found no problems. I also ran a scan complete wth AVG which found nothing either.

    Anyone would be able to tell me if these 2 tools of Microsoft detects the malware distributed by feedfaster if she was there and if not will be updated tools to detect in the near future?

    Any help or advice on this would be greatly appreciated.

    Mike

    Hi Mike,.

    If you think that your computer is still infected with a virus, try following the steps 1 and 2 in this virus/malware removal guide: http://www.selectrealsecurity.com/malware-removal-guide
    It contains instructions which will remove most malware infections. If you have any questions, just ask me. I hope this helps you.
    Brian
  • understanding the order of the commands in the RMAN script

    I just started working at a new job and prior s/n had left until I'm there. I'm looking at the RMAN script to back up the database of the single instance 11 GR 2 and I do not understand what is the need of two commands 'backup duplication "? Would it not be prudent to also have a command of "overlap of the archivelog backup all ' as well? In addition, what is the point of having the command "Restore database overview" in the daily backup script?


    run
    {
    cross-checking of backup;
    retrieve the copy of the database with the tag "ORA OEM_LVL1_ILANDB_PRIM$ ' until ' SYSDATE-1';
    backup incremental level 1 to retrieve the copy with the tag "ORA$ OEM_LVL1_ILANDB_PRIM" database more archivelog delete all entries;
    delete noprompt obsolete;
    Overview of database restore;
    cross-checking of backup;
    }

    Hello again;

    These jump out of me.

    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; (too low would set to minus 2 and would consider higher)
    CONFIGURE EXCLUDE THEM FOR TABLESPACE "WEBTASK_DATA"; (Consider removing unless you have good reasons for maintaining)
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; (Review based on your configuration - for Data Guard may be different)

    STRATEGY OF RETENTION may be based on redundancy or a window of recovery. For redundancy, I like 2 or 3, for recovery window I like 7.

    Best regards

    mseberg

  • What script use to redirect to the new mobile site muse uploaded to an existing site?

    I create a mobile site that I will upload to an existing outside the BC site. Should what script I use to detect the mobile device and redirect to the new mobile site?

    "< script type="text/javascript">".

    If ('desktop' == 'phone') {}

    window.location = ' http://www.site.com/phone/index.html';

    }

    < /script >

    or

    " < link media="only screen and (max-device-width: 370px)" rel="alternate" href="... /phone/index.html"/ >

    or something different.

    Thank you

    If you use Muse 3.0 or later version, should not have to do anything - Muse will automatically handle redirection logic.

  • One login for two different sites of the BC

    I have a client who has created two different sites of BC due to the product of the limit of two Types of pricing. Site 1 has the retail and dealer price and location 2 is distributor and master distributor prices.

    Site 1 is the main and has documents in a neighborhood secure requiring access to all levels of the four user, my client would like to allow customers to have a single login for both sites for users of site 2 can access documents in a space secured on site 1 without having to maintain two connections.

    Anyone know if it's feasible say with a biscuit or a special script?

    Thank you

    Barry

    Barry H, you must set up a system which hangs in the API of so, but that is at the heart of CRM and interacts with both sites.

  • Why should Windows 8.1 I 2 different profiles with the same default folders, but each with completely different content?

    I want to save my e-mail and archives. I intend to put them in my folder "Documents" for backup of 'Cloud' and also in an external hard drive that I have always used in the past and, as a child of 76 with a new computer, 8.1 instead of XP and TB instead of Outlook Express, that I feel more confident on my external hard drive! I have 31 TB and Windows 8.1. I put my computer to show the "hidden files and folders". In user/AppData/Local name there is a record of TB with 'Profiles' and there my XXXX.default folder - but it has only a limited number of files and folders (Cache/cache2...). In user/AppData/Roaming name, there is also a TB with 'Profiles' folder and there my XXXX.default folder- but it contains a completely different and much larger files and Folders collection (4 different folders and multiple files MAB and SQLITE and others). Why have I not two files with different content identical default? Do I have to register each one? Can someone please explain/help, preferably in words this 76 year-old could understand.

    Windows 8 user accounts can be local or remote. It assumes that everyone has a roaming profile. Thunderbird uses mobile records as you can see, but there is only the rump in local that I don't really understand the existence of.

    Thunderbird does not use it, I guess that windows creates.

  • Are the installation DVD of Windows Vista Enterprise and installation DVD of Windows Vista other than company completely different?

    Installation DVD of Windows Vista business and Windows Vista DVD installation, other than the company

    Are the installation DVD of Windows Vista Enterprise and installation DVD of Windows Vista other than company completely different? If so, how are they different?

    Hello

    This edition targets the enterprise of the market segment: it includes a superset of the Vista Business edition. Additional features include support for packets from the Interface user multilingual (MUI), BitLocker Drive Encryption, and UNIX application-support. Not available through retail or OEM, this edition channel sale will get distributed through Microsoft Software Assurance (SA). Since Vista Enterprise classes as a benefit of Microsoft Software Assurance, it includes several benefits HIS only, including a license allowing the execution of up to four virtual machines running a mixture of editions of Vista and the versions [13], access to Virtual PC Express and activation via the VLK. [14] Vista Enterprise supports up to two physical processors. [7] 64-bit Enterprise supports 128 GB of RAM

    Windows Vista Enterprise made salient

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Vista-Enterprise-highlights

    Compare Windows Vista

    http://Windows.Microsoft.com/en-us/Windows-Vista/products/compare

  • I have a license of an image, but it opens as a completely different picture. How can I get the one I paid for?

    I have a license of an image that takes the form of Illustrator. When I open it in Illustrator, he opens a completely different picture. It is not one I have a license that appeared as the image. How can I get what I paid for.

    In fact, I spoke with a representative of Adobe by phone. They determined that something was wrong with the picture and gave me a new license to get another. Thank you, though.

  • Using the Scheduler to run the rman script directly stored in the recovery catalog

    Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

    RMAN > create script showall

    Comment "just one example of demonstration."

    {

    VIEW ALL;

    }

    Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

    Kind regards

    Dave

    Well, let us know the result.

    The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

  • I'm Swedish in Sweden. And I installed Adobe for a trial period of 30 days. The menus are in Swedish, but when I want to start and then editing the language changes in Finnish, a language completely different to almost all other languages. Help!

    I'm Swedish in Sweden. And I installed Adobe for a trial period of 30 days. The menus are in Swedish, but when I want to start and then editing the language changes in Finnish, a language completely different to almost all other languages. Help!

    Hello

    This link might help: changing the language setting of your Cloud Creative applications

    Kind regards

    Sheena

Maybe you are looking for