Discussion Locked

I Need Help

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I Do some packup tools for the data that storing in oracle 8 database using develober 2000 tools ... To used for the end users ( to mack it easy than useing inp80 or exp80 command in oracle8 )

Thanks for help.

6 replies

by jim hawken

I have no experience with Oracle, but I do have a good book on it at work. I'll try to remember to bring it home tomorrow and see if it has anything helpful for you.

Do your users need to be able to control which tables are backed up, or when the backups are run? Could you just set up backups to be run on a schedule?
Regards,
Jim Hawken

by jim hawken

Depending on the size of your database, how often the data changes, and how much time you have when users aren't updating the database, you might want to back up some tables more often than others, and do full backups of the whole system less often. There are a lot of issues involved with doing usable backups that I'm not qualified to advise anyone on. But as a starting point, I think I'd set up parameter files for exp to do partial and full backups.

exp parfile=dailybkup.txt
exp parfile=fullbkup.txt

Or you can export specific tables, or all tables for particular users:

exp userid=username/pwd owner=(user1,user2)
exp userid=username/pwd tables=(locations,warehouses)
I don't know whether there's a scheduler within Oracle torun these, or you'd have to connect to Oracle as part of a script.

exp help=y is supposed to display all the export parameter options and defaults.

The book I've got is Oracle 8i: A Beginner's Guide, from Oracle Press/Osborne. It seems to be pretty thorough, although some of the examples could be explained in more detail, and I haven't had time to try any of the examples out yet.

by rodsherer

Write a batch program which runs through the DOS shell. Have it take in the pertinant information and send it to the appropriate Oracle executable. You could have one for backup and one to restore a *.dmp file.

They should each be relatively short and easy to write. If you have any questions about command line parameters from a DOS Shell application using *.bat or *.cmd programs, go to the library or book store and get yourself a book on DOS 5+. I've found it a handy reference for these seldom used programming tasks.

Good Luck.

This discussion is closed to new replies.