Oracle DBA

 Steps to take backup using expdb in oracle database:

How to take the backup of a object using expdb?

Step1: created directory /data/backup using mkdir -p /data/backup


Step2

created directory test_dir as '/data/backup';


What is the meta data table to see details for directories?

Desc dba_directories;

select Owner,DIRECTORY_NAME from dba_directories where DIRECTORY_NAME ='DIRECTORNAME';


Step3: Taking backup using expdb in linux:

Here is the command to take the backup using expdb:

expdp tables=U1.T2 directory = TEST_DIR dumpfile = Table.dmp logfile = Table.log

Note: Two files will be created one is dump file and another one log file.

Backup successfully done as below.











Comments

Popular posts from this blog