Database copy (duplicate/clone/...) without startup open?

Hi,
I am running DB Enterprise Ed v 10.2 and my main DB is in +ASM.
I need to script a regular copy of this DB to refresh the support DB, also in +ASM.
My problem is that I can not permit this support DB to be opened for general use until I have stopped certain jobs running on the internal dbms_scheduler and updated the oracle directories (dba_directories) with support locations. Thus I need to have a clone / duplicate method that stops short of actually opening the database at the end, or some way to ensure that it only opens it RESTRICTED mode.
I think that both the RMAN DUPLICATE command and the Enterprise Manager CLONE jobs leave the new database open....
Any suggestions appreciated.

Since you mentioned scripting, then it seems that you will have full control of the cloning process...
So if that is the case then perhpas you can restrict access to the cloned database using "alter system enable restricted session".
Then once your cloning process is done and after you have done all the necessary housekeeping stuff, then turn off the restricted access with
"alter system disable restricted session".

Similar Messages

  • Roll Forward consistent-closed database copy, that hasn't been opened yet

    Hi Oracle DBAs,
    I was told that it is possible to do this;
    1. Shutdown the database
    2. copy accross to another server
    3. mount the database
    4. roll forward the database if there had been some archived redo logs generated after the original database had been started up.
    Please if you can provide the command(s) to do that...
    Thanks,
    Marc.

    Aman,
    thanks for the notes on using the RMAN Duplicate commands, ultimately, we will be going down that path to use RMAN, and the notes will be the first place I look at to start.
    Cheers,
    Marc.

  • EBS R12 Database Copy or clone - init.ora, and spfile conflict...

    Hi All,
    I am a report developer. I have two servers(VMs)
    Server1: Win 2008, Oracle EBS R12.1.1. (db_name = vis)
    Server2: Win XP SP3, Oracle 11g R1 (db_name = orcl)
    My goal is to copy the whole EBS R12.1.1 Vision Instance database (VIS) on Server1 to Server 2 Oracle Database....And please note that I need only data in those schemas - I use that to run ETL scripts, so, on Server2 I am not going to run any EBS Applications(Forms, or reports or others).
    In order to do this I am http://www.dba-oracle.com/oracle_tips_db_copy.htm method.
    During the process I have encountered an issue - Server1 (VIS) database uses initVIS.ora file as parameter file, where as Server 2 uses SPFILE.ORA as parameter file.
    in Step8 we have to copy the init.ora file from EBS R12 to Server2, but this doesn't help me as server2 use spfile.
    please give me your suggestions to solve this gap......
    Thanks!

    user12296343 wrote:
    Hi All,
    I am a report developer. I have two servers(VMs)
    Server1: Win 2008, Oracle EBS R12.1.1. (db_name = vis)
    Server2: Win XP SP3, Oracle 11g R1 (db_name = orcl)
    My goal is to copy the whole EBS R12.1.1 Vision Instance database (VIS) on Server1 to Server 2 Oracle Database....And please note that I need only data in those schemas - I use that to run ETL scripts, so, on Server2 I am not going to run any EBS Applications(Forms, or reports or others).
    In order to do this I am http://www.dba-oracle.com/oracle_tips_db_copy.htm method.
    During the process I have encountered an issue - Server1 (VIS) database uses initVIS.ora file as parameter file, where as Server 2 uses SPFILE.ORA as parameter file.
    in Step8 we have to copy the init.ora file from EBS R12 to Server2, but this doesn't help me as server2 use spfile.
    please give me your suggestions to solve this gap......
    Thanks!Please update your original thread instead of creating new one -- Re: EBS R12.1.1 databse copy windows to windows??

  • How to mount database copy without specific datafiles

    Hello all,
    I need to make a database copy without specific datafiles. This is due to, in the copy, I just need some, not all, datafiles.
    I tried the following command:
    startup mount
    alter tablespace mydata offlineBut it appears that the database must be open.
    Anybody have performed some similar?
    There is a document where I can read about it?
    What else I need to know in order to start up this, reduced database copy?
    Thank you in advance.

    Hello All,
    Thanks for your answers.
    Yes I have already copied some filesystems to another server. All the data I need are on that filesystems. I haven´t tried to open the database. So, in order to put it online, and taking in consideration all your suggestions I will perform on this sequence:
    startup mount
    alter database datafile mydatafile1 offline
    alter database datafile mydatafile2 offline
    alter database datafile myindexdatafile1 offline
    alter database datafile myindexdatafile2 offline
    alter database openWith this steps, the database should bring online. Correct?
    There is another step, that Im missing?
    What about the listener?
    Will be enough to change the port and server name?
    Thanks again.

  • Copy (or clone) database to different computer

    Hi !
    I've an Oracle 10g database on my computer and would like to copy (or clone) it to another computer where Oracle 10g is also installed.
    I read some post and web links but nothing to indicate how to do in that (easier) case.
    And if I only want to copy the base structure, mean without the data, just the table structure ... ?
    Some help ?!
    Thanks.

    The following is an example of using the CONTENT parameter:
    expdp hr/hr DIRECTORY=dpump_dir1 DUMPFILE=hr.dmp CONTENT=METADATA_ONLYThis command will execute a schema-mode export that will unload only the metadata associated with the hr schema. It defaults to a schema-mode export of the hr schema because no export mode is specified.
    export tool write the database scheme in a dumpfile. Yes you have to copy this dumpfile to target database server anf use impdp utility there.
    impdp hr/hr DIRECTORY=dpump_dir1 DUMPFILE=expfull.dmp CONTENT=METADATA_ONLY
    go through
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1006376

  • Homogeneous Database copy without tape restoration

    Hi all,
    I have AIX 5.3 servers with Oracle as databse. I am supposed to do database copy on a new server from an already existing server. However there ios no tape connectivity to that server. But both the servers are on same SAN. How is it possible to do database copy. Both would be same OS and same Database. Please tell me what are the steps to be taken for database copy.
    Regards,
    Priya

    Hi,
    Do the following:
    1. Take Latest Offline/Online Oracle DB Backup of that Source System, from which you want to copy DB.
    2. Copy that Offline/Online Oracle DB Backup Fille and Backup log file (*.anf) of that Source System to the Target System, on its free available local disk space.
    3. Perform Homogeneous System Copy using Oracle DB Restore method:
         3.1 Restore Target Oracle DB using that Source Oracle DB with the help of BRRESTORE command.
         3.2 Backup Control Files from Source System and Change it according to the Target System directory structure before applying to to Target System.
         3.3 Perform Recovery using available Offline redo-log files (if you have restored Online Backup)
    All above mentioned steps are well described in this useful document "[Homogeneous System Copy using Online/Offline Database Backup|http://www.basisconsultant.com/component/remository/Sytem-Copy-Guides/Homogeneous-System-Copy-using-OnlineandOffline-Backup/]" with proper understanding. Download it with simple registration and Please read it carefully and follow the steps mentioned in that guide.
    Upon error, post your message.
    Regards,
    Bhavik G. Shroff

  • Startup open ORA_12514 error after Shutdown, just upgraded 9i to 10g

    Hi,
    Noobe here, again! Cheers and happy New Year to all!
    How should I edit script to start db that has been shutdown prior to backup?
    We are having a problem with backups, failure is occurring executing SQL*Plus startup after shutdown. I successfully upgraded our 9i to 10g, 10.2.0.5.0 on Windows server 2003, 32-bit. We have a back_script.bat that runs all this, the only edits that I had to make within this were the names for the new Oracle services, but that is not a problem. When I run through the actions in the batch file, it fails at the sql>startup open; action, throws the error "ORA-12514 TNS:listener does not currently nkow of service requested in connect descriptor" What is different here between 9i and 10g that now this doesn't work? By commenting out the line calling our oracle_stop_start.sql I am getting successful >exp dumps, but there could be processes running 'cause I'm not stopping everything before proceeding with the export.
    I have a complete image of the physical server running in a virtual that I am able to test on. Hopefully I'll not put too much info in here, but here is some background! Both the batch file and little stop_start script predate my involvement.
    Here are the pertinent statements in our backup_script.bat:
    SET NLS_LANG=AMERICAN_AMERICA.UTF8
    SET ORACLE_SID=wind
    net stop Windchill3_MethodServer (the third party application that uses the database wind)
    sqlplus "system/manager@wind as sysdba" @D:\ptc\windchill\backups\oracle_stop_start
    exp system/manager@wind owner=guest file=......\oracle_backup.dmp.....etc, etc, etc
    Here is oracle_stop_start.sql
    shutdown immediate;
    startup open;
    quit
    As stated earlier, this has worked at least since 2007 when the last edits were made to the batch file. Now it fails at the sql>startup open; throwing the error ORA-12514. I can duplicate this executing each statement in a dos shell. The shutdown command closes, dismounts and shuts down the database. I have tried changing the startup statement to sql>STARTUP OPEN wind; but that makes no difference. I have found that if I exit sql*plus and log back in /nolog (in the same shell window) then I can restart the instance, what I do is:
    sqlplus /nologsql>connect sys/* as sysdba;
    sql>startup open wind;
    This does successfully start the Oracle instance, mount and open the database. How else might I do this? I can certainly duplicate these actions, adding the necessary lines to oracle_start_stop.sql, but is there a better & cleaner way to do this? Right now I just want to make these existing scripts work. Once that is done, then I'm going to investigate and learn more about RMAN and datapump export/import and update our backup procedures.
    Any thoughts & suggestions?
    Thank you,
    Tom

    It might be a difference in behaviour between 9i and 10g. It looks like you are connecting through sql*net (sqlplus "system/manager@wind as sysdba), so the ORACLE_SID setting is not part of your connection. When the database is shutdown you are no longer connected to any database. When you issue the startup command the ORACLE_SID is not set so there is no service specified.
    If you are running this on the database server, try setting the ORACLE_SID then running your script like:
    {code}sqlplus "system/manager as sysdba" @D:\ptc\windchill\backups\oracle_stop_start{code}
    and you should still have the service set for your connection.
    John

  • Duplicate apps in the "Open with-" menu

    Hi, I have this small and annoying problem... Randomly, some programs seem to duplicate themselves in my "Open with..." menu.
    For example, if I try to open a JPEG, Firefox will show this behavior. Any idea?

    Do you have another copy of Firefox floating around on a mounted volume or in the Downloads folder?
    I don't think it is Launch Services database problem since all apps are not duplicated.

  • Cloning Non EBS Database with Rapid Clone.

    Hi DBAs,
    It might sound weird but I was curious that - Can you clone the regular oracle database (Non EBS) using rapid clone. Lets suppose if I copy over appsutil directory from a EBS database and manually edit the context file with current instance information. Also if I need to do some changes in shell/perl scripts of rapid clone etc.
    Have any one done it in past by doing some magic and tricks or Is there automated script based cloning available for regular databases?
    Thanks
    -Naveed-

    Hi Naveed,
    I believe it is not possible as Rapid Clone is an Oracle Apps utility, so Oracle does not support cloning non-Apps databases using Rapid Clone.
    In addition, there is no context file or AutoConfig in such a database, which is required for Rapid Clone to work properly.
    Is there automated script based cloning available for regular databases? For this cloning, you can use the manual method, export/import, or RMAN.
    Note: 458450.1 - Steps to Manually Clone a Database
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=458450.1
    Note: 388431.1 - Creating a Duplicate Database on a New Host
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=388431.1
    Note: 1009100.6 - How to Create a Duplicate Database in Unix (Via Export/Import)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1009100.6
    Regards,
    Hussein

  • A Copy of Firefox is already open. Only one copy of Firefox can be open at a time

    I have shut down my mac for half a dozen times in response to the warning -- A Copy of Firefox is already open. Only one copy of Firefox can be open at a time -- that comes up each time I attempt to launch the browser. I have tried out the solutions suggested for previous users (on the Mozilla Forum) who were experiencing similar issues, but I can't even see Firefox on my Mac's Activity Monitor. What's going on?
    I started experiencing this problem out of the blue on a networked computer two days ago (on Tuesday December 6). I have been using computers on this network for more than a year and it's only now that I have started experiencing this problem. Furthermore, I have been a Firefox user for more than four years and never encountered this issue. It's frustrating considering I have come to rely on Firefox as my browser of choice.
    Other than this background I don't know what else to tell you by way of details.

    Hi Swarnava,
    Thanks for your prompt response. Intriguingly, when I logged on to my Mac (it's on a university network) this morning and launched Firefox it opened without a problem. If the issue resurfaces, I will try out the solutions you posted. Judging from the experiences of users who successfully trouble-shot their issues, apparently, Madakkadam's solution would be most helpful.
    All the best.
    Vukoni

  • I am getting an error message that "A copy of Firefox is already open. Only one copy of Firefox can be open at a time" and I don't have any copy open.

    I am getting an error message that "A copy of Firefox is already open. Only one copy of Firefox can be open at a time" and I don't have any copy open. How do I correct this problem? I really like firefox because it runs many technical programs on the web that do not work with safari. I have FireFox version 32.0.1 installed on my MacPro PowerBook OS X 10.7.5. My activity monitor does not show any FireFox activity, so do not know what it is seeing

    This worked, I used the method described in this link http://forums.mozillazine.org/viewtopic.php?t=365156, and opened the Mozilla profile screen with the terminal on my mac, using the language given in the links. Then I duplicated my original profile to save the bookmarks, etc. Put them in a folder listed Duplicate profile with the date. With the open profile screen, I deleted my original profile, created new profile folder and then a new profile. Note that profile cannot be created in the system library, it must be created on the disc, because the library will not allow writing into it. After I created my new profile folder, I dragged all my old information into it, and it worked. Firefox closed and the error disappeared. You must be VERY careful to make sure Firefox is closed anytime you are doing anything with the profile folders. I think that is what caused my original problem.

  • Error on Mac- A copy of firefox is already open. only one copy of firefox can be open at a time.

    error message on mac - a copy of firefox is already open. Only one copy of firefox can be open at a time.

    This worked, I used the method described in this link http://forums.mozillazine.org/viewtopic.php?t=365156, and opened the Mozilla profile screen with the terminal on my mac, using the language given in the links. Then I duplicated my original profile to save the bookmarks, etc. Put them in a folder listed Duplicate profile with the date. With the open profile screen, I deleted my original profile, created new profile folder and then a new profile. Note that profile cannot be created in the system library, it must be created on the disc, because the library will not allow writing into it. After I created my new profile folder, I dragged all my old information into it, and it worked. Firefox closed and the error disappeared. You must be VERY careful to make sure Firefox is closed anytime you are doing anything with the profile folders. I think that is what caused my original problem.

  • Can't access firefox. message states: a copy of firefox is already open. Only one copy of firefox can be open at a time

    I am a Mac user and can no longer use firefox as a browser. The repeated message is that a copy of firefox is already open, but I am not using firefox now but rather Safari.

    Back up all data if you haven’t already done so. Before proceeding, you must be sure you can restore your system to the state it’s in now.
    Quit the application if it's running.
    Open the Library folder in your home folder as follows:
    ☞ If running Mac OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of Mac OS X, select Go ▹ Go to Folder… from the Finder menu bar and enter “~/Library” (without the quotes) in the text box that opens.
    From the Library folder, delete the following item(s), if they exist:
    Caches/Firefox
    Caches/org.mozilla.firefox
    Caches/org.mozilla.plugincontainer
    and move the following item(s) to the Desktop:
    Application Support/Firefox
    Application Support/Mozilla
    Preferences/org.mozilla.crashreporter.plist
    Preferences/org.mozilla.firefox.plist
    Preferences/org.mozilla.plugincontainer.plist
    Launch the application and test. If you still have the issue, quit the application and put the item(s) on the Desktop back where they came from and post again. Otherwise, delete the items on the Desktop.

  • I'm trying to delete multiple pix in iPhoto that i stupidly made duplicates of without knowing, I've tried going into the applications folder and using image capture but i think I've missed a step , can anyone send the correct info / steps pls thanks

    I'm trying to delete multiple pix in iPhoto that i stupidly made duplicates of without knowing, I've tried going into the applications folder and using image capture but i think I've missed a step , can anyone send the correct info / steps pls thanks

    again image capture is not involved with deleting photos from iPhoto in any way ever
    the paid version of iPhoto Library Manager is very good for finding duplicates as is Duplicate Annihilator
    And I have no idea who told you this - or what it means - but re-read both of my opening statements
    I was told I could delete multpiles thru image capture by transferring my iPhoto library etc
    LN

  • Moving the mailbox database copy from one exchange server to another exchange server 2010 DAG

    Hello Team
    is it possible to the move the passive copy of database and logs from one server to another exchange server in the same DAG with out removing  and deleting the mailbox database copies in exchange 2010
    normaly procedure is
    Remove the mailbox database copies and manually delete the .edb files and logs from the physical location and re-add the mailbox database copy to the new server in the DAG.
    is that any way to achieve to move the passive database copy to another exchange 2010 server in the same DAG ?

    From your note, you appear to have a two-member DAG (with a server hosting your active database, and a second hosting the passive copy), and you want to move your passive database copy from the current passive server to another.  Your note
    about what "the normal procedure is" isn't 100% correct - there are many ways to handle this task, and all can be considered "normal". Why not just add the third server to the DAG and
    add a database copy on that third server?  Once it is fully seeded, you can remove the current passive copy.  This way, you never lose your redundancy.
    Yes i can add the third and fourth  serve in DAG , but i cannot add the mailbox database copies to the 3rd and 4th mailbox server in DAG as am using RTM version of exchange 2010 which is allowing to have only 5 database inclding mailbox datbase copies
    and also currently my lab setup is  two member dag (with a server hosting your active database,
    and a second hosting the passive copy) in the same site named SITE A
    and recently i have created new SITE B and included the 3rd and 4th DAG members in the same DAG
    i want the  mailbox database copies from the mailbox server  database  in SITE A  to
    Mailbox server database in  SITE B as  passive copy
    That is why i want to move the mailbox database without deleting / removing it manually
    Hope you understand my situation!

Maybe you are looking for

  • How can i disable an icon beside battery percentage(a phone on some dots) ?

    AN icon appeared beside battery percentage(iphone 5).its a phone icone on some dots beside battery percentage.how can I disable it?

  • Sales Order Issue From CRM to R/3

    Hi Gurus, We have an issue where all Bulk ISS orders are showing up in the OTD BW reports as unreported even though they have been reported shipped. The issue appears to be, that for ISS orders only, the schedule line item number for the base bulk li

  • Finding duplicate photos and hiding originals

    I thought I posted this but don't know where in cyberspace it went... sorry if it's a duplicate. Thanks, Lori, for suggestions yesterday for recreating a new library from one that unexpectedly quit. I have a functional library now but am wondering if

  • EWQLSO Platinum and Node

    Hi Guys, I just bought EWQLSO Platinum and am about to purchase a new mac mini as a node machine. anyone has any experience with this? I heard somewhere that 3rd party plug-ins can't be noded. can anyone verify this? thanks

  • InDesign 'save' window closes every time I try to save

    I am running InDesign CC and am having a problem saving. Whenever I try to save any document, the save window opens, then closes as soon as I click the text box or even try to click on a folder/ place to save the document. The program does not crash,