Copying Production Database to another location

Hi,
We are currently upgrading to a 11g and as part of the process I need to copy our production server 10g to our new hardware. I want to carry out a couple of dry runs to get timings and test the process. I will be keeping the same SID.
Are there steps I can take to isolate the copied oracle database to ensure it does not try communicate with any other systems.
I come from an SAP background and in SAP there are a number of steps to isolate a system. I'm looking for similar steps that would be used in oracle e.g.
stop job scheduler
stop all inbound and outbound communication
Lock interactive users
Stop outbound email
etc...
Thanks
Jim

osheajim wrote:
Hi,
We are currently upgrading to a 11g and as part of the process I need to copy our production server 10g to our new hardware. I want to carry out a couple of dry runs to get timings and test the process. I will be keeping the same SID.
Are there steps I can take to isolate the copied oracle database to ensure it does not try communicate with any other systems.
I come from an SAP background and in SAP there are a number of steps to isolate a system. I'm looking for similar steps that would be used in oracle e.g.
stop job scheduler
stop all inbound and outbound communication
Lock interactive users
Stop outbound email
etc...
Thanks
Jim
Somwhat dependent on your method of creating the new database on the new server, but if you don't start a listener on that server, no one that is not directly logged on to that server will be able to connect to the database. As for outbound connections from the database, you might have to get a bit creative, depending on where and how the outbound connections are defined.  I'd start by not haveing a working tnsnames.ora file.  Then check the defintions of any db links in the existing database.  If they hard-coded destinations, make sure those destinations are un-resolveable/unreachable from the new server.  I wouldn't worry about the job scheduler during the dry run.  As long as there is no outside communication from them, who cares if they run?  With the listener shut down, no outside users can connect, so no reason to lock user accounts.
Perhaps you could cover all bases at once by simply configuring the firewall on the new server to disallow any communication at all ...

