ORA-39087 目录名无效

一 问题描述

用expdp备份报错:

[oracle@MOD-ORACLE-01 ~]$ expdp scott/tiger schemas=scott directory=BAKDIR tables=dept file=dept.dmp 

Export: Release 11.2.0.4.0 - Production on 星期一 5月 31 15:29:14 2021

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
UDE-00010: 已请求多个作业模式, schema 和 tables。

[oracle@MOD-ORACLE-01 ~]$ expdp scott/tiger  directory=bakdir tables=dept file=dept.dmp 

Export: Release 11.2.0.4.0 - Production on 星期一 5月 31 15:29:27 2021

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-39087: 目录名 BAKDIR 无效

二 出错原因

该备份用户没有对目录的操作权限

三 解决办法

grant read,write on directory bakdir to scott;

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值