Sign in or 

exp SYSTEM/password FULL=y FILE=dba.dmp LOG=dba.log CONSISTENT=yor
exp SYSTEM/password PARFILE=params.dat
exp <user>/<password> FIlE=scott.dmp OWNER=scott
exp SYSTEM/password FIlE=expdat.dmp TABLES=(scott.emp,hr.countries)-the above command uses two users : scott and hr
exp <user>/<password> FILE=scott.dmp TABLES=(emp,dept)the above is only for one user
imp SYSTEM/password FULL=y FIlE=dba.dmp
imp SYSTEM/password FIlE=dba.dmp FROMUSER=scott TABLES=(dept,emp)
imp SYSTEM/password FROMUSER=blake TOUSER=scott FILE=blake.dmp TABLES=(unit,manager)
imp <user>/<password> FIlE=scott.dmp
$>imp
Import: Release 9.2.0.6.0 - Production on Thu Mar 29 15:07:43 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Username: SYSTEM
Password: password
Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
Import file: expdat.dmp > /mention/path/of/dumpFile/includingFileName.dmp
Enter insert buffer size (minimum is 8192) 30720> (press enter to accept default)
Export file created by EXPORT:V09.02.00 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
List contents of import file only (yes/no): no > press enter
Ignore create error due to object existence (yes/no): no > press enter
Import grants (yes/no): yes > press enter
Import table data (yes/no): yes > press enter
Import entire export file (yes/no): no > press enter or type no
Username: give the userName for which you want the data to be imported
Enter table(T) or partition(T:P) names. Null list means all tables for user
Enter table(T) or partition(T:P) name or . if done: press enter
. importing TST_001_V2's objects into TST_001_V2
d0hboy |
Latest page update: made by d0hboy
, Jan 27 2009, 12:36 PM EST
(about this update
About This Update
Edited by d0hboy
2 words added 2 words deleted view changes - complete history) |
|
Keyword tags:
backup
dump
exp
imp
oracle export
oracle import
restore
More Info: links to this page
|
| Started By | Thread Subject | Replies | Last Post | ||
|---|---|---|---|---|---|
| osde8info | EXP & IMP only restores to same tablespace(s) | 4 | Today, 2:18 PM EST by hakbr | ||
|
Thread started: Mar 12 2008, 8:12 AM EDT
Watch
so if you want to restore/move tables to new tablespaces you must do this manually afterwards :
CREATE SMALLFILE TABLESPACE "USERS_REORG0" DATAFILE '/u1/app/mydb/users01_reorg0.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 2M LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ALTER TABLE "SCOTT"."DEPT" MOVE TABLESPACE "USERS_REORG0" ALTER INDEX "SCOTT"."PK_DEPT" REBUILD TABLESPACE "USERS_REORG0" ALTER TABLE "SCOTT"."EMP" MOVE TABLESPACE "USERS_REORG0" ALTER INDEX "SCOTT"."PK_EMP" REBUILD TABLESPACE "USERS_REORG0" etc etc
22
out of
24 found this valuable.
Do you?
Keyword tags:
alter index
alter table
backup
dump
exp
imp
move tablespace
oracle export
oracle import
restore
tablespace
|
|||||
| JohnKK | try this | 0 | May 11 2009, 6:38 AM EDT by JohnKK | ||
|
Thread started: May 11 2009, 6:38 AM EDT
Watch
hey~why not try this export/Import tool - [www.navicat.com]. It has schedule import and other powerful features.
I am not sure if this will totaly answer your question but it may be of some help. |
|||||
| fatsoft | ho Import data into a database existing | 0 | May 9 2009, 3:21 PM EDT by fatsoft | ||
|
Thread started: May 9 2009, 3:21 PM EDT
Watch
I have a program for the company
This company is more than one section and the database is the same status in each section Ardid and that the imported data from the branches every day or as needed to the database in the Head Office and sent via Aldata Balimiol for example, how can I, and no error message that the data already exists or tables Please help put an example of that, thanks fatah_q@yahoo.com |
|||||