Open miguelconde91 opened 2 years ago
I suspect that your retention policy setting is creating a problem with the minimum redundancy requirements you have set.
This is my barman.conf
; Commented lines show the default values
[barman]
; archiver = off
backup_method = rsync
; backup_directory = %(barman_home)s/%(name)s
backup_options = concurrent_backup
; This must be set to the BARMAN_DATA_DIR environment variable
barman_home = /var/lib/barman
barman_user = barman
; barman_lock_directory = %(barman_home)s
compression = gzip
configuration_files_directory = /etc/barman/barman.d
last_backup_maximum_age = 1 week
minimum_redundancy = 1
;network_compression = true
retention_policy = RECOVERY WINDOW of 3 MONTHS
; retention_policy_mode = auto
;reuse_backup = link
streaming_archiver = on
; wal_retention_policy = main
; use empty log_file for stderr output
log_file = ""
log_level = INFO
I have to define minimum_redundancy = 0?
I have to define minimum_redundancy = 0? If that's what you want you can do that, but setting minimum_redundancy to something greater than 0 helps you if you accidently try to execute the
barman delete
command.
In my knowledge, your current config is not a problem by itself. Have you taken any backups yet? check your /var/lib/barman/YOUR-SERVER/base
I'm using 2.19 Barman by EnterpriseDB I executed
barman check pg-0
and return this log:Why I have this FAILED log?
I have created a previous manual backup.