暂无图片
pg_rman备份报错,提示00000005.history.done 找不到
我来答
分享
暂无图片 匿名用户
pg_rman备份报错,提示00000005.history.done 找不到

一个测试库,正常备份后,我把pgdata目录清空后,用rman恢复成功了,再用rman备份就提示报错如下:

INFO: copying database files
Processed 1624 of 1624 files, skipped 0
INFO: copying archived WAL files
ERROR: could not open destination file "/home/postgres/backup/20241202/104522/arclog/archive_status/00000005.history.done": No such file or directory

但是我到pg_wal中看有00000005.history.done

[postgres@gbase8c_1 archive_status]$ ll
total 0
-rw------- 1 postgres postgres 0 Dec 2 10:34 00000005.history.done
-rw------- 1 postgres postgres 0 Dec 2 10:45 00000008000000000000001E.00000028.backup.done
-rw------- 1 postgres postgres 0 Dec 2 10:34 00000008.history.done
[postgres@gbase8c_1 archive_status]$ pwd
/pgdata/12/data/pg_wal/archive_status

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
大魔导师秀儿

目录没有找对,设置一下归档文件的环境变量试试

暂无图片 评论
暂无图片 有用 1
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