oracle - 如何使用 expdp Release 12.2.0.1.0 导出 oracle 数据库版本 12.1.0.2.0
问题描述
我正在运行以下命令来转储我的数据库
./expdp username/password@//host:port/database directory=/home/ubuntu/oracle/instantclient_12_2 dumpfile=dumpfilename.dmp content=METADATA_ONLY
并出现以下错误
Export: Release 12.2.0.1.0 - Production on Fri Sep 14 06:14:28 2018
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
UDE-00018: Data Pump client is incompatible with database version 12.1.0.2.0
我尝试搜索并且有人建议使用VERSION
参数,但我仍然没有成功。
有谁知道我应该怎么做才能克服这个问题?
我不能使用instantclient-tools-macos.x32-12.1.0.2.0.zip
,因为它没有expdp
命令。
解决方案
您可以使用数据泵 PL/SQL API使用数据泵 API 的示例 Oracle Doc 12.2
推荐阅读
- bash - 如何在 Unix Bash Shell 的条件下使用“目录相同”?
- python - 基于分数的值量化
- c++ - 如何设置整数的最小值/最大值,其中 `++` 和 `--` 和一般数学遵循您在 c++ 中设置的限制?
- javascript - 除非 F5 刷新页面,否则部署在 heroku 上的网页显示空白背景
- python - 如何在 spyder 中自动完成括号
- php - 无法在 Laravel 原始查询中绑定参数
- typo3 - 如何在 Fluid Typo3 中访问页面的资源文件
- vuejs2 - Vue材料设计文本字段下划线不显示
- python - Discord.Py 加入命令
- vue.js - 如何使用 Nuxt 保护 API 密钥并进行验证