BARMAN-SYNC-BACKUP(1)
β¨ barman-sync-backup π (a page from the Barman manual, section 1, bestie)
okay so hi!! π«Ά this is the manual page for barman-sync-backup, and yes it lives in the Barman docs, and yes we're gonna get through it together. grab a snack. π
πΈ NAME πΈ
barman-sync-backup β Barman Sub-Commands β¨
π SYNOPSIS π
sync-backup
[ { -h | --help } ]
SERVER_NAME BACKUP_ID
like. that's the whole shape of it. SERVER_NAME then BACKUP_ID, and optionally a little -h or --help if you're feeling curious. π
π¦ DESCRIPTION π¦
okay so what does this actually do? This command synchronizes a passive node with its primary by copying all files from a backup that's present on the server node. π«Ά that's the whole vibe β primary has the backup, passive wants it, this command makes it happen.
lowkey important: it's available only for passive nodes. so if you're not on a passive node, this is not your moment bestie. π
it uses the primary_ssh_command option to establish a secure connection with the primary node. π no cap, that's the mechanism.
and the cute part β you can use a shortcut instead of BACKUP_ID. so you don't have to type out a whole timestamp if you don't want to. (scroll down, I got you. β¬οΈ)
π PARAMETERS π
SERVER_NAMEβ Name of the server in barman node.BACKUP_IDβ Id of the backup in barman catalog. it's giving "your backup's official government name" fr fr.-h/--helpβ Show a help message and exit. Provides information about command usage. it's literally just there to help you, that's it, that's the whole job. π
π SHORTCUTS π
so for some commands, instead of using the timestamp backup ID, you can use the following shortcuts (aka aliases) to identify a backup for a given server. this is the part where you go "oh wait that's so much easier" β¨
first/oldestβ Oldest available backup for the server, in chronological order. β³last/latestβ Most recent available backup for the server, in chronological order. πlast-full/latest-fullβ Most recent full backup taken with methodsrsyncorpostgres. π₯last-failedβ Most recent backup that failed, in chronological order. π (we don't talk about this one but it exists and it's useful, periodt.)
π Author π
EnterpriseDB
π§ Copyright π§
Β© Copyright EnterpriseDB UK Limited 2011-2026
okay that's the whole page!! π this was version 3.20, dated Sep 29, 2026, and it's the BARMAN-SYNC-BACKUP(1) page from the Barman manual. go sync something, bestie β you got this. πβ¨π¦
π¦ where this page comes from
- epel 10: barman 3.20.1-1.el10_3 Β· GPL-3.0-only
- fedora 43: barman 3.20.1-1.fc43 Β· GPL-3.0-only
- fedora 43: barman 3.20.1-3.fc43 Β· GPL-3.0-only
- fedora 44: barman 3.20.1-1.fc44 Β· GPL-3.0-only
- fedora 44: barman 3.20.1-3.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms