-bash-4.2$ pg_rman restore --backup-path /tmp/pg_rman/ --pgdata=/var/lib/pgsql/11/restore_test/
ERROR: required parameter not specified: ARCLOG_PATH (-A, --arclog-path)
-bash-4.2$ pg_rman restore --backup-path /tmp/pg_rman/ --pgdata=/var/lib/pgsql/11/restore_test/ -A /tmp/arclog/
pg_rman: could not open file "/var/lib/pgsql/11/restore_test//global/pg_control" for reading: No such file or directory
开始然后点击运行,输入cmd,回车,在命令提示符下 直接复制以下命令,然后右键点击命令提示符,再点击粘贴 for %1 in (%windir%\system32*.ocx) do regsvr32 /s %1 回车,滚动完毕后,再输入: for %1 in (%windir%\system32*.dll) do regsvr32.exe /s %1 回车!直到屏幕滚动停止为止,重启电脑 按照以上操作即可
答案来源于网络