Move Database from one drive to another

Hi ,
I am using Windows Server 2003 and Oracle 10g R2 .
I created the database my mistake in D drive , and need to move it to E drive , can someone please guide me about the procedure to do this .
Thanks .

You need to move the datafiles from drive D to drive E. Also you can move the redo log files and controlfies to your desired drive from drive D.
##how to move datafiles.
1. Shut down the database E.G: shutdown immediate
2. Move datafiles by OS commands. mv /oracle/product/dbs/test02.dbf /oracle/oradata/ORALOG/test02.dbf
3. Startup the database in mount state e.g: startup mount
4. Rename that file e.g: alter database rename file '/oracle/product/dbs/test02.dbf' to '/oracle/oradata/ORALOG/test02.dbf';
5. Open the database e.g: alter database open.
##how to drop a redo log group
alter database drop logfile group 1;
## how to add a new redo log group
alter database add logfile group 1 ('/oracle/redofile/disk1/redo0101.log','/oracle/redofile/disk1/redo0102.log','/oracle/redofile/disk1/redo0103.log') size 50M;
To add a multiplexed copy of the current control file or to rename a control file:
1. Shut down the database.
2. Copy an existing control file to a new location, using operating system commands.
3. Edit the CONTROL_FILES parameter in the database initialization parameter file to add the new control file name,
or to change the existing control filename.
4. Restart the database. (by pfile)
5. create spfile from pfile='/oracle/product/dbs/initORALOG.ora';
Regards
Asif Kabir

