You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo -u barman /usr/bin/ruby /var/lib/barman/prog/check_barman/check-barman.rb -a last_wal_received -s db -w 1 -c 2
raises this following error:
/var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/wal_file.rb:109:in `parse': name '00000002.history' has to be exactly 24 chars (RBarman::InvalidWalFileNameError)
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:195:in `block in parse_wal_files_list'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:194:in `each'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:194:in `parse_wal_files_list'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:119:in `wal_files'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:71:in `block in backups'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:68:in `each'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:68:in `backups'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/cli_command.rb:54:in `backup'
from /var/lib/gems/2.1.0/gems/rbarman-0.0.16/lib/rbarman/backup.rb:298:in `by_id'
from /var/lib/barman/prog/check_barman/check-barman.rb:84:in `check_last_wal_received'
from /var/lib/barman/prog/check_barman/check-barman.rb:243:in `<main>'
This is following a PITR recovery of the DB, I suspect this 00000002.history is perfectly valid
barman@barman2:~$ barman -v
2.3
Barman by 2ndQuadrant (www.2ndQuadrant.com)
barman@barman2:~$ barman list-files --target wal db 20230319T042101 | head
/var/lib/barman/db/wals/00000002.history
/var/lib/barman/db/wals/0000000200002E80/0000000200002E8000000075
/var/lib/barman/db/wals/0000000200002E80/0000000200002E8000000076
/var/lib/barman/db/wals/0000000200002E80/0000000200002E8000000077
/var/lib/barman/db/wals/0000000200002E80/0000000200002E8000000078
/var/lib/barman/db/wals/0000000200002E80/0000000200002E8000000079
I'm not sure on what to do to fix this...
The text was updated successfully, but these errors were encountered:
Hi,
The following command:
raises this following error:
This is following a PITR recovery of the DB, I suspect this
00000002.history
is perfectly validI'm not sure on what to do to fix this...
The text was updated successfully, but these errors were encountered: