check-barman icon indicating copy to clipboard operation
check-barman copied to clipboard

bad return if you have backup started

Open demethan971 opened this issue 5 years ago • 0 comments

I dont know why i have this return.. Effectivly i have a oldest failed backup but I think this a bug to parse returns ?

/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/backup.rb:136:in status=': only :empty, :started, :done or :failed allowed! (ArgumentError) from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:239:in block in parse_backup_info_file' from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:235:in each' from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:235:in parse_backup_info_file' from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:69:in block in backups' from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:68:in each' from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:68:in backups' from /opt/sensu/embedded/lib/rutby/gems/2.4.0/gems/rbarman-0.0.16/lib/rbarman/backups.rb:20:in all' from ./check-barman.rb:102:in `check_failed_backups'

demethan971 avatar Mar 15 '19 12:03 demethan971