export oracle schemas


 
Thread Tools Search this Thread
Operating Systems Solaris export oracle schemas
# 1  
Old 09-06-2004
export oracle schemas

Hi,

How do i export selected Oracle database schemas from HpUnix?

Is it possible to export it to a windows shared drive?

If so how do i do it?

Pls advice.

Thanks in advance.
# 2  
Old 09-09-2004
Why dont you use the old method?
I dont know how large your DB is but you can:
Export empty tables
and then spool data in flat files,
recreate tables on Win environment et
finalment Upload data.

voila!
# 3  
Old 09-10-2004
Hi,

Thanks.

But our intention is not to import the dump to Windows.

Let me explain. We have two sites.

We need to export the database from one site and send it to another site for import.

The hurdles i face are,

1. We donot have enoughspace in the UNIX server.
2. I need to send the export dump to another site.


To solve the hurdles, we thought we can use a windows shared drive and mount it to the unix server. So that we can dump the export to this newly mounted drive.

I cannot export the whole database as it is huge and i have the Unix 2gb limitation.

That is why i want to export by schemas.

Pls advice how i can go about doin it.

Thanks oce again for responding to my post.
# 4  
Old 09-28-2004
Ok I got it I think you should install (If you have enough space) SAMBA into your UNIX Station and then try to communicate the Unix Box with the Windows Box.

I did it once and it is not dificult to install and configure samba on a unix box and after all it is for free!!!

cheers
# 5  
Old 10-08-2004
Nicky,

Once you create a full dump file move it (FTP) to any OS in binary
format and you should be able to import it into the database there!

1. Create export of DB on UX

exp dba/passwd@yourDB FILE=exp_database.dmp COMPRESS=N CONSISTENT=N CONSTRAINTS=Y owner= <schema you want to export> foo GRANTS=Y INDEXES=Y RECORD=Y ROWS=Y Feedback=1000 LOG=exp_database.log

2. FTP file to Win2k
3. Create new db on Win2k
4. Create the tablespaces
5. Create the same users (foo)
6. Import the schema into the new database.

imp dba/passwd@newdb file=exp_database.dmp FROMUSER=foo TOUSER=foo commit=y LOG=imp_database.log


Note:: You can also export the database and redirect it to be compressed! - Check for this on oracle-> metalink

Hope this helps!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

DB2 Export and Import Oracle

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: is this enough to make the data perfect export into delimited file? there are some posted that i read, they... (9 Replies)
Discussion started by: Sonny_103024
9 Replies

2. Homework & Coursework Questions

DB2 Export and Import Oracle

Hi Guys, I Just wanted your opinion/ suggestion/ Help on my unix script about db2 export data with deli file and import into oracle. db2 connect to Tablename user id using psswrd db2 "EXPORT TO '/cardpro/brac/v5/dev/dat/AAAAA.DEL' OF DEL select * FROM AAAAA" db2 "EXPORT TO... (3 Replies)
Discussion started by: Sonny_103024
3 Replies

3. Shell Programming and Scripting

Parallel export of all oracle DB schema.

In my Oracle db there are 4 schemas. All the username & passwords are stored in a text file. I am using a while loop to export all the schemas. It read the first line and doing the export. For all users it export one by one. But I need all the schemas will exported simultaneously. i.e. all the... (1 Reply)
Discussion started by: priya001
1 Replies

4. Shell Programming and Scripting

How to do Parallel Export in Oracle DB

I intend to do parallel export of my Oracle db (i.e all the schema in my db). Currently I'm using the below exp command in my script: exp $uid/$pwd@$ORACLE_SID FILE=./DUMP/$today$username.dmp STATISTICS=NONE LOG=./LOG/$today$username.log For parallel export what should I use? Please... (1 Reply)
Discussion started by: priya001
1 Replies

5. Shell Programming and Scripting

Shell script to export data from Oracle table .

Hi, I want to write a shell script which will export data from oracle table . I don't want to save that data . I want the queries . Right now i am right clicking on the table and clicking on export as to my desktop . Please let me know if any one have any idea . (2 Replies)
Discussion started by: honey26
2 Replies

6. Shell Programming and Scripting

Oracle export

Hi Experts , Does anybody know the sheel scripts , which exports oracle tables into xls files . Thanks for your feedback. Regards Pranav (1 Reply)
Discussion started by: Heisonline
1 Replies

7. Solaris

how to capture oracle export log while running as background process

I ran the Oracle 9i export command from a terminal to export out a big table using "exp andrew/password file=andrew.dmp log=andrew.log" From the terminal I can see that the export is running as there is some output from the oracle export job. The export job is not complete yet. When i go check... (4 Replies)
Discussion started by: hippo2020
4 Replies

8. UNIX for Advanced & Expert Users

full export oracle on aix

Hi I have an oracle 7.3.4 running on an aix 4.3, I need to make a full export of the db and I haven't space on disk. Can I export directly to a tape drive? Has anybody a script to do so or something that can help me to? thank you very much (1 Reply)
Discussion started by: andwhat
1 Replies

9. Shell Programming and Scripting

export table from oracle database

i would like to export a particular table in my oracle database installed in a hpux box. i would like to determine the filesize of the output before performing these action so i can assess if my harddisk can still handle it. thanks as usuall :rolleyes: (1 Reply)
Discussion started by: inquirer
1 Replies

10. UNIX for Dummies Questions & Answers

Retrieve Oracle export to tape

Hi! We have an Oracle db export that was compressed and written to DLT tape directly!- This is from box1 The next step is to restore the contents of the tape into the database on box2. The problem is that there is no DLT tape drive attached to box2. There is a box3 that has the tape drive... (1 Reply)
Discussion started by: sdharmap
1 Replies
Login or Register to Ask a Question