I have a problem with cron backups. When I do it manually it works like a charm but when I want to do this by cron I have a problem and it doesnt work.
I think everything You need to help me is in attached file with barman diagnose.
[root@barman ~]# cat /etc/cron.d/barman
# m h dom mon dow user command
* * * * * barman [ -x /usr/bin/barman ] && /usr/bin/barman -q cron
30 11 * * 6 barman /usr/bin/barman backup ezddb
[root@barman ~]# cat /etc/barman.d/ezddb.conf
[ezddb]
description = "*"
conninfo = host=ezddb user=barman dbname=postgres
streaming_conninfo = host=ezddb user=streaming_barman
backup_method = postgres
streaming_archiver = on
slot_name = barman
retention_policy = RECOVERY WINDOW OF 2 WEEKS
minimum_redundancy = 2
path_prefix = "/usr/pgsql-12/bin"