restore_file

插件命令用于从远程存储系统移动备份文件。

概要

plugin_executable restore_file plugin_config_file file_to_restore

描述

gprestore在master服务器和每个segment主机上调用restore_file插件命令,以获取gprestore将从本地磁盘上的备份目录中读取的文件。

restore_file命令应处理文件并将文件从远程存储系统移动到本地主机上的file_to_restore

参数

plugin_config_file 插件配置YAML文件的绝对路径。 file_to_restore 从远程存储系统移动备份文件的绝对路径。

返回值

restore_file命令必须在成功时以值0退出,如果发生错误则必须为非零。 在非零退出代码的情况下,gprestore向用户显示stderr的内容。

当前内容版权归GreenPlum和翻译组所有,若有侵权请联系删除下架 修订时间: 2024-09-15 21:48:07

results matching ""

    No results matching ""