---
name: "barman-sync-info"
section: "1"
platform: "linux"
package: "barman-cli"
version: "3.13.3-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/barman-sync-info"
---

# barman-sync-info(1)

Barman Sub-Commands

## NAME

barman-sync-info - Barman Sub-Commands

## SYNOPSIS

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

## DESCRIPTION

Gather information about the current status of a Barman server for synchronization purposes.

This command returns a JSON output for a server that includes: all successfully completed backups, all archived WAL files, the configuration, the last WAL file read from **xlog.db**, and its position within the file.

## PARAMETERS

- **SERVER\_NAME**

  Name of the server in barman node

- **LAST\_WAL**

  Instructs sync-info to skip any WAL files that precede the specified file (for incremental synchronization).

- **LAST\_POS**

  Hint for quickly positioning in the **xlog.db** file (for incremental synchronization).

- **-h / --help**

  Show a help message and exit. Provides information about command usage.

- **--primary**

  Execute the sync-info on the primary node (if set).

## AUTHOR

EnterpriseDB

## COPYRIGHT

© Copyright EnterpriseDB UK Limited 2011-2025
