1

我正在运行以下命令来转储我的数据库

./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命令。

4

1 回答 1

0

您可以使用数据泵 PL/SQL API使用数据泵 API 的示例 Oracle Doc 12.2

于 2018-09-14T07:32:26.940 回答