To export oracle database using expdp follow the below steps:
1. Create Directory Path.
SQL> create directory BACKUP_DIR as '/backup/dailybackup';
Directory created.
SQL> grant read, write on directory BACKUP_DIR to system;
Grant succeeded.
2. Ensure the directory by following query.
SQL>
SELECT directory_path from dba_directories;
SELECT * from dba_directories;
3. exit from sql prompt.
SQL> exit;
4. To backup database in full export mode issue to following data pump command:
EXPORT FULL BACKUP
==================
[oracle@oracle ~]$ expdp system/manager full=y directory=BACKUP_DIR dumpfile='DB09MAR2017.dmp' logfile='DB09MAR2017.log';
EXPORT BACKUP of TABLESPACE
===========================
expdp hr/hr@ORCL DIRECTORY=exp_tblsp DUMPFILE=tablespace.dmp LOGFILE=tblsp_log.log TABLESPACES=USERS,EXAMPLE;
expdp system/manager DIRECTORY=BACKUP_DIR DUMPFILE=tablespace.dmp LOGFILE=tblsp_log.log TABLESPACES= PSIMAGE;
Please feel free to correct me if there are any errors in the blog. I am writing this blog for my reference and understanding.
Monday, 17 July 2017
Subscribe to:
Post Comments (Atom)
Jenkins Startup and Configuration
Steps to setup jenkins on ubuntu:- -After installation. check the jenkins services running on not on the server. sudo service jenk...
-
Oracle 11g Hidden Database Parameters ============================= [oracle@dev ~]$ sqlplus / as sysdba; SQL*Plus: Release 11.2.0.3.0 Prod...
-
ReactJS Important links: https://github.com/facebook/react https://en.wikipedia.org/wiki/React_(JavaScript_library) https://facebook.gi...
-
PeopleSoft Tables (PeopleTools, HRMS, Benfits, Payroll) PeopleTools Tables Projects * PSPROJECTDEFN — Project header table * PSPROJEC...
No comments:
Post a Comment