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

Similar Messages

  • 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

  • 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

  • Pages: How to move pages from one location to another?

    How to move a page from once place to the other in a document? The previous version allowed to do it

    Apple has removed almost 100 features from Pages 5. This is just one of them.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5, after Exporting your files to Pages '09, and rate/review it in the App Store, then get back to work.
    Peter

  • Move photos from one user to another on same computer

    How do I MOVE pictures that I have created on one user to the new user? 
    I don't wish to keep the photos on the other user as I feel it would use up too much room on the Imac...

    Does this involve iPhoto somehow?
    Assuming it does: export from iPhoto in Accoint A; put the files in the Users/Shared folder. Switch to Account B. Import the files from the Users/Shared Folder.
    Then delete the files from Users/ Shared and back to Account A and delete them from iPhoto there.
    Regards
    TD

  • Move apps from one itouch to another using same computer

    I have a itouch 3g, my daughter has been playing alot of games on it, so for her upcoming brithday I brought her a itouch 3g. My question is how to get all of the games she has playing with the history transfered to her new itouch so I can get them off my itouch? 

    Do one final sync (it includes a backup) of the old iPod.  The restore the new iPod from the backup of the old iPod.  She will have to renter her passwords and other keychain items since those are only restore to the sam device unless you use an encrypted backup.

  • 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

  • OpenScript: 1.     How to move the scripts from one location to another location. in OpenScript; Copy, paste or Import, export

    How to move the scripts from one location to another location. Copy, paste or Import, export

    Both way you can do.. Difference is - if you copy paste to another folder script dependencies will not move with the same( ie Assets added), whereas if you export and import the script all dependencies will be correlated automatically

  • How to copy file from  one location to another

    Hi,
    I am new to java, I tried the following code to move the file from one location to another
    public class CopyFiles {
    public String copy ( File source, File target)
    throws IOException {   
    FileChannel sourceChannel = null;
    FileChannel targetChannel =null;
    try {   
    sourceChannel =new FileInputStream(source).getChannel();
    targetChannel= new FileOutputStream(target).getChannel();
    targetChannel.transferFrom(sourceChannel, 0,
    sourceChannel.size());
    finally {   
    targetChannel.close();
    sourceChannel.close();
    return "Success";
    public static void main(String [] args) throws Exception{   
    File source = new File("C:\\users\\download.pdf");
    File destinationFile = new File("C:\\apple\\download.pdf");
    copy(source, destinationFile);
    The above code is working perfectly, but I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.

    kameshb wrote:
    I Don't want to include the file name in destination file. i.e. File destinationFile=new File("C:\\apple"), and at the same time the pdf with same name has to get stored in the destination location, how can I achieve this.It's not totally clear what you're saying here, but what I think you mean is that you don't want to explicitly set the destination file name--you want to just give the copy the same name as the original. Yes?
    If that's the case, then break the original up into separate directory and file name portions, and then construct the destination path from the destination directory plus original file name. You can do that by manipulating the full path string, or by using the methods in java.io.File.

  • Can't move document from one folder to another

    In the previous incarnation of Pages, right when it first developed Folders (a long overdue development), I was able to easily move a document from one folder to another on my MacBook, as well as my iPad.
    Now, whenever I grab a document and try to drag and drop it into a new folder to move it, it won't let.
    Did Apple actually remove this functionality from Pages?

    Didn't have the Yosemite MBA powered up, so verified this on Mavericks with Pages v5.2.2. Since Apple has essentially frozen the Pages v5 codebase, figured this would also work on Yosemite.
    Any application (e.g. TextEdit) that takes advantage of this titlebar feature can move documents in this manner.
    In the Finder, you can move a document from one location to another by depressing the command key while dragging the file.
    In Pages v5.2.2, with the document chooser open, I can use the preceding sentence move technique to move a file from an open folder into the Pages document chooser and it will automatically switch the Pages document chooser to inside that external folder — without launching the document. But, the command+drag feature does not work to move a document visible in the Pages v5.2.2 document chooser to another Finder location, or even into a folder visible within the document chooser.

  • [CS3 JS]  Move pages from one document to another?

    First, a brief explanation of what I am trying to do. I have several individual chapters that I am including in an INDD book. However, I also want to be able to allow those individual chapters to stand alone, meaning that I want to add a cover/title page to each chapter file (these two pages would be placed before the current page 1 of each chapter).
    My preference would be to write a script that would open the cover/tp file and open the first chapter file; this part is no problem. Where I am running into trouble however, is the second step: moving the cover/tp pages (2 pages) over into the chapter file.
    Manually, I would open Cover.indd, activate the "move pages" menu, "Move pages: 1-2", "Destination: Before_Page 1", "Move to: Chapter1.indd".
    With over 100 chapters in the book, however, I would prefer to automate the process. I have looked into the Page.move and PageItem.move elements, but both look like they would require a location in the current document (either in (x,y) form or using "AT_BEGINNING".
    If I cannot get this to work, I will likely try to insert two blank pages, then cut/paste with a script, but I would prefer the "move" functionality, if it is possible.
    A couple of answers to potential questions:
    I can't simply place the INDD cover file b/c it uses a text variable to pull the chapter name; this personalizes each stand-alone chapter.
    Same answer to why I can't just slap the 2-page .pdf on the front of each. I need the text variable to still be active.
    Has anyone tried to move pages from one document to another using scripting? I tried to explain what I am trying to do, but if it doesn't make sense, I can try again. :)
    thanks!
    Matt

    ok here we are
    I get a raw skeleton that you will have to adjust but it's functional.
    Use a PDF for placement as you can specify the page that you want to place.
    I don't know if you can do the same for indesign files.
    So basically, it starts adding 2 pages and placeing the pdf in the same time.
    After that, it creates the textVariable and the frame that will receive it.
    Here you are:
    //If a document is open
    if(app.documents.length!=0)
    var ad = app.activeDocument;
    //Pages placement
    for(i=0; i<2; i++)
    //Add 2 pages on top of the document;
    var tmpPg = ad.pages.add(LocationOptions.BEFORE, ad.pages[0]);
    //Here you place your pdf
    app.pdfPlacePreferences.pageNumber = i;
    tmpPg.place(File(cover.pdf), false)
    //You should specify page x and page y but ain't found yet the way to go.
    //Text variable creation
    //Check if the textVariable named "txtVar" does not already exist...
    if(ad.textVariables.item("txtVar")==null)
    //if not found, create the text variable named "txtVar"
    var txtVar = ad.textVariables.add();
    txtVar.variableType =VariableTypes.CUSTOM_TEXT_TYPE;
    txtVar.name = "txtVar";
    //Set the contents of the text variables to the string "test"
    ad.textVariables.item("txtVar").variableOptions.contents = "test";
    //these coordinates don't care aboutyour units but you may adjust them to your needs
    var y1 = ad.marginPreferences.left;
    var x1 = ad.marginPreferences.top;
    var y2 = y1+5;
    var x2 = x1+25;
    var myFrame = ad.pages[0].textFrames.add({geometricBounds:[y1,x1,y2,x2]});
    //Set the contents of the frame to the text variables "txtVar"
    myFrame.contents=ad.textVariables.item("txtVar").variableOptions.contents;
    //You may want to stylize the txtVar
    //In this case, either you use a existing characterStyle or you create one in the script
    Bye Loic

  • Moving fields from one location to another location?

    Hello
    I hv developed my_form, having couple of subforms, fields.
    They decided to change the layout drastically, pls. let me know How I can MOVE fields as a BUNCH from one location to another location on a DIFFERENT page?
    Say, earlier i hv 5 fields together, side by side on a same line/row wrapped in my_sub_form on 2nd page. Now, after they revising they want to see these 5 fields of the my_sub_form on 3rd page, pls. let me,
    1) How can i move these 5 fields ALL TOGETHER as a bunch to another location, so that it meakes my life easy? instaed of moving a single single field.
    2) or i should move my_sub_form AS A WHOLE? i tried it not giving me a chance of moving as a my_sub_form?
    3) Pls. let me know what is Object Tool? where can i see on the form, i did RIGHT CLICK, but, did not see any such Object Tool on the displayed sontext menu?

    Hi,
    Best option would be to select the objects in the hierarchy and then drag them in the hierarchy to the new location. For example if you drag them over a page and release, Designer will place the objects at the end of that page's content.
    Hope that helps,
    Niall

  • How to move materials from one sloc to another sloc  materials are more tha

    Hi,
    Can any one help me on this issue How to move materials from one sloc to another sloc  materials are more than 1000
    and from existing sloc to new sloc which is Hum managened i need help onthis issue thanks

    hi
    use T-code: MB1B Transfer Posting
    Movement type:
    311 Transfer posting storage location to storage location in one step
    The quantity is transferred from unrestricted-use stock of the issuing storage location to unrestricted use in the receiving storage location.
    Possible special stock indicators: E, K, M, Q
    313 Stock transfer storage location to storage location in two steps - removal from storage
    The quantity is transferred from unrestricted-use stock of the issuing storage location to stock in transfer in the receiving storage location.
    Possible special stock indicators: None

  • How to move iTunes from one user to another on the same Windows 7  computer

    How to move iTunes from one user to another on the same Windows 7 computer? Thanks, Bob

    Move the iTunes library to a shared area and then into the desired location. If this isn’t the default one, launch iTunes with the Shift key held down and choose that library.
    (122379)

  • Can I move applications from one user to another on the same computer?

    If I have two users on one mac, can I move applications from one user to another on the same computer?
    Thanks

    By default, apps are installed for all the users in /Applications

Maybe you are looking for

  • What's a good software to use for Vendor Management?

    We would like to do risk assessments, keep contracts & upload other pertaining documents to these vendors. Looking for a software that can be installed locally in our network.  If anyone has any suggestions, please let me know, thank you! We have bee

  • Same Oracle Bind Variable Name in 2 VOs not permitted?

    Hi, JDeveloper Studio Edition Version 10.1.3.3.0.4157 I have 2 different Entity based VOs, those VO's use similar Entities but their WHERE is clause is different, one VO doesn't extend the other one. I have used Oracle (first time use for me) named b

  • Spool is not gentrating

    Hi All, We r ctreating one job and assign the variant to that job .That job is already having the lot of varients Run the job but for new variant it is not gentrating spool .For same programm  with differnt variant it is gentrating the spool .But for

  • How I make a change to the submenu?

    How do I change the submenu in abobe muse 2014?

  • Credit Card Charged Multiple Times When Ordering Photo Book

    I had difficulty ordering a photo book. After reading through your support pages I figured out how to do it after trying 8 times - it kept crashing. Today, I look at my credit card statement and i've been charged 8 times even though it only went thro