Barman Server - Not Avaiable

10 views
Skip to first unread message

Umashankar Balasubramaniam

unread,
Apr 29, 2025, 12:37:11 AMApr 29
to Barman, Backup and Recovery Manager for PostgreSQL
Hi Team 

We have taken the backup using Barman commands, and now we lost Barman server ( Got crashed), can we still recover the database without using Barman,  if the backup sets are available in storage?  

Thanks & Regards
Uma

Luca Ferrari

unread,
Apr 29, 2025, 4:17:43 AMApr 29
to pgba...@googlegroups.com
On Tue, Apr 29, 2025 at 6:37 AM Umashankar Balasubramaniam
<umasha...@gmail.com> wrote:
>
> We have taken the backup using Barman commands, and now we lost Barman server ( Got crashed), can we still recover the database without using Barman, if the backup sets are available in storage?

Never happened to me, but essentially barman clones the PGDATA
directory and streams the WALs, so the short answer is "Yes, if you
know what you are doing".
I would rather install another machine with barman and "mount" the
backup sets into such machine (at least in readonly for a try).

Luca

Martin Marques

unread,
Apr 29, 2025, 4:43:50 AMApr 29
to pgba...@googlegroups.com
I would add to Luca's message that it clones the PGDATA, but the clone
will have different formats depending on the configuration of Barman.

In any case, if you understand what Barman does at a high level, you
should be able to recover. I surely would be able if I have all
backups and WALs. It's just a matter of mimicking what `barman
restore` does.

Kind regards, Martín

Umashankar Balasubramaniam

unread,
May 1, 2025, 2:56:30 AMMay 1
to Barman, Backup and Recovery Manager for PostgreSQL
Thanks to all for your guidance.
Reply all
Reply to author
Forward
0 new messages