DBAsupport.com Forums - Powered by vBulletin
Results 1 to 9 of 9

Thread: db cloning question: no response last time

  1. #1
    Join Date
    Aug 2000
    Location
    Chicago IL
    Posts
    586
    I installed 8i on linux yesterday at Digiship. I have created a database called DSDEV. and as you know the installer creates some datafiles system, user01, temp01 etc. dbf files. The user wants me to copy over the data from another instance to DSDEV. How do i copy over the datafiles and get the database up and running?


  2. #2
    Join Date
    Sep 2000
    Posts
    96
    You could probably use import/export or SQL Loader either one.

  3. #3
    Join Date
    Aug 2000
    Location
    Chicago IL
    Posts
    586
    yes but import export wont copy files over.

  4. #4
    Join Date
    Mar 2000
    Location
    CA
    Posts
    317
    You cannot copy datafiles from DB to another.

    You can only move data from one to another.
    Thanks
    Kishore Kumar

  5. #5
    Join Date
    Aug 2000
    Location
    Chicago IL
    Posts
    586
    ok....see export will copy database structures and you can import them to another instance.,
    but what about copying the datafiles them to another instnace?

  6. #6
    Join Date
    Sep 2000
    Posts
    96
    I'm not sure about this, so someone please verify. Wouldn't you just create new datafiles, etc when creating the new database. Then, using export/import, copy over the table structures, data, indexes, triggers, etc.

  7. #7
    Join Date
    Mar 2000
    Location
    CA
    Posts
    317
    There is no way to copy Datafiles from Once Db to another. Only the way is to create that new Db, export from Old to new.

    Thanks
    Kishore Kumar

  8. #8
    Search the term transportables tablespaces.
    This way you can "unplug" a fully contained tablespace and plug it into the new database.
    Interesting, right?
    Ramon Caballero, DBA, rcaballe@yahoo.com

  9. #9
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Threre are many ways you can copy data from one schema to another schema in another instance.

    1 Export/Import at user level

    2 Use COPY command with db link

    3 Use SQL*LOADER

    4 Use DB cloning method if you want to create duplicate DB.

    5 Use Multimaster Replication so that every transaction is copied from one instance to another instance. Use Active/Passive option.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width