Similar Messages

  • How to copy a database to another location in sqlserver 2008 express edition

    Hi,
    Please help for to copy a database to another location in sqlserver 2008 express edition
    With many thanks
    Pol
    polachan

    if you are using SQL Server 2008 express edition
    you are NOT able to use Copy database wizard so the only option you have is to try as mentioned above 
    a) Backup /Restore
    Create a new DB to where you want the copy should go and
    Make a Full Backup with .BAK of your original database and Restore the backup on other system and Right click on the the new DB you created and Restore by navigate to your .BAK and make sure MDF and LDF file match the new.
    http://msdn.microsoft.com/en-us/library/ms190436.aspx
    b) Detach/Attach
    Detach the database and copy the database files to other system; and attach these database files.
    I hope this is more informative for you and Good-luck
    Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer

  • Copy iBooks Database to Another Mac

    I have iBooks (PDFs only) and would like to copy/transfer my iBooks database to another mac.  Does anyone have suggestion on how to do this.  We all now that currently PDFs don't sync across devices unless hard sync via iTunes.
    Would appreciate direction on how to copy the iBooks database from one mac to another.  Thank you

    The best way to transfer apps is connecting the device to his Mac. It will ask you for authorize the computer

  • Copy Master Database To Another Instance

    At our instasllation we have copied the Master database across instances with success. This makes migrations much easier and it has never caused any issues. However I am concerned whether this is officially supported and if there may be something we are
    not considering that may cause issues in the future. Of course the source and destination SQL Server instances are the same OS and SQL Server versions and the paths of all databases are the same.
    Thank you for your help
    Scott

    Hi,
    I think this method can be used when the backup restore method does not work because of the original database files were corrupted or missing.
    Some interesting articles for your reference:
    The Easiest Way To Rebuild The master Database:
    http://blogs.technet.com/b/fort_sql/archive/2011/02/01/the-easiest-way-to-rebuild-the-sql-server-master-database.aspx
    Restoring Master Database :
    http://msdn.microsoft.com/en-us/library/ms190679.aspx
    How to build system databases:
    http://msdn.microsoft.com/en-us/library/dd207003.aspx
    Hope the information helps.
    Tracy Cai
    TechNet Community Support

  • I got error 8: vi resource not found After copy the project to another location

    I copied the project folder in C: to D:
    I opened a .vi file in D: then closed LabView.
    I try to open the same .vi file in C:   I got :"LabVIEW Load Error Code 8 -   Could not find VI resource".
    I checked all the files in C:  no file have been modified.
    I'm using LabView 5.1 with Windows NT.
    Any help would be greatly appreciated.

    Suesong,
    This KB seems to suggest that the erro you are getting is a result of the Vi in question being compiled in a newer version of LabVIEW:
    http://forums.ni.com/ni/board/post?board.id=170&message.reply_to_id=240257
    Did you open it up in a newer versions and save it?
    Xaq

  • DR type restore of 10gR1 RAC with ASM database to another cluster

    Hi,
    We have a requirement to restore the image copy of our production database to another location. The production database is a 10-node 10gR1 RAC deployment with ASM. The image copy is in the FRA.
    We want to restore this image copy onto a 2-node 10gR1 RAC cluster, which is also running a development environment. We have so far used the 'backup copy copy of database' command to pipe the image copy from the FRA to an NFS mounted filesystem. We plan to restore (and convert the names) the files from here. I have a list of steps we need to undertake - like adding the production database metadata on the development cluster into CRS, restore the spfile and controlfile, restore and convert the datafiles from the production ASM diskgroup to the development ASM diskgroup.
    has anyone out there done this? Are there any nasty 'gotchas' or pitfalls?
    Please, tell me your pain so I can spare it myself :o)
    regards
    Dilbert

    user562223 wrote:
    We are planning to take cold backup through RMAN. But now the issue is that if something going wrong with the storage then both the diskgroup on the same storage will not be mounted.
    What should be the backup & recovery strategy for this scenario? How to bring the server back online?The strategy depends entirely on the risk analysis and assessment. Do you need to be able to recover the database to the moment just before it crashed? Do you need point-in-time recovery? What are the availability requirements? Etc.
    Databases can be quite diverse in nature. It can be fairly static with very few changes, to very dynamic to totally dynamic. In some cases, the database only needs to be restored as a "container" (structures with no data) as that is all the processes need and as these will supply the data. In other cases, the entire database with all committed transactions to the second before the crash is needed. In a few cases, you may want to use Data Guard and standby/clone databases instead.
    There is no single set of rman instructions that you can copy-and-paste to implement any of these diverse backup and recovery strategies. You need to determine and define your backup, restore and availability requirement first - before looking at which rman commands to use and in what sequence, where and when.

  • Isit possible to copy DRM version from one database to another?

    I want to copy a version from DRM (Development environment) to another instance (production environment) by copying one database to another database. In order to synch both the version. Is this possible? rather than exporting and reloading?
    It is possible, but I want to know the steps invloved for this
    Thanks in advance
    Edited by: Ramesh Janardanan on Jun 19, 2012 6:21 PM

    Hi Ramesh,
    You can use the DRM Configuration console for this purpose. Please follow the below steps:
    1. Open Repository Wizard
    2. Check - Copy/Upgrade
    3. Enter Source connection details and test connection
    4. Click Next on Analysis summary
    5. Enter Target connection details and test connection
    6. Confirm Copy by clicking Next
    It copies everything. Hope this helps!!
    Cheers, Vicky.

  • Getting error when try to backup oracle rac to another location

    Hi there,
    I am attempting to backup database to another location from a Oracle RAC database version 11gr2. Here is my script:
    #!/bin/ksh
    export ORACLE_SID=vvsms1
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
    BASE_PATH=/usr/sbin:$PATH; export BASE_PATH
    PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH
    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log append <<EOF
    RUN {
    CROSSCHECK BACKUP;
    CROSSCHECK ARCHIVELOG ALL;
    ALLOCATE CHANNEL CHANNEL1 TYPE DISK FORMAT '/home/oracle/backup/vvsms/backup_%U';
    BACKUP INCREMENTAL LEVEL 0 TAG 'incr_vvsms' DATABASE;
    BACKUP ARCHIVELOG ALL;
    DELETE OBSOLETE;
    RELEASE CHANNEL CHANNEL1;
    EXIT;
    EOF
    I write it into a .sh file and set crontab to run it. But when it run i get the error like these:
    Starting backup at 22-OCT-12
    channel CHANNEL1: starting incremental level 0 datafile backup set
    channel CHANNEL1: specifying datafile(s) in backup set
    input datafile file number=00002 name=+DISK2/vvsms/datafile/sysaux.289.794242439
    input datafile file number=00006 name=+DISK2/vvsms/datafile/ts_service.dbf
    input datafile file number=00007 name=+DISK2/vvsms/datafile/ts_viviet.dbf
    input datafile file number=00008 name=+DISK2/vvsms/datafile/viviet.dbf
    input datafile file number=00009 name=+DISK2/vvsms/datafile/ts_vivietct_primary.dbf
    input datafile file number=00003 name=+DISK2/vvsms/datafile/undotbs1.290.794242445
    input datafile file number=00001 name=+DISK2/vvsms/datafile/system.288.794242429
    input datafile file number=00004 name=+DISK2/vvsms/datafile/undotbs2.292.794242453
    input datafile file number=00005 name=+DISK2/vvsms/datafile/users.293.794242455
    channel CHANNEL1: starting piece 1 at 22-OCT-12
    released channel: CHANNEL1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on CHANNEL1 channel at 10/22/2012 01:50:16
    ORA-19504: failed to create file "/home/oracle/backup/vvsms/backup_2anobqu5_1_1"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory
    I don't know what i'm wrong? The location is correct ("/home/oracle/backup/vvsms/).
    Please suggest me some things about it. What do i need to do?
    Thanks in advance!
    P/s: Sorry for my bad English.

    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log appendThis line can be your problem.
    As this database is a RAC and your are using a service with load balance "vvsms" and "/home/oracle/backup/vvsms" is not a shared location. RMAN is starting a session on Other node where "/home/oracle/backup/vvsms" does not exists.
    Try change it :
    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log appendTo this (using Easy Connect Method):
    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@localhost:1521/VVSMS  log /home/oracle/log_rman/vvsms.log appendWhere:
    localhost: your local node
    VVSMS : is the service of database
    Also check if "/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora" have configured the line "NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)"
    P.S : When RMAN start a session it show where is logged, check on logs what instance RMAN was logged.
    HTH,
    Levi Pereira

  • Create test version of database in another host

    Hi!
    As a production system I have a database with a standby database. (Dataguard).
    Now we want to create a test system of the production database in another host, test system shall not be with a standby database.
    Production system is about 5GB.
    What is the fastest and easiest way to create the test database, Oracle binaries are installed in test host but no databases are created.
    /Ulf

    If your database is really only 5 Gb (which would be quite small, particularly for a system that warrants Data Guard), export and import is probably the easiest option. You can also clone the database or recover your backup to the QA machine, but those options seem like a bit more work.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Copying Table Info From One Database to Another

    I am trying to copy data from a database instance on one server to an identical database instance on another server. I have a BC4J application module that I would like to use on both servers. I am relatively new in the BC4J area and would appreciate help from those of you who have done this type of thing before. How do I set up the connections in my client code to accomplish copying the data?

    Table may be copied with the
    expdp and impdp utilities.
    http://www.oracle.com/technology/products/database/utilities/index.html

  • Have anybody copied Queries from "Test" database to "Production database?

    I am looking for the best method to copy queries from one database to another.  From TEST to PRODUCTION.  Other than Copy Express or Copy/Past, is there another recommended approach?  Such as within SQL?

    Hi Alain,
    Copying anything from database A to database B using SQL, means somehow using  SQL command "Insert". Please note that commands like Insert, Update, Delete are NOT SUPPORTED as it might cause data corruption.
    Kind regards
    Mario

  • Can not save dashboard after copying to another location

    Hi All,
    I am moving a dashboard to another location and trying to make some changes but when I click on save button nothing happens, "Saving" text appears, page busy gif appears, thats all. I've waited long enough but no change. This occurs only on one page of the dashboard. The original dashboard page works fine but the copied one is not saving.
    Sometimes I get the error;
    There was a problem retrieving the response data:Unknown (12030)
    Ay idea would help. Thanks.
    Ganim

    hi,
    Use catalog manager to copy from one location to other location
    and check in preserve the old item name while copying from one location to other.
    Regards,
    VG
    http://mkashu.blogspot.com

  • Copy File from One Location to Another Location through xcopy or any

    Hi,
    I Need to copy one file from one location to another location. That file need to save in C:\Windows\System32 folder
    I need to create one .bat file and i want apply that bat as a startup script through GPO.
    I tried through XCopy if i test in machine that is working. If i tried in other machine that is not working. becoz of some Credential issue
    I tried in the script by netuse command after that my script itself not working.
    SET username=XYZ\Administrator
    SET password=abcd
    @ECHO OFF
    cmd "cd C:\"
    net use "\\10.50.5.68\c$\Windows\System32" %password% /user:domain\%username%
    :copy
    Xcopy /S /I /E D:\DLL \\10.50.5.68\c$\Windows\System32 
    Regards, Hari Prasad.D

    You cannot do that in a startup script.  You do not need to do that in a startup script.
    To add files to the system use GP Preferences.
    On Window 7 and later only the Trussted Installer is allowed to add files. (That means only Microsoft.)
    No programs or users should ever alter files in the system area.
    ¯\_(ツ)_/¯

  • How to Copy (or) Transfer data in a BLOB Table From one database to another

    Dear Members,
    I want to Copy or Tranfer the data in a Table having BLOB Column from one database to another database.
    The Problem is that I am using COPY Command.
    COPY from scott/[email protected] to k5esk_ldb2/k5esk_ldb2@k5_ist.world CREATE BLOB_TABLE using select * from BLOB_TABLE;
    This is working only if the table is not having BLOB Column or CLOB columns.
    Is there any other way to do the same.
    Appreciate any Help.
    Regards
    Madhu K

    You could try using export/import utilities, but may run into tablespace issues if the tablespaces are not the same between the two databases. You can also try Data Pump using the REMAP_TABLESPACE variable if you tablespaces are different. You could also write your own export and import code...there are plenty of examples of that to copy.

  • Copying database objects and data from one server database to another server database in AG group

    Hi,
    I am still trying to wrap my head around sql clusters and AGs and I have a project that requires I take a vendor's database and restore it weekly so its available on the production server which is clustered.
    The vendor's database on the cluster is in an AG group and encrypted.
    Right now, I plan to restore the database on a sql staging server and use the SSIS Transfer SQL Server Objects Task to copy the table structure and data from Stage to the Production database of same name and I would first drop the objects in production
    database using the same task.
    I am concerned that this might cause issues with the passive cluster due to "logging" from active to passive. The database is about 260 MBs and I am not sure how many tables.
    Has anyone run into this type of scenario before or have a better solution?
    Thanks
    Sue

    IF I understand anything about clustered sql and logging, the sql server should take the log file and recreate the same scenario on the passive side of the cluster.
    Is that correct?
    Hi Sue,
    Yes, for AlwaysOn Availability Group, the transaction log is basically replayed from the primary to all of the secondary's.
    Besides, from my point of view, as we cannot directly restore a database that is part of an Availability Group, it is a good way using SSIS task to drop and recreate all tables then transfer data from the restored database to the primary replica. Schema changes
    and data changes will also happen on the secondary  replica.
    There are some similar links for your reference.
    http://dba.stackexchange.com/questions/21404/do-schema-changes-break-sql-server-2012-alwayson-or-are-they-handled-transpare
    http://blogs.msdn.com/b/sqlgardner/archive/2012/08/28/sql-2012-alwayson-and-backups-part-3-restore.aspx
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

Maybe you are looking for