Delta restore doesnt work

15 views
Skip to first unread message

Fernando Rola Ferreira Filho

unread,
Nov 27, 2025, 12:47:10 PMNov 27
to pgba...@googlegroups.com
In barman 3.14.x, when I ran a `barman restore` on a non-empty `pgdata` , the restore performed an incremental restore. In barman 3.16.x, it says the `pgdata` is not empty, which is fine. But when I use the `--delta-restore` flag, it doesn't say the `pgdata` is not empty, but it doesn't perform an incremental restore. It deletes the `pgdata` file, creates it again, and does a full restore. Has anyone else experienced this?

Commands:

`barman -d restore --get-wal --remote-ssh-command 'ssh post...@x.y.w.z' main latest`

`barman -d restore --delta-restore --get-wal --remote-ssh-command 'ssh post...@x.y.w.z' main latest`

--
Fernando Rôla
Setor de Infraestrutura Computacional (SIC/CTIC) - (98) 2109-9535
Coordenadoria de Tecnologia da Informação e Comunicações - CTIC
Tribunal Regional do Trabalho da 16ª Região
Central de Atendimento: (98) 2109-9500

Fernando Rola Ferreira Filho

unread,
Nov 27, 2025, 12:53:52 PMNov 27
to pgba...@googlegroups.com
In barman 3.14.x, when I ran a `barman restore` on a non-empty `pgdata` , the restore performed an incremental restore. In barman 3.16.x, it says the `pgdata` is not empty, which is fine. But when I use the `--delta-restore` flag, it doesn't say the `pgdata` is not empty, but it doesn't perform an incremental restore. It deletes the `pgdata` file, creates it again, and does a full restore. Has anyone else experienced this?

Commands:

`barman -d restore --get-wal --remote-ssh-command 'ssh post...@x.y.w.z' main latest`

`barman -d restore --delta-restore --get-wal --remote-ssh-command 'ssh post...@x.y.w.z' main latest`

Sincerely,

Gustavo Oliveira

unread,
Nov 28, 2025, 9:44:55 AMNov 28
to Barman, Backup and Recovery Manager for PostgreSQL
Hey Fernando,

Can you open a Github issue in the Barman repo with these details? I think this is a bug and other people might eventually face this.


Thanks,
Gustavo Oliveira

Reply all
Reply to author
Forward
0 new messages