Similar Messages

  • Can you move events from one drive to another easily?

    I've just bought an external firewire drive to dedicate to my Sony HD camcorder material.
    I've only imported 30 mins or so of stuff onto the Mac's internal drive with iMovie '08, and would like to know if anyone's managed to easily copy 'events' from one drive to another to merge/split content.
    Is it just a case of copying event folders from the iMovie Events folder to the external drive, but if so do you have to specify a particular path?
    Similarly, can you just move the individual 'Projects' or archive to DVD etc as they will invariably take up lots of space for longer footage? Does the projects file just hold references to the assembled clips, in which case moving events would scupper things as I seem to have several movie files in there already though these may just be things I uploaded to .Mac to test out.
    This may all be a bit of trial and error. Hopefully clips are only references unlike the pretty huge but self-contained iMovie 6 HD project packages. This also raises issues about how to easily backup all your 'events'.
    AC

    Observation:
    Just imported 15mins of video from the Sony.
    When you click import you are asked which drive to save to.
    As well as the Mac's internal drive, all my attached USB drives which are formatted as Mac OS Extended (journaled) appear as targets to save to as well as teh Firewire drive.
    I selected the Firewire drive and don't recall an option to create a sub-folder. After import a new top level folder of iMovie Events was created, but no others.
    Presumably iMovie Projects/Shared folders only exist on the boot drive.
    I'm assuming that this structure will allow you to share movie Events between Macs using external drives.
    Again, an assumption but I suspect iMovie scans all available suitable hard drives and checks what content is available in top level iMovie Events folders for non-boot drives as well as this folder in the user's Movies folder.
    Rambling observations over for now.
    AC

  • Plan to move photos from one drive to another - Need advice

    My C: drive is almost out of space. I want to move my photos to a new internal hard drive.
    In PSA SE 3, I've already tagged these photos. I want to know what's the easiest way to move my photos from one drive to another without losing my tags. Will "Reconnect Missing Files" find the moved files on a new drive if I keep my path the same (except for the drive letter)? Or will I have to reconnect the files manually one-at-a-time?
    Any advice is appreciated!

    I might. I think I have MySQL installed at home. I have MS SQL Server at work. Is the application data file Access-compatible? I'd love to be able to just hack the underlying data store.

  • How to 'move' databases from one server to another

    Hi there
    Here is a brief description of my assignment.
    We have two Redhat Linux 4 64-bit server where two Oracle 10.2.0.4 64-bit database are running (one on each server).
    <li>DB on server1 is using Filesystem for storage.
    <li>DB on 2nd server is using ASM.
    <li>Size of both is between 75-80GB.
    <li>I have to move both the databases to new servers (same platform) with minimum downtime.
    <li>There is no upgrade required during this move/migration. Both DBs have to be brought over as-is.
    <li>The new servers may be on VMWare - I am not sure it at the moment. But please let me know if that will make any difference.
    I would highly appreciate if someone could please provide me with some high-level guidelines to perform this move.
    Best regards

    Hi Srini
    Thank you so much for sharing the valuable URLs.
    I am reading through "Cloning An Existing Oracle10g Release 2 (10.2.0.x) RDBMS Installation Using OUI [ID 559304.1]" and I have few questions.
    <li> This MOS says:
    NOTE: This note should only be used for cloning single-instance (non-RAC) homes. It should not be used for cloning RAC, CRS or ASM homes.If that is the case, how should I clone ASM-Home?
    One of the environments that I have to migrate to a new server has ASM installed as well. And couple of oracle databases (10.2.0.5) on that server are using ASM for storage.
    <li>If were to do a fresh installation of 10gR2 RDBMS and ASM homes (on Redhat Linux 64-bit), I guess I need to contact Oracle Support (open an SR) to access the software, right?
    <li>How to check from existing installation which patches I need to download and apply to this fresh installation in order to make it same as the existing installation? "opatch lsinventory" gives me a long list of number/fixes - I don't know which patch(es) to download.
    Please advise!
    Best regards
    Edited by: user130038 on May 22, 2013 3:48 AM
    Edited by: user130038 on May 22, 2013 3:55 AM

  • Move Database From one location to another in same Server

    Hi,
    I am using 11 g R2 in OEL 5.
    I have installed my database inside oracle base /TEST_DB. Here i have oracle home and datafiles directories etc as usual.
    But i need to move this to /UAT/TEST_DB and run the oracle home and database form there.
    Is this cloning procedure is enough :- *Cloning An Existing Oracle11g Release 2 (11.2.0.x) RDBMS Installation Using OUI [ID 1221705.1]*
    or this is only for Oracle_Home??? If so please tell me how to move both the database and the oracle home.
    Regards,
    Susmit
    Edited by: Susmit on Dec 20, 2011 2:47 PM
    Edited by: Susmit on Dec 20, 2011 2:47 PM

    Susmit wrote:
    Hi,
    I am using 11 g R2 in OEL 5.
    I have installed my database inside oracle base /TEST_DB. Here i have oracle home and datafiles directories etc as usual.
    But i need to move this to /UAT/TEST_DB and run the oracle home and database form there.
    Is this cloning procedure is enough :- *Cloning An Existing Oracle11g Release 2 (11.2.0.x) RDBMS Installation Using OUI [ID 1221705.1]*
    or this is only for Oracle_Home??? If so please tell me how to move both the database and the oracle home.
    Hi,
    I did this just a week ago, or so. You don't need to clone the instance.
    There's a pretty good description on how to do this here:
    http://www.oracle-base.com/articles/misc/RenamingOrMovingOracleFiles.php
    However, after doing the steps outlined here, you're still having the same ORACLE_HOME and ORACLE_BASE. Do the following:
    SQL> alter system create pfile from spfile;and manually change the relevant parameters in the newly created pfile to reflect the changes you're about to do (dump_dest etc..)
    Shut down the instance, move all files in your ORACLE_HOME to the new location, and change all relevant environment variables.
    connect to your idle instance in the new ORACLE_HOME, and do
    SQL> startup pfile=/path/to/your/pfileand after the instance has started correctly, do
    SQL> create spfile from pfile;All done!
    HtH
    Johan

  • Moving Datafiles from one drive to another

    What is the procedure to move datafiles from one drive to another ?
    Thanks

    Hi,
    What is the Database version ?
    Anyways check this SAP Note 363018 - File management for SQL Server.
    Hope it helps
    Regards
    KT

  • How to move SQL database from one location to another location i.e. from C' drive to D' drive

    Hi, How to move SQL database from one location to another location i.e. from C' drive to D' drive ? please share some link.
    Thanks and Regards, Rangnath Mali

    Hi Rangnath,
    According to your description, my understanding is that you want to move databased from C drive to D drive.
    You can detach Database so that the files become independent, cut and paste the files from source to destination and attach again.
    There are two similar posts for your reference:
    http://mssqltalks.wordpress.com/2013/02/28/how-to-move-database-files-from-one-drive-to-another-or-from-one-location-to-another-in-sql-server/
    http://stackoverflow.com/questions/6584938/move-sql-server-2008-database-files-to-a-new-folder-location
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to copy/move Portal database from one machine to another?

    I am receiving a ORA-22973 error (size of object identifier exceeds maxmum size allowed) on the wwsec_enabler_config_info$ table when attempting to import my entire "portal30" schema from one database to another on different Windows NT Servers.
    Background: I had Portal 3.0.9.8 installed, configured, and running with the following setup:
    Machine 1: Windows NT 4.0 SP 6, Oracle 9iAS 1.0.2.2, Oracle Portal 3.0.9.8
    Machine 2: Windows NT 4.0 SP 6, Oracle 8i Database 8.1.7.0.0
    We no longer have use of Machine 2 and needed to move the database over to Machine 1.
    I performed the following steps:
    1. Installed Oracle 8i database 8.1.7.0.0 on Machine 1.
    2. Set up the tablespaces in the database on Machine 1 to match the same names and sizes of the tablespaces in the database on Machine 2.
    3. Used the Oracle "exp" command to export the entire database that resided on Machine 2.
    4. Copied the ".dmp" file to Machine 1.
    5. Used the Oracle "imp" command to import the entire database on Machine 1.
    6. The import completed successfully with warnings. But I had received the ORA-22973 error during the import process.
    7. After it completed I compared the list of tables and packages in the "portal30" schema between the two databases. The wwsec_enabler_config_info$ table is missing.
    8. I tried to export and import only the wwsec_enabler_config_info$ table between the two databases, but continue to receive the ORA-22973 error.
    Without the table being created, access to the portal cannot be achieved.
    Here are my questions:
    1. Is there anyway to create the wwsec_enabler_config_info$ table without receiving the noted error?
    2. Is there any other workable way to get the portal database from Machine 2 to Machine 1?
    I am aware of the portal import/export utilities but that would require me to run through the 2 hour install of Portal 3.0.9.8 on the database on Machine 1 and then individually export and import all the portal components (security, pages, applications, content library, etc). I merely wanted to transfer the entire database from one machine to another, so I felt the Oracle exp/imp utilities would be quicker and less work.

    Hi,
    I've been hitting problems with Portal 3.0.9.8.1 against 8.1.7.2.1 on NT - i.e., Intermedia not working at all, and have been advised by support to move back to 8.1.7.1.1.
    I don't want to lose any of my content in the Portal since the db upgrade and am wondering on what is the best way to do this.
    The version of the Portal will be the same so I am hoping I can just use the Portal export and import utilities, as afterall, it is just data and the schema structures are the same between db versions. I'm also hoping that the Portal export doesn't use the standard Oracle EXP tool as it doesn't work anymore on 8.1.7.2.1 on NT!!
    Regards,
    John

  • Copy File From One Drive to Another & Missing Keyword Tags

    Hi,
    I use LR 2.7.  I want to copy one file from one drive to another drive with the same file name.  I thought you could drag the file, but it doesn't copy over the file in the other drive, can you explain what I have to do? 
    Also, I tried to import the folder into another drive, but it doesn't copy the keyword tags.  Is there a way to do this?
    Thanks
    Barb

    Hey Barb,
       Well, if you use the Year/Month/Day/pictures_here  format, none of the folders contains a massive amount of folders.  It's not the number of folders that generates problems, it's having them all in _one_ folder that creates slow-down issues.  Imagine if you had a deck of cards; look for one card... you have to go through all 52 cards to find it.  But, if you broke it down into the 4 groups, you only have to go through 13, which is lots faster.  Now imagine going through 15000 instead of 52...
    Look at the way lightroom can automatically import by date;  it has several preset formats.  If you pick one of those, then when you import new photos, it will automatically create any missing ones, and you have lots less to do.
    Depending on how much work you have already done, you might consider making a new catalog and just importing all of your photos again, and let it create everything quickly for you.
    You could save all of your "edit" changes by writing out all of the xmp files first.  But with 15000 files in one directory, this will double it to 30000 (one per image!), but will preserve all of your edits if you choose to make a new catalog approach.
    As for combing catalogs, once you have one catalog the way you want it, you can select "import from catalog" and it will suck it into a new one, thus combining the catalogs.  The only problem I can see is that it will import it in the format you already have it, so you have to organize it manually before you import it.  Otherwise, you'll get your old format and your new format in the one catalog (but can then move pictures around if you need to).
    Personally,  I'd go the 'write xmp files, create new catalog' approach.  Then just recreate my collections, etc.
    But either way you do it, it will take some time processing, as that's a lot of files to start with!
    Ciao!
    Jason

  • Can I move photos from one computer to another using Vault?

    Can I move photos from one computer to another using Vault?  I use an external hard drive as a vault for my Imac and I want to import photos to my Macbook pro.  I have aperture 3 on both units.  Can I just plug the ext. drive into the laptop and import from the vault?

    You can't import from the vault but you can restore that vault onto the MBP. This will restore the complete library that is contained in the vault.

  • Can't move files from one volume to another

    Using the 1.2 client on SLED, I don't appear to be able to move files from
    one volume to another. I have two drive "mappings", each to a
    different volume on a NW65SP5 box, but when I try and cut and paste files
    I get an error saying "Not on the same file system". However if I drop to
    a terminal and just use mv, that works.
    Is this a known issue?
    Joe

    On Tue, 12 Sep 2006 12:59:23 +0000, Joseph Marton wrote:
    Hmm, yep get the smae problem when trying to move files.
    Copy works just great though.
    I know there are some issues in Gnome/Nautilus that's being worked upon.
    These are outlined in the Readme. For example it's not possible to copy a
    folder from Server A to Server B, then delete the folder form Server A.
    Finally later on copy the folder back to Server A from Server B.
    Also Gnome is leaking file handles, which could be the cause for the
    problem we're getting here.
    I'll ask my contact at Novell about this and have him enter it in as a bug
    if it's not a known issue.
    For a workaround you already have a good alternative of using mv in a
    terminal.
    Niclas Ekstedt, CNA/CNE/CNS/CLS
    Senior Network Consultant/NSC Sysop
    Telindus Sweden AB

  • Move photos from one roll to another?

    Hi,
    I have iphoto 6 and was wondering if I can move photos from one roll to another existing roll? When I moved photos from an external drive, photos that should have been lumped together ended up in different rolls so I'm trying to sort everything out. Is that possible?
    Thanks!

    Yes you can as long as you do it via the iPhoto Window. Using the View -> Film Rolls command, you'll see the Rolls in the iPhoto Window, and you can drag a pic to the Title of the target roll.
    Regards
    TD

  • Moving files from one drive to another

    How can I move a batch of files from one drive to another using Bridge CS4?

    There are two methods.  One involves your operating system and the other uses Bridge.
    Using Microsoft (sorry to you Mac users) have Windows Explorer open to the directory containing your files.  Click and drag the directory from one drive to another.  Conversely if you want to copy just a selection of the files follow this routine.
    Create a duplicate named directory in the destination drive.  Select the file you wish to move and do so from directory to directory.
    In Bridge it is even easier.  In Bridge ensure that the Folders sub pane is open and visibile.  Just click on the source directory and click and drag it to the destination drive.
    Testing on my part (I routinely move up to 30 gigabytes at a time) has demonstrated that Bridge adds a little time to the process depending on the size of the source files.  I suspect that this has to do with additional overhead of the program.
    To be safe I would recommend that you do use the copy method instead of moving the directory.  This is a failsae in case any problems crop up during the process.  It takes mere moments to delete the source directory after the copy routine has run.
    Wayne Webb

  • Best way to copy large VM files from one drive to another?

    Hi all, I am wondering what the best and fastest way there is to copy a large VM file from one drive to another (external drive to internal drive). Should the .pvm folder (in my case with Parallels) be zipped first? The files I need to copy range from 50 to 70gb. thx for any insight! ps. Even Bombich admits it's difficult for CCC to do...not clear why, but it does slow a full clone down to a crawl. I also have Chronosync at my disposal, but suspect the same is true there as well. Cheers!
    coocoo

    I don't think it matters much which way you do the job. I use Parallels to compress by drives on a regular basis. If you want to copy a dynamic VM, which can grow to just about any size as required, to another drive you will use about the same amount of time zipping the VM - transfering the VM - unzipping the VM, as you would just moving the VM.
    I've moved my VM files to a second partition that does not get cloned to my bootable backup that I create with SuperDuper. I've excluded my entire VM folder from Time Machine and just make zipped backups for each system after any large Service Pack Updates from Microsoft, or any intricate program installations. These get copied to a second partition on my Time Machine drive manually.
    My VM's sizes are kept under control by using common Documents-Movies-Music folders for the Mac and the VM's. My VM's do not have the data files the programs use, they are on my Mac and get backed up every hour with Time Machine.
    Reinstalling a VM just means deleting the broken copy, unzipping my latest backup, and putting into the same folder that Parallels knows to use. The data files are always accessible, even if they were created after my latest VM backup.

  • How to move object from one cont. to another

    Hi I am not able to move object from one container to another container in work order driver. while when i am same line of code in JMS driver its working fine and also log genarated for the same. but in work ordre driver it is not working. here is my code which i m using for the same.ple help me out
    <do-move-src-object class-name="ValeUser">
    <arg-dn>
    <token-local-variable name="var-str-nwoContent"/>
    </arg-dn>
    <arg-dn>
    <token-text xml:space="preserve">\</token-text>
    <token-global-variable name="dirxml.auto.treename"/>
    <token-text xml:space="preserve">\</token-text>
    <token-global-variable name="hrfeed.inactive.container"/>
    </arg-dn>
    </do-move-src-object>
    thanks
    Adarsh Kumar

    Idmlearner,
    sorry, but you are still posting in the wrong forum. You should ask
    these questions in the Identity Manager forum
    Shaun Pond

Maybe you are looking for