我正在使用 Barman 设置数据库备份系统。
我的数据库是一个 postgreSQL 数据库。
当我跑
酒保检查主数据库
我收到以下错误:
PostgreSQL: FAILED directories: OK retention policy settings: OK backup maximum age: FAILED (interval provided: 1 day, latest backup age: No available backups) compression settings: OK minimum redundancy requirements: OK (have 0 backups, expected at least 0) ssh: OK (PostgreSQL server) not in recovery: OK
我在 barman.conf 中使用的代码:
ssh_command = ssh postgres@10.0.0.XX
conninfo = host=10.0.0.XX user=YYYYYYY dbname=ZZZZZZZZ
retention_policy_mode = auto
retention_policy = RECOVERY WINDOW OF 7 days
wal_retention_policy = main
任何帮助将不胜感激