expdp备份数据库

1、创建DIRECTORY
create directory dir_dp as ‘D:/oracle/dir_dp’; 
2、授权
Grant read,write on directory dir_dp to zftang;
–查看目录及权限
SELECT privilege, directory_name, DIRECTORY_PATH FROM user_tab_privs t, all_directories d
 WHERE t.table_name(+) = d.directory_name ORDER BY 2, 1;
3、执行导出
expdp zftang/zftang@fgisdb schemas=zftang directory=dir_dp dumpfile =expdp_test1.dmp logfile=expdp_test1.log;

作者:SAP剑客
来源:CSDN
原文:https://blog.csdn.net/zhongguomao/article/details/78933333
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(oracle)