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

# barman-rebuild-xlogdb(1)

Barman Sub-Commands

## NAME

barman-rebuild-xlogdb - Barman Sub-Commands

## SYNOPSIS

```
rebuild-xlogdb
    [ { -h | --help } ]
    SERVER_NAME [ SERVER_NAME ... ]
```

## DESCRIPTION

Rebuild the WAL file metadata for a server (or for all servers using the **all** shortcut) based on the disk content. The WAL archive metadata is stored in the **xlog.db** file, with each Barman server maintaining its own copy.

## PARAMETERS

- **SERVER\_NAME**

  Name of the server in barman node.

- **-h / --help**

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

## SHORTCUTS

Use shortcuts instead of **SERVER\_NAME**.

| | |
| --- | --- |
| **Shortcut** | **Description** |
| **all** | All available servers |

## AUTHOR

EnterpriseDB

## COPYRIGHT

© Copyright EnterpriseDB UK Limited 2011-2025
