Procedure to Copy Database Files Between Servers

I am currently in the process of installing Oracle 9i on a Solaris platform. When this has been completed, I will be attempting to copy two databases from one server (also Solaris) to this server. What is the best way to copy these databases over to the new server?

Hi,
I think this is not the right forum, but, anyway, I can answer you.
You have to physically copy all datafiles, controlfiles, redo log files and init/config files from one server to the other, using ftp, rcp or similar. This operation has to be done after normally shutting down the original Database.
If you can reproduce the same paths as the originals, then the only action you have to do is to STARTUP your DBs in the new server, after setting the ORACLE_SID environment variable.
Otherwise you have to do some changes in the DB configuration.
Paolo

Similar Messages

  • Copy file between servers, passing on firewall

    I'm try copy a file between servers with Windows NT. I mapping the target server to drive X and test copying a file in windows explorer and command window and the files copy is OK. But if I try with a java class don't.
    I'm try with FileInputStream (read) and FileOutputStream (write) but don't. I have use the Runtime.exec() for execute a DOS command but don't("cmd.exe /c copy c:\myfile.txt x:\"). this second showme a message "username incorrect or bad password", but the same sentence I run in a command window and the copy is OK!
    What can I do?

    Hi,
    try to use HTTP for the transfer between
    the two servers. Normally You can pass the
    firewall using HTTP (like browsers do).
    Therefor use classes in the java.net packages.
    CU,
    Mathias

  • Copying DW Files Between Upgrade Versions

    I purchased a CS3 (Web Premium) upgrade from my local Apple
    Store, but I
    can't register it. I called Adobe support and was told that I
    had the
    wrong upgrade version. I can continue using it on a trial
    basis until
    they send me the correct version.
    So I'd like to know if I can set up certain things with this
    trial
    version, then recreate them in my final upgrade by copying
    certain files
    or folders from one version to the other.
    For example, I'd like to create a series of site definitions,
    which I
    assume are configured in a particular file. Does anyone know
    the name
    and location of that file and whether I can copy it between
    upgrade
    versions?
    I'd also like to start downloading some extensions. How can I
    copy them
    into my next upgrade?
    Similarly, is there a particular file that supports various
    changes a
    user makes to Dreamaweaver's general configuration?
    Thanks.

    Alan wrote:
    >
    >> For example, I'd like to create a series of site
    definitions, which I
    >> assume are configured in a particular file. Does
    anyone know the name
    >> and location of that file and whether I can copy it
    between upgrade
    >> versions?
    >
    > easiest is to just use the Export button in the Manage
    sites dialog box to
    > make .ste site def backup files.
    So that will create a new file(s) that features my site
    definition
    settings. Does anyone know the name and location of this
    file?
    >
    >> I'd also like to start downloading some extensions.
    How can I copy them
    >> into my next upgrade?
    >
    > again, just keep copies of the .mxp extension files to
    install into the new
    > version.
    >
    > my guess about what might be different about what
    customer service is
    > replacing it with is the new one might be a different
    package, ie have a
    > different set of other applications with it. If that's
    the case- you wont
    > need to uninstall the dw you are now using on trial
    basis. You could just
    > enter the serial number that comes inside the new
    package.
    >
    > Or- did you change operating systems between versions?
    >
    Well, I'm more confused than Adobe on this one. I have Studio
    MX,
    Education Version, on my PC and bought a newer Dreamweaver
    version for
    my Mac (before I upgraded to Leopard). I thought the best I
    could do was
    get a $200 upgrade discount for Dreamweaver 4 Mac. At the
    Apple Store,
    some guy insisted that I could upgrade to CS3 for a mere $550
    from
    Dreamweaver 4 Mac. I knew he was wrong, but he visited some
    page online
    and claimed he verified it. So I bought it.
    I was bummed out to discover he was indeed mistaken, but I
    was elated
    when Adobe Customer Support told me that even my Education
    Version of
    Studio MX qualified me for a full upgrade. But that
    apparently requires
    a different upgrade version.
    In retrospect, spending $400 on a new Dreamweaver version for
    Mac was a
    waste of money now that I'm getting CS3, but maybe I can
    upgrade it to
    the latest Dreamweaver version, then sell it half price or
    something.
    To make a long story short, I completely missed the boat on
    this
    upgrade, yet it has pretty much worked out for the best.

  • URL/webservice to copy a file between tiers

    I have an application (on tier X) that needs to be supplied with a URL which will be used to post an xml to. I'm assuming the URL to be in the form of a webservice capable of downloading the file onto Tier Y (includes weblogic server & rdbms 11g). I originally looked at loading said xml file straight into a DB table but I'm finding it difficult to find a way to do this so I am now looking at download the file to the OS on Tier Y first (I can upload into DB easily enough thereafter).
    With this in mind can anyone help me with any sample code that can be deployed to a weblogic server to achieve this requirement?
    Any hints, help or pointers are more than appreciated.

    Hi,
    Refer these threads:
    Re: copy a file
    Re: Cutting And Pasting Files in Application Server
    Regards,
    Gayathri

  • Copy the files between Vmware Guest -Host

    HI,
    My RHEL version is
    Red Hat Enterprise Linux AS release 4(Nanhant update 6)
    I need to install APPS 11i.
    I installed Linux on vmware.My host is win xp.Am able to ping guest as well host.How i can copy the files from host to guest.
    Please provide me the steps to do this.
    Thanks
    Valla

    Hi,
    How i can copy the files from host to guest.Use FTP or SFTP or any FTP client (search Google for FTP client and you will find plenty of tools available, i.e. SmartFTP/FileZilla/CuteFTP/Putty ..etc).
    Thanks,
    Hussein

  • Copy database file local folder is not working in 11g

    Hi,
    i am working on oracle forms 11g.
    the follwoing code is not working. could any one guide me to reslove the problem.
    declare
         lv_file_name varchar2(100);
         lv_command varchar2(200);
    begin
         lv_file_name := substr(:parameter.image_path,instr(:parameter.image_path,'\',-1)+1);
         lv_command := 'cmd /c copy_file '||:parameter.image_path ||' s:\temp\deposit\scanned_image\'||lv_file_name;
         client_host(lv_command);
         if form_success then
              message('saved..');
         else
    message('file copy process failed..');
         end if;
    end;

    Also, copy to the s: drive might not work. In your copy_file script you need to define the s: drive first
    net use s: \\some_shareor use UNC notation
    lv_command := 'cmd /c copy_file '||:parameter.image_path ||' \\some_share:\temp\deposit\scanned_image\'||lv_file_name;Oh, and use full path to copy_file:
    lv_command := 'cmd /c c:\some_directory\copy_file.bat '|| etc.;Edited by: InoL on Mar 11, 2013 9:20 AM

  • Copy user menus between servers.

    I need to copy 12.1 from development to Qa and Prod systems.
    How do I copy the menu that I have created in MII, what file contains the menus?
    Thanks
    Andy

    Hi Andy,
    By menus, I assume you mean the Navigation Links?  If so, under the System Management -> Configurations, export the Navigation configuration and import it into the new system.
    Kind Regards,
    Diana Hoppe

  • Is there a way to move (not copy/paste) files between HDs w/out command?

    I use external HDs a lot, so I move files from the Mac HD to to these external HDS but I always have to delete the source file after the copy/paste process is done I know I can push the command key and move them but I use my mouse more then anything and I would like to not use the command key. I've tried to use automator but for some reason the action quits working after while so I need to redo it-which gets annoying, but so does having to constantly copy/paste everything. So is there a way to achieve move with out copy/paste and automator? If there is, could let me know what that little delightful technique is?

    I use the following 3rd party cut/paste apps - CopyPaste Pro & iClip. Both you can use either the mouse or key commands.

  • Copying an environment between servers

    I am looking for instructions on copying my production environment to my Development server as an archive environment. Is there a way to use the BPC Administrator to do this or is using the backup/restore process in the BPC server manager (which by the way has issues with backing up the SQL data within the BPC process. a SQL backup from SSMS is necessary) the required process.

    Also refer the following SAP Note-"1455212 - Best practices for BPC MS backup".
    Go through the following links may be helpful
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20a26f50-4252-2a10-8c97-a2c7058cd804?overridelayout=t…

  • Final Cut doesn't playback when copy any files over network

    First, i want say a thanks for all guys who help us here. Thank you very much. Much appreciate.
    Now, problem...
    My Final Cut works perfect sice a starded used 2005, never i have a one problem.
    But last week i discover this:
    When a copy any files between macs over a network the final cut doesn`t play in the sequence. nothing happening. but if i stop copy in the finder, it ok, everything back normal again.
    I try using a project over a network and its perfect, fine.
    only if i copy anything in the finder and final cut doesnt play.
    Guys, anyone have this problem? Its normal?
    I dont know, i try many this before i post here and nothing works.
    Ps.: I have two imac i7 and this two have same problem.

    I hope i understand you right.
    when you copy a file from one network to another sometimes the file paths are lost. Like if you have a drive called FCP HDD on one cpu and FCP HDD3 on another. The original path is associated to the copied files on FCP HDD drive and not the FCP HDD3 drive so a path would be lost there.
    If you are connected via gigabyte ethernet cable and the imacs are synced then there would only be a latency problem as the gigabyte ethernet is slower than sata and FW 400 or 800.
    If you are just coping the source media (meaning the files you captured from the cam) then all of your paths will be new based on the place you copied them too.
    so if i have a project like 'My Commercial' and that is the name of the project file then it is it own project. The media within that project is associated to which ever drive you put it on.
    If i move the project to another computer then the media is not there.
    Why? Because the project is looking for the name of the original drive which may not exist on the imac you moved the project too. Unless you have a server.
    Also, Even if you do move the media files to the drive that IS connected to the new computer the drive is most likely to have a different path for the media.
    What you want is to connect the 2 cpus in a way that allows drive sharing.
    Do you get the red 'Media Offline" error in the timeline?

  • Copy appsets between servers

    Hi guys,
    I will shortly have to copy an appset between two servers, and the data also.
    Please could someone give me a definitive list (Warning: newbie alert!) of what exactly I need to move?
    I know I need to backup the appset using Server Manager from the original machine, and Restore it using Server Manager on the new machine, but what if the drive mappings are different between my old (dev) server and my new (live) one?
    Presumably, I can backup, move and restore my database too? Or is it not that easy??
    Like I said, this is new to me, so I just want to make 100% I don't forget anything!
    Thanks folks, I appreciate your help.
    Best wishes,
    Jason

    Dear Jason Maidment,
    It's only way to copy appset between server using Server Manager. You right to backup Appset from original machine and restore in new machine. If you restore Appset using Server Manager, SAP BPC will automaticlly restore files, database, and OLAP. I've tried to restore Appset in new machine which the drive mapping is different from original machine and I never get something error.
    I hope my information can uses for you.
    Thanks,
    Wandi

  • 'Finder wants to make changes' when copying files between two Macs

    Hey all,
    I've read a few versions of this problem on the forums here but haven't tracked down a solution.
    I have two Macs on the same network – I recently got a second-hand Mac Pro, and my Macbook Air. The computers are both on the network and can browse their respective folders and the like, but when I go to copy or sync files between the computers, I get a file permission issue.
    Finder on either computer prompts: 'Finder wants to make changes. Enter your password'. At the same time a corrupted version of the file copies to the other computer but with 0 bytes that doesn't open...
    Has anyone solved this issue before – it'd be greatly appreciated to hear any approaches!

    On the laptop I got 513
    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Can no longer move or copy files between drives (not a newbie issue!)

    Copying and moving files between internal and external devices, and external to external devices is no longer working.
    *For the first time in my life, I get a "Circle with a Bar through it" when attempting to move or copy files.*
    This doesn't happen between the two internal drives at all (though I'm worried it might start). It happens between two HFS+J devices as well as HFS+J and FAT32 devices. I can delete files, create folders, and in some instances where things are acting funny, copy to, but not from the device. A noticed side effect that is now happening is that I can no longer move drive icons (CDs, DVDs, HDs) to their upper-right hand corner position on the desktop, if they didn't start there. They don't drop there, just staying where they originally sat (under a list of desktop shortcuts and files). It does not matter if the drives are USB or Firewire, and this never happened previous to about a month ago.
    I have done all the basic stuff -- verify/repair drives, reboot multiple times, mount & dismount, change connection ports, backed up-reformatted-and restored the smallest drive, fixed preferences (not at all relevant), Disk Warrior repair the devices, set all permissions to R/W, check all device related infos, researched on-line for a week... Nothing. I have even taken the devices to PCs, where they work perfectly, and as expected.
    This issue is apparently either a corruption, or a bug induced by Software Update, in the part of the system that handles files and file structures, or possibly the _USB and Firewire_ interfaces.
    I just need to know where all those relevant parts are in the system folders, so I can attempt to restore them from a backup previous to the last "Software Update," (to be sure. And to bring this one step closer to being solved).
    A system restore really is not an option, as that would require nearly two weeks of re-tweaking everything from the system to every piece of software included (updating the system about 10 times via software update, reinstalling 90% of the actual software packages... and then updating those multiple times, looking-up all the serials that get killed, etc.)
    I have to correct this fast, as we need to move the files from the work drives to the archive drives before we run out of room. So any help would be very appreciated... even if you only know where a few of the system components are located (it just might be one of those, causing the issue).
    ---TIA

    {The last link in this post is most relevant, except for your recent finding.}
    The reference was to the User permissions, per each; as when these
    become corrupted, the simple 'repair disk permissions' and other
    basic duties do not find an error with them. That is because there is
    nothing really wrong with them from that standpoint.
    Another odd error can happen if one is resizing partitions in an Intel
    based Mac, and also if one has or had a BootCamp partition and
    wanted to reclaim space. But not always. Thankfully, the only time
    I tried Windows on a Mac, the media install disc was corrupted so
    it just didn't happen. That was Virtual PC and Windows on PPC.
    Tiger brought with it the ability to non-destructively resize partitions.
    However, it was not thought to be successful in non-Intel based Macs.
    The discussion on that matter came up a few years ago, so someone
    has undoubtably tried that in a PPC and reported findings online.
    When file sharing between user-account created content runs amok,
    then the system(s) will not allow the content to be moved or shared.
    So, if any shared user-account created content (including drives
    initialized or handled without permissions ignored, clones wrong,
    etc) are not the problem, then how does one explain these wrong
    ful action circles-with-lines, or action disallowed warning symbols?
    There must be a simpler answer. Do you have cats which have
    access to your computers in the off-hours? They do keyboard.
    Some have been thought to have technical skills outside of the
    usual coy and cute play-acting people think they are limited to.
    I'm sticking to the cats theory for now; the time is 3:21AM here
    and I only am up to get a drink and look outside at +5°F. calm.
    Mac OS X 10.4 Help: I can't move or copy a file or folder
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh194.html
    • _Rearranging Files (and renaming them)_ InformIT: Mac OS X unleashed
    http://www.informit.com/library/content.aspx?b=MacOS_XUnleashed&seqNum=122
    It is good to have a backup for the backup; plus a backup Mac.
    Good luck & happy computing!
    { edited: was distracted }

  • Back To My Mac: why can't I copy files between Macs?

    I use Back To My Mac to connect between a Mac Book Pro and Mac Pro. These two machines have the same home directory name, but different passwords. My home network is on an Apple Airport Extreme.
    A recent, persistent bug is causing havoc when I try to copy files between computers. Here is what happens:
    1. I connect to the Mac Pro remotely from the MBP, using my Apple ID credentials.
    2. Using a finder window on my Mac Book Pro, I try to copy a file TO the Mac Pro desktop that I'm certain doesn't already exist there. A "Preparing to copy" window appears.
    3. After a few moments, a window appears: "Finder wants to make changes. Type your password to allow this." Again, I've already entered my Apple ID to connect to the Mac Pro. This window requires my Mac Book Pro sign-in in order to continue.
    4. The next message is 'A newer item named “FileName.pdf” already exists in this location. Do you want to replace it with the older one you’re moving?'
    Here are the results of my options from this dialog:
    >>If I choose 'Keep Both Files':
    -- A progress window appears (saying something like "copying 0 of 108 kb", but without any progress bar movement). I click the X button to stop the transfer, the progress window changes to "stopping" status, but remains on the screen for several minutes. My Mac Pro is unresponsive/unreachable via BTMM during this time.
    -- After several minutes, the file transfer progress window disappears and my Mac Pro becomes available again via BTMM. There are now several THOUSAND numbered copies of the original. Each is 0 kb in size.
    >>If I choose 'Replace':
    -- A progress window appears, quickly followed by this message: 'The operation can’t be completed because an item with the name “” already exists.' The message appears exactly as written, without the filename between the quotes.
    -- A file with the same name as the one I tried to copy over is now on the Mac Pro desktop, but it is 0 kb in size.
    I'm lost -- not sure if this is a permissions issue, a problem w/ BTMM, or something else. Any input, advice, questions, etc. are very welcome.
    Thanks

    I'm having the exact same issue, did you find a solution. It's annoying!

  • How to start a database by copying the files(tablespace, redo, ctl files)

    Hi,
    I have two databases called Q1 and Q2. I am planning to copy from a cold backup files from Q1 to Q2 database.
    could anybody will provide the steps involved in how to copy from one database to another and how to rename the target database after copying and renaming the files in the target database to up and run?
    Please help.
    Thank you.

    For Oracle version from 9i the steps are :
    Perform Cold Backup of the Production database
    1. Note down the datafile, controlfile and redologfile locations on proddb
    2. Shutdown the production database Ensure clean shutdown.
    3. Copy the database files (datafiles, logfiles, controlfiles and parameter file) into the clone destination.
    4. Modify the parameter CONTROL_FILES in the pfile for clonedb to reflect
    the new path of the control files.
    1. Mount the database and rename the datafiles and redolog files.
    export ORACLE_SID=clonedb
    DB02> sqlplus / as sysdba
    DB02> startup mount
    DB02> alter database rename file '/u01/<path_to_proddb_files>/<filename>' to '/u01/<path_to_clonedb_files>/<filename>'
    2. Rename the database with the dbnewid (nid) utility
    3. Edit the pfile and update the new database name
    Modify parameter DB_NAME to reflect the new database name.
    also ensure you make necessary changes to the environment for ORACLE_SID, ORACLE_HOME
    as needed.
    4. Open the clone database.

Maybe you are looking for