barman-sync-backup - Barman Sub-Commands
Contents
Copyright
© Copyright EnterpriseDB UK Limited 2011-2024
3.12 Dec 09, 2024 BARMAN-SYNC-BACKUP(1)
Description
This command synchronizes a passive node with its primary by copying all files from a backup present on
the server node. It is available only for passive nodes and uses the primary_ssh_command option to
establish a secure connection with the primary node. You can use a shortcut instead of BACKUP_ID.
Name
barman-sync-backup - Barman Sub-Commands
Parameters
SERVER_NAME
Name of the server in barman node
BACKUP_ID
Id of the backup in barman catalog.
Shortcuts
For some commands, instead of using the timestamp backup ID, you can use the following shortcuts or
aliases to identify a backup for a given server:
┌───────────────────────┬───────────────────────────────────────┐
│ Shortcut │ Description │
├───────────────────────┼───────────────────────────────────────┤
│ 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 eligible for │
│ │ a block-level incremental backup │
│ │ using the --incremental option. │
├───────────────────────┼───────────────────────────────────────┤
│ last-failed │ Most recent backup that failed, in │
│ │ chronological order. │
└───────────────────────┴───────────────────────────────────────┘
Synopsis
sync-backup SERVER_NAME BACKUP_ID
