Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: backup the tablespace
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2EE7E.F36FB6F0
Content-Type: text/plain
Use Oracle's export and import utility to create a dump file. Export from the source database and import into the target database. Go to the command prompt on the database server and type in "exp help=Y" and "imp help=Y" for a list of parameters.
example:
on source machine
export ORACLE_SID=FROMDB
exp userid=system tables=(JRK.MGR, JRK.SAL) file=tables.dmp
use binary FTP to copy tables.dmp from database server A to database server B (if the databases are on different hosts)
on target machine
export ORACLE_SID=TO_DB
imp userid=system fromuser=jrk touser=jrk tables=(MGR, SAL) file=tables.dmp
> -----Original Message----- > From: liujd [mailto:liujd_at_cti.ac.cn] > > I'm sorry post the text here .but I'm very urgent. > I created some tablespace and table in it .now I want to copy these to > another > Oracle system (the version are same).How to do .
------_=_NextPart_001_01C2EE7E.F36FB6F0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: backup the tablespace</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Use Oracle's export and import utility to create a =
dump file. Export from the source database and import into the target =
database.</FONT></P>
<P><FONT SIZE=3D2>Go to the command prompt on the database server and =
type in "exp help=3DY" and "imp help=3DY" for a =
list of parameters.</FONT>
</P>
<P><FONT SIZE=3D2>example:</FONT>
<BR><FONT SIZE=3D2>on source machine</FONT>
<BR><FONT SIZE=3D2>export ORACLE_SID=3DFROMDB</FONT>
<BR><FONT SIZE=3D2>exp userid=3Dsystem tables=3D(JRK.MGR, JRK.SAL) =
file=3Dtables.dmp</FONT>
</P>
<P><FONT SIZE=3D2>use binary FTP to copy tables.dmp from database =
server A to database server B (if the databases are on different =
hosts)</FONT>
</P>
<P><FONT SIZE=3D2>on target machine</FONT>
<BR><FONT SIZE=3D2>export ORACLE_SID=3DTO_DB</FONT>
<BR><FONT SIZE=3D2>imp userid=3Dsystem fromuser=3Djrk touser=3Djrk =
tables=3D(MGR, SAL) file=3Dtables.dmp</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: liujd [<A =
HREF=3D"mailto:liujd_at_cti.ac.cn">mailto:liujd_at_cti.ac.cn</A>]</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I'm sorry post the text here .but I'm very =
urgent.</FONT>
<BR><FONT SIZE=3D2>> I created some tablespace and table in it .now =
I want to copy these to</FONT>
<BR><FONT SIZE=3D2>> another </FONT>
<BR><FONT SIZE=3D2>> Oracle system (the version are same).How to do =
Received on Wed Mar 19 2003 - 19:20:53 CST
![]() |
![]() |