操作步骤:
1.一主两备数据库,主备均开启归档;
gs_guc reload -N all -D dn1 -c "archive_mode=on"
gs_guc reload -N all -D dn1 -c "archive_command="cp %p /home/test_dir/%f" "
2.主机执行备份
初始化 gs_probackup init -B /home/backup_dir
初始化实例 gs_probackup add-instance -B /home/backup_dir -D dn1 --instance=pro1
执行备份 gs_probackup backup -B /home/backup_dir --instabce=pro1 -b full -d postgres -p 51000 --ttl=5
预期结果:
1.开启归档成功
2.执行备份成功
实际结果:
2.备份失败
报错信息:ERROR:pg_stop_backup doesn't answer in 300 seconds,cancel it
麻烦确认下原因
Hey @haomeng, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/opengauss/community/blob/master/contributors/command.en.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论