399 Star 1.3K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

主备模式下,开启归档,gs_probackup备份失败

已验收
缺陷
创建于  
2021-05-24 17:14

操作步骤:
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

麻烦确认下原因

评论 (1)

haomeng 创建了缺陷
haomeng 关联分支设置为master
haomeng 计划截止日期设置为2021-05-26
haomeng 关联仓库设置为openGauss/openGauss-server
haomeng 负责人设置为Cross-罗
haomeng 计划开始日期设置为2021-05-24
haomeng 优先级设置为主要
展开全部操作日志

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.

haomeng 添加了
 
kind/bug
标签
haomeng 添加了
 
sig/storageengine
标签
haomeng 修改了描述
Cross-罗 通过opengauss/openGauss-server Pull Request !980任务状态待办的 修改为已完成
haomeng 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5622128 opengauss bot 1581905080
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

搜索帮助