【发布时间】:2022-07-23 23:52:17
【问题描述】:
我正在尝试使用 barman 命令进行备份:barman backup pg 但它显示了类似的错误
ERROR: Impossible to start the backup. Check the log for more details, or run 'barman check pg'
后来我使用barman命令检查:barman check pg我发现另一个错误
systemid coherence: FAILED 。接下来我在酒保检查 postgres 的 systemid,我发现 systemdid 不同。
在这种情况下需要做什么?
我删除了identity.json 文件形式的酒保。虽然它以某种方式解决了我的问题。但我不确定解决这个问题是否正确?
identity.json 的实际用途是什么?我正在寻找专家意见。
Server pg:
PostgreSQL: OK
superuser or standard user with backup privileges: OK
PostgreSQL streaming: OK
wal_level: OK
replication slot: OK
directories: OK
retention policy settings: OK
backup maximum age: OK (interval provided: 1 day, latest backup age: 2 hours, 57 minutes, 55 seconds)
backup minimum size: OK (876.1 MiB)
wal maximum age: OK (no last_wal_maximum_age provided)
wal size: OK (31.5 KiB)
compression settings: OK
failed backups: OK (there are 0 failed backups)
minimum redundancy requirements: OK (have 3 backups, expected at least 1)
ssh: OK (PostgreSQL server)
systemid coherence: FAILED (the system Id of the connected PostgreSQL server changed, stored in "/var/lib/barman/pg/identity.json")
pg_receivexlog: OK
pg_receivexlog compatible: OK
receive-wal running: OK
archive_mode: OK
archive_command: OK
continuous archiving: OK
archiver errors: FAILED (duplicates: 50)
【问题讨论】:
标签: postgresql postgresql-12 postgresql-13 barman