适用版本
OBDUMPER 所有版本。
问题现象
通过 OBDUMPER 导出数据时出现以下报错:
2022-03-11 16:20:29 [INFO] The security certificate file: "/home/admin/ob-loader-dumper-2.3.0-SNAPSHOT/conf/secure.crt" is not exists
2022-03-11 16:20:29 [ERROR] Dump failed! Error: The target directory: "/home/admin/dumper" is not empty.
2022-03-11 16:20:29 [INFO] System exit 1
问题原因
默认导出的时候需要确认目标目录为空,不为空则报错。
解决方法
添加参数 --skip-check-dir 参数后重新执行命令解决。使用 --skip-check-dir 选项将对非空目录下相同的表的导出数据进行覆盖。