我已经开始考虑使用 barman 来执行我的数据库备份,但是我遇到了以下错误:
酒保备份主服务器
此命令给出以下结果:
错误:无法启动备份。检查日志以获取更多详细信息,或运行“barman check main-server”
当我然后运行时:
酒保检查主服务器
我得到以下信息:
Server main-server:
WAL archive: FAILED (please make sure WAL shipping is setup)
PostgreSQL: OK
is_superuser: OK
wal_level: OK
directories: OK
retention policy settings: OK
backup maximum age: FAILED (interval provided: 1 day, latest backup age: No available backups)
compression settings: OK
failed backups: FAILED (there are 4 failed backups)
minimum redundancy requirements: OK (have 0 backups, expected at least 0)
ssh: OK (PostgreSQL server)
not in recovery: OK
archive_mode: OK
archive_command: OK
continuous archiving: FAILED
archiver errors: OK
任何帮助将不胜感激
编辑:来自调用酒保备份主服务器的日志信息:
barman.wal_achriver 信息:从主服务器的文件存档中找不到 xlog 段。