Postgresql Wal archive and Barman setup

Поиск
Список
Период
Сортировка
Искать

Postgresql Wal archive and Barman setup

От:
sa sa <ssmaugust@gmail.com>
Дата:
Hello All,

 I have a scenario, where I need some suggestions and improvements if applicable.

Our setup in brief
1) Primary --> standby
    using archive_command = rsync to primary local location and standby local location
2) Primary --> Barman
    Using streaming. Barman backup location is /nfs/DD9
3) Archive cleanup on primary is setup via crontab to every 14 days.

Here is my scenario, If my barman nfs is down for 5 days and my local archive location is filled up during this time. what will happen.

if my /srv/archive (location archive wal location) on primary and standby is 100% full during this time. 
my /srv/data is going to be 100% full , causing my cluster to go down.

So what are the suggestions to avoid this situation.

Thanks,
Sa

Re: Postgresql Wal archive and Barman setup

От:
masheed ullah <masheedullah@gmail.com>
Дата:
You need to actively monitor archive location to avoid space issue.

Schedule a job to send alert email when archive location full to 80% or 90%

Best Regards,
Masheed Ullah



On Tue, Jun 30, 2026, 11:36 PM sa sa <ssmaugust@gmail.com> wrote:
Hello All,

 I have a scenario, where I need some suggestions and improvements if applicable.

Our setup in brief
1) Primary --> standby
    using archive_command = rsync to primary local location and standby local location
2) Primary --> Barman
    Using streaming. Barman backup location is /nfs/DD9
3) Archive cleanup on primary is setup via crontab to every 14 days.

Here is my scenario, If my barman nfs is down for 5 days and my local archive location is filled up during this time. what will happen.

if my /srv/archive (location archive wal location) on primary and standby is 100% full during this time. 
my /srv/data is going to be 100% full , causing my cluster to go down.

So what are the suggestions to avoid this situation.

Thanks,
Sa


FAQ