BARMAN-SYNC-INFO(1)

πŸ’– BARMAN-SYNC-INFO πŸ’–

okay bestie, gather round, because this is the barman-sync-info page from the Barman manual (section 1, the big leagues) and we are gonna make it make sense. πŸŽ€


✨ NAME ✨

barman-sync-info β€” it's one of the Barman Sub-Commands, and it's the one that goes and gossips about your server's whole situation so a sync can happen. πŸ’…


✨ SYNOPSIS ✨

   sync-info
       [ { -h | --help } ]
       [ --primary ]
       SERVER_NAME [ LAST_WAL [ LAST_POS ] ]

✨ DESCRIPTION ✨

So basically: this command gathers information about the current status of a Barman server, specifically for synchronization purposes. That's the whole job. It's a vibe check for your server, but make it machine-readable. 🌈

And it returns a JSON output for a server, which includes:

  • all successfully completed backups πŸ‘‘
  • all archived WAL files πŸ—‚οΈ
  • the configuration βš™οΈ
  • the last WAL file read from xlog.db πŸ“–
  • its position within the file πŸ“

no cap, that's the whole care package. 🫢


✨ PARAMETERS ✨

  • SERVER_NAME β€” the name of the server in barman node. like, which server are we talking about, bestie. 🌸
  • LAST_WAL β€” this one tells sync-info to skip any WAL files that precede the specified file. it's for incremental synchronization, iykyk. πŸ¦‹
  • LAST_POS β€” just a little hint for quickly positioning in the xlog.db file. also for incremental synchronization. it's giving "don't make me scan the whole thing". ✨
  • -h / --help β€” show a help message and exit. it tells you all about command usage. iconic behaviour honestly. πŸ’…
  • --primary β€” execute the sync-info on the primary node (if set). main character energy only. πŸ‘‘

✨ Author ✨

EnterpriseDB. πŸ’œ


Β© Copyright EnterpriseDB UK Limited 2011-2026


πŸ’€ quick reminder bestie: LAST_WAL and LAST_POS are both about incremental synchronization β€” don't skip that part, it's the whole point of those two arguments fr fr.

and that's the page!! 🌸 written for Barman version 3.20, dated Sep 29, 2026 β€” mwah, go sync something, you got this πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from