exp userid=system/manager file=/directory/my_dump.dmp full=y
The above example with the exp utility will connect to your local database, create a dump file in the specified directory, and perform a full export of the database. If you want to connect to a remote database, then you will need to define an entry in your TNSNAMES.ORA file that points to the remote database, and then connect as follows:
exp userid=system/manager@remotedb file=/directory/my_dump.dmp full=y
For more information on the many parameters in the exp and expdp utilities, please refer to the Oracle Utilities guide.
Dig Deeper on Oracle database backup and recovery
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs. Continue Reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command. Continue Reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.