Moving a database

Hello Fellow Oracle Database users,
I have a data dump file of a database and sql scripts to create users.
I am having problems recreating the database. Can someone walk me through the steps because I think I have done everything right except I still can't see the tables.
Thanks

track your script...
to make sure that the object doesnt exists
connect as DBA sys/system then query the data dictionary
dba_objects
hope this helps
irving p ilagan
[email protected]

Similar Messages

  • Moving Publisher database to 2008R2 but subscriber 2005 will remain same. How to reconfigure this?

    We are planning to upgrade(not in place, moving to a new machine) the publisher(2005 EE) to 2008R2 EE but the subscriber(2005 EE) will be the same.
    Replication Type: Transactional replication
    Number of replicated databases: 1
    Existing
    SQL Server 2005 SP4 (Publisher & Distributer) with 8 publications
    SQL Server 2005 SP4 (Subscriber)
    New
    SQL Server 2005 SP4 (Publisher & Distributer) this will be upgrading to SQL Server 2008R2 SP2
    SQL Server 2005 SP4 (Subscriber) this will be same.
    After moving the database to new SQL Server 2008R2, how to re-configure the replication with the existing 2005 subscriber?
    There are hundreds of articles (objects) involving in the replication so it is not easy to reconfigure in GUI mode. So looking for plan to script the existing replication and plan to run those scripts on new server to re-configure is this possible?

    The best option is to script and recreate.  There is no real way to backup a replicated database and restore it on a new server and expect the publication to be intact on the new distributor and for it to pick up where it left off and continue.
    You can use the sync with backup option and log ship to the new server restore the final log ship with the keep replication switch and then rename the old server with the old publisher name. I have not tried this as part of an upgrade.
    Another option is to script the publication, drop the subscriptions, run the script on the new publisher and then do no-sync subscriptions.
    Using a script is the best way to do it, trying to do this via the gui is madness.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Moving the database in the same server

    Your replay:-
    for WIN NT: take a look at note 61747.1 Moving a 7.3 or 8.x database. And take a look at Note:99275.1, UNIX/NT: Moving a Database Within the Same Machine.
    Clarification: Where can i get the help for Note:61747.1 & 99275.1

    Sorry Sridhar.
    Take a look in MetaLink (www.metalink.com) and use the note ids to look up the information.
    Thanks.

  • Moving CMS database from one server to another

    Using the following:
    Crystal Enterprise 10, installed on W2K3 Server R2 (not making any changes to this server);
    CMS database, installed on W2K Server, SQL Server 2000, SP3
    New database server: W2K3 Server R2, SQL Server 2005, SP2
    I found what I think are the steps to moving the database from one place to another in the CE10 Administrator's guide (pages 291-300, but I want to make sure there aren't any "gotchas" when moving the database location and/or upgrading the database version.  I'm primarily a DBA, so I already know about the Schema security change going from SQL 2000 to SQL 2005.
    In a nutshell, here's my plan:
    1. Take fresh backup of the existing CMS database
    2. Stop Crystal Management Server
    3. Click "Specify CMS Data Source" on the toolbar.
    4. ETC--following the steps in the admin guide
    If anyone has done this and has run into any problems (what I'm expecting) or had it go smoothly (I would be surprised), please let me know what to expect.
    Thanks!

    All you really need to do is stop the crystal services.
    Backup the CMS and Auditing database
    Detach the CMS and Auditing database
    Copy CMS and Auditing databases to new DB server
    Attach the CMS and Auditing databases
    Set the compatibility mode
    On the servers/s that host the CMS service, modify the ODBC connections to point to the new database server
    Start the CMS service, fire up the Crystal services.
    One thing to note, I don't think SQL 2005 is a supported platform for CE10 - this doesn't mean it won't work and since the support lifecycle for the product is long gone it doesn't really make much difference however you may want to run some thorough testing prior to the move.
    Edited by: James Pretorius (CCLTD) on Aug 5, 2009 9:20 PM

  • Moving Custom Database to Native Sharepoint Database Server

    Hi,
    What are Microsoft recommendations on moving custom database from one SQL node to native node containing sharepoint content database.
    Are there any limitations or disadvantages of moving the custom database to content database server.
    Regards, Ketan Gandhi

    The general advice is not to. SharePoint doesn't play nicely with other applications (at least at the SQL level) and you're complicating the performance analysis aspects a lot.
    It also often involves harming the SharePoint security model by granting other service accounts and support staff permissions on the SharePoint databases. You've then got potential performance problems when either of the two applications is heavily loaded.
    Your SharePoint SQL instance may be using a custom Collation, which probably won't hurt anything but you can get odd behaviour if you end up with multiple DBs from different collations.
    You must keep the Max Degree of Parallelism at 1 for SharePoint, even if this hurts your custom App.

  • Moving Custom Database to Native Sharepoint Database Node

    Hi,
    What are Microsoft recommendations on moving custom database from one SQL node to native node containing sharepoint content database.
    Are there any limitations or disadvantages of moving the custom database to content database server.
    Regards, Ketan Gandhi

    Hi Ketan,
    I suggest you provide more information about your requirement for further research.
    If you want to use the custom database data in SharePoint, we can use Business Connectivity Services (BCS) in SharePoint 2010 to achieve it.
    http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
    If you only want to move the custom database to the database server of the SharePoint in order to use in other ASP.net web application, we can use "Attach..." or "Restore Database...". And then check
    the performance of the server.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Exchange 2010 - Moving mailbox database from exchange 2010 server to another exchange 2010 server

    Hi,
    I have a current existing exchange server running on 2008 R2. apparently the partition that holds the mailbox database is getting full and i need to move some user mailboxes to another environment ( exchange 2010 running on 2008 R2). i transferred some users
    successfully to the new location, but am not able to transfer the rest. I am getting the errors:
    Summary: 1 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:00
    Erastus XXXXX
    Failed
    Error:
    The queue in 'MBX2010_STAFF' database already contains a move request for 'Erastus XXXXX', while AD reports the mailbox as not being moved. It is possible that someone created this move request recently, while targeting a different domain controller, and AD
    replication did not yet occur. You can examine this move request by running 'Get-MoveRequestStatistics -MoveRequestQueue 'MBX2010_STAFF' -MailboxGuid f8023bc7-9d65-4194-9f6b-10e4780558b5 -IncludeReport | fl'. If you believe this to be an abandoned move request,
    you can remove it by running 'Remove-MoveRequest -MoveRequestQueue 'MBX2010_STAFF' -MailboxGuid f8023bc7-9d65-4194-9f6b-10e4780558b5'.
    Exchange Management Shell command attempted:
    'xxxxxxxx.co.ke/Training Department/XXXXXXX/XXXXXXX/Erastus XXXXX' | New-MoveRequest -TargetDatabase 'OFFICE_STAFF_MB_DB' -BadItemLimit '0'
    Elapsed Time: 00:00:00
    AND
    Summary: 1 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:01
    George XXXXX
    Failed
    Error:
    Service 'net.tcp://win-u5bjh2oamaa.xxxxxxxxx.co.ke/Microsoft.Exchange.MailboxReplicationService' encountered an exception. Error: MapiExceptionNoAccess: Unable to open message store. (hr=0x80070005, ec=-2147024891)
    Diagnostic context:
        Lid: 18969   EcDoRpcExt2 called [length=207]
        Lid: 27161   EcDoRpcExt2 returned [ec=0x80070005][length=202][latency=0]
        Lid: 32881   StoreEc: 0x80070005
        Lid: 50035 
        Lid: 64625   StoreEc: 0x80070005
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropLogon [254]
        Lid: 56503 
        Lid: 12716   StoreEc: 0x80070005
        Lid: 20794 
        Lid: 28474   StoreEc: 0x80070005
        Lid: 22330   dwParam: 0x0        Msg: 14.01.0270.001:CPLSERVER
        Lid: 1750    ---- Remote Context End ----
        Lid: 23354   StoreEc: 0x80070005
        Lid: 25913 
        Lid: 21817   ROP Failure: 0x80070005
        Lid: 26297 
        Lid: 16585   StoreEc: 0x80070005
        Lid: 32441 
        Lid: 1706    StoreEc: 0x80070005
        Lid: 24761 
        Lid: 20665   StoreEc: 0x80070005
        Lid: 25785 
        Lid: 29881   StoreEc: 0x80070005
    Exception details: MapiExceptionNoAccess (80070005): MapiExceptionNoAccess: Unable to open message store. (hr=0x80070005, ec=-2147024891)
    Diagnostic context:
        Lid: 18969   EcDoRpcExt2 called [length=207]
        Lid: 27161   EcDoRpcExt2 returned [ec=0x80070005][length=202][latency=0]
        Lid: 32881   StoreEc: 0x80070005
        Lid: 50035 
        Lid: 64625   StoreEc: 0x80070005
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropLogon [254]
        Lid: 56503 
        Lid: 12716   StoreEc: 0x80070005
        Lid: 20794 
        Lid: 28474   StoreEc: 0x80070005
        Lid: 22330   dwParam: 0x0        Msg: 14.01.0270.001:CPLSERVER
        Lid: 1750    ---- Remote Context End ----
        Lid: 23354   StoreEc: 0x80070005
        Lid: 25913 
        Lid: 21817   ROP Failure: 0x80070005
        Lid: 26297 
        Lid: 16585   StoreEc: 0x80070005
        Lid: 32441 
        Lid: 1706    StoreEc: 0x80070005
        Lid: 24761 
        Lid: 20665   StoreEc: 0x80070005
        Lid: 25785 
        Lid: 29881   StoreEc: 0x80070005
    Exchange Management Shell command attempted:
    'xxxxxxxxxx.co.ke/Training Department/xxxxxx/xxxxxxx/George xxxxxxx' | New-MoveRequest -TargetDatabase 'OFFICE_STAFF_MB_DB' -BadItemLimit '0'
    Elapsed Time: 00:00:01
    I have all the proper rights.
    YOUR ASSISTANCE WILL BE HIGHLY APPRECIATED. THANX :)

    0x80070005 is pretty standard access denied entries.  I would start digging into ACLs on a handful
    of mailboxes.
    Is there another Admin that can give it a shot to test their permissions vs yours?
    - If you find my post to be helpful, or the answer, please mark it appropriately. Thank you.
    Chris Ream

  • Moving oracle database from Solaris 10 to 9

    Hi all,
    Good day,
    I am looknig for perfect steps on moving an oracle database from one server to another server.
    Below are the details,
    From:
    SunOS sacsun134 5.10 Generic_142909-17 sun4u sparc SUNW,SPARC-Enterprise [Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit]
    To:
    SunOS sacsun120 5.9 Generic_122300-54 sun4u sparc SUNW,Sun-Fire-V890 [Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit]
    Any metalink ID would also be helpful.
    Many Thanks...

    To clone your ORACLE_HOME binaries, see 300062.1 (How To Clone An Existing RDBMS Installation Using OUI).
    To clone your database, see 458450.1 (Steps to Manually Clone a Database)
    To re-link the ORACLE_HOME binaries (because of the OS change), see 444595.1 (Is It Necessary To Relink Oracle Following OS Upgrade?)
    HTH
    Srini

  • Moving portal database from NT to HP-UX

    I am moving an existing 9iAS portal database from NT to HP-UX. 9iAS was already installed on HP-UX and is being used for a forms server and reports server. Do I need to do anything else but simply create a new database and export from NT and import onto HP?

    Hi,
    You can make use of the Heterogeneous System copy tool available on SMP for this purpose. You will also find a pdf guide for the same.
    Cheers!!

  • Moving the database to different mount point.

    Hi,
    I have R12 app tier on one server and 10gR2 database on separate server.
    I want to move the database files from /u01/oradata/PROD to /u02/oradata/PROD on the same server.
    I know how to do this for the database using alter database rename file .....
    But what do I have to do with the application and context files.?
    Do I just need to edit the values s_dbhome1, s_dbhome2, s_dbhome3 and s_dbhome4 to point to /u02/oradata/PROD and then run adconfig?
    Many thanks
    Skulls.

    I am not cloning, just moving the databaseI know, but Rapid Clone does also help (use the same hostname, domain name, port pool, ..etc except for the directory paths) -- Please note you do not need to use "alter database rename file" as Rapid Clone will take care of that.
    so I think manual changing datfile names is needed, followed by edit context file and run autoconfig?This is also valid.
    Thanks,
    Hussein

  • Moving SQL Database

    Im having issues moving the Primavera data on the local
    SQL server (currently on a laptop) onto a networked SQL
    server.
    All the data has been
    copied over, re-created the privuser and pubuser logins -
    the connection manager connects succesfully. <br
    />
    The problem is when i then open PM.exe
    and log in, the progress bar whizzes up to 98% then shows
    this error:
    Exception Exception in
    module PM.exe at 00CDCDAE.<br
    />TCBaseAppSyncVDBEngine.getPrefRow: There is no
    preference row in the database.
    <br
    />
    Any ideas how to solve this and open my
    projects?

    Hi,
    This is something our
    support department should be able to help you diagnose
    and solve. You can find information on contacting
    support here:
    <br
    />http://www.primavera.com/customer/support.asp<br
    />
    Thanks,
    Sean

  • Moving source database

    The source databse was moved from Oracle to Microsoft SQL server. What is the easiest way to fix all mappings and process flows to work on the new database?
    Tx, Kets

    Hi Kets,
    you need to perform these steps
    1) create in OWB new module for MS SQL server and import all tables/views which you need
    2) identify mappings which reference to tables/views from old Oracle source (with Impact Analysis OWB feature, OMB*Plus or via design repository public view)
    3) update mapping table/view operators (identified on previous steps) with new reference to MSSQL module (manually - with Inbound Synchonization function or via OMB*Plus with OMBSYNCHRONZIE command - for idea with OMB*Plus look at Re: best practice on 'from dev to test'move. in this script you need remove backslah before square brackets)
    4) deploy all modified mappings (again - manualy via Control Cenetr or via OMB*Plus with OMBDEPLOY command)
    If number of modified mappings is quite small (say no more than 20 mappings) - maybe it is simpler perform all steps manually.
    In case of large updates - it is possible to design single OMB*Plus scripts for steps 2-4
    Don't see any reason why you want to update processflow...
    Regards,
    Oleg

  • SCCM 2012 Moving the Database to Another Drive

    Due to space constraints I need to move my SCCM 2012 R2 database to another drive on the same system(server). I will run preinst/stopsite command to stop all sccm services, but wanted to know if I could copy and move the DB and Log files to their
    new drive location, instead of performing a SQL backup and restore? We are currently running SCCM 2012 R2 with SQL 2012 SP1 CU4 as our backend database.
    Thanks,
    -Bern
    

    you may have already seen these posts... worth a quick look:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/3462715c-d1b7-4f1b-b5f2-1f35235e4179/move-sccm-database-to-another-drive?forum=configmgradminconsole
    http://support.microsoft.com/kb/2709082
    http://damatisystemcenter.com/2013/05/23/moving-sccm-2012-sp1-database-to-new-folder/

  • Moving a database from windows oracle xe to linux oracle 10g Enterprise

    I tried exporting my database in windows oracle xe over the network to oracle 10g Enterprise Edition on a linux platform but I got the following error message:
    ---10.0.2.0 not compatible.
    I then did a local export in windows and moved the dumpfile to linux and I got the following error message:
    ---Bad dumpfile
    Please kindly assist me with a suggestion on how to migrate my database.
    Thanks.
    Lauretta.

    Which version of Oracle do you run on windows?
    I think, you didn't move the dump file using binary option on linux and that is why you got 'bad dump'.
    Make sure you ftp the file in binary mode.
    Jaffar

  • Correct cmdlet for moving my database/log files?

    Currently, my databases/logs reside on an external USB 1TB drive (D:\Mailbox\Mail400).  
    That being said, I need to move both database/logs to the C:\ drive
    Database - "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mail400"
    Logs-  "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mail400\Logs\". 
    Is this the correct cmdlet I would use to accomplish this move?
    Move-DatabasePath "Mail400" -EdbFilePath "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mail400\Mail400.edb" -LogFolderPath "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mail400\Logs\"
    I realize the best practice is to separate the database file and transaction logs onto separate disks but that isn't an option for us at this time.
    Ex2013sp1
    PennyM

    Hi PennyM,
    I have a test in my environment using the following cmdlet. I use Exchange server 2013.
    Move-DatabasePath -Identity 'Mailbox Database 1294421375' -EdbFilePath 'C:\Data\Mailbox Database 1294421375\test.edb' -LogFolderPath 'C:\Data\Mailbox Database 1294421375'
    There is no need to create these folders manually. When you run the above cmdlet, the folders you set will be created automatically.
    Besides, the move will take some time, it depends on the size of the database and transaction log files being moved.
    Hope it helps.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Moving the database of SAP J2EE Adapter Engine on another host

    Hello all,
    I'd like to ask SAP/Oracle experts if there is any obstacle, why would not be able to move Oracle database of SAP J2EE Adapter Engine on other/different host after the installation.
    As I describe int he thread [Installation of J2EE Adapter Engine with DB on different host|Installation of J2EE Adapter Engine with DB on different host;, the SAPINST program doesn't offer the possibility to install J2EE Adapter Engine with DB on other host than the central instance.
    Only thing I'm not sure about is if this is done by any purpose for some database requirement, or it's simply not there.
    SAP J2EE AE is normal JAVA AS with some more functionalities and is also installed within SAP PI/XI installation, which can run in "distributed model" system.
    What do you think ?
    Thank you for your opinion in advance.
    Regards
    Tomas

    No opinion anyone ?
    Tom

Maybe you are looking for