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

# barman-check-backup(1)

Barman Sub-Commands

## NAME

barman-check-backup - Barman Sub-Commands

## SYNOPSIS

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

## DESCRIPTION

Check that all necessary WAL files for verifying the consistency of a physical backup are properly archived. This command is automatically executed by the cron job and at the end of each backup operation. You can use a shortcut instead of **BACKUP\_ID**.

## PARAMETERS

- **SERVER\_NAME**

  Name of the server in barman node.

- **BACKUP\_ID**

  Id of the backup in barman catalog.

- **-h / --help**

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

## SHORTCUTS

Use shortcuts instead of **BACKUP\_ID**.

| | |
| --- | --- |
| **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 taken with methods **rsync** or **postgres**. |
| **last-failed** | Most recent backup that failed, in chronological order. |

## AUTHOR

EnterpriseDB

## COPYRIGHT

© Copyright EnterpriseDB UK Limited 2011-2025
