BARMAN-CHECK-BACKUP(1)

πŸ’… BARMAN-CHECK-BACKUP β€” the manual page, but make it make sense

okay bestie, so this is barman-check-backup, part of the Barman Sub-Commands family. It's the little sanity-checker that goes through your backup's WAL files and makes sure they're all actually archived, so you can trust that your physical backup is consistent. Sit down, grab a boba, we're doing this. πŸ§‹βœ¨


✨ SYNOPSIS ✨

check-backup
    [ { -h | --help } ]
    SERVER_NAME BACKUP_ID

🌸 DESCRIPTION 🌸

This command checks that all the necessary WAL files needed to verify the consistency of a physical backup are properly archived. That's it, that's the whole vibe check. πŸ’–

Two things you should know, fr fr:

  • This command is automatically executed by the cron job β€” you don't have to run it yourself, it just shows up and does its thing.
  • It's also run at the end of each backup operation, so every backup gets its little consistency check before anyone calls it done.

Also? You can use a shortcut instead of BACKUP_ID. Yes, really. Details below. πŸ‘‘


πŸŽ€ PARAMETERS πŸŽ€

  • SERVER_NAME β€” the name of the server in the barman node. Like, which server are we checking, bestie?
  • BACKUP_ID β€” the id of the backup in the barman catalog. (Or a shortcut! See the next section, iykyk.)
  • -h / --help β€” shows a help message and exits. Gives you the info about how to use the command, then dips. πŸ™ˆ

πŸ¦‹ SHORTCUTS πŸ¦‹

Instead of typing out a whole BACKUP_ID, you can use one of these little shortcuts. Iconic behaviour, honestly:

  • first / oldest β€” the oldest available backup for the server, in chronological order.
  • last / latest β€” the most recent available backup for the server, in chronological order.
  • last-full / latest-full β€” the most recent full backup taken with methods rsync or postgres.
  • last-failed β€” the most recent backup that failed, in chronological order.
No cap: those slash-pairs are two spellings of the same shortcut, so pick whichever one your fingers like. πŸ’…

🌈 Author

EnterpriseDB


Β© Copyright EnterpriseDB UK Limited 2011-2026


and that's the whole page, bestie!! 🫢 this is from Barman 3.20, dated Sep 29, 2026 β€” go check those WALs, you absolute main character. πŸŒŸπŸ’–

πŸ“¦ where this page comes from