fly-apps / fly-apps/postgres-flex

The provided version of barman doesn't clean up its temporary files

Open
#306 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
171
Forks
76
Avg merge
1h 19m
Merged PRs (30d)
1

Description

Right now, the images contain the Ubuntu 24.04LTS version of barman - 3.10.

Ubuntu 24.04 also comes with python 3.12. As far as I understand, barman 3.10 comes with a bug when run under python 3.12 where it won't delete the local files until after the backup https://github.com/EnterpriseDB/barman/issues/1076 - that seems to make it essentially unusable with the 10GB root volume fly provides, as soon as the database is larger than 10 or so GB?

Barman's official distribution method is in the postgres repository - moving apt install barman to after adding the postgres repository gives barman 3.16 instead.

Therefore, the easiest fix seems to be to just add the postgres repository before installing barman. Would a patch to do that be accepted? I recognise that would essentially unpin the barman version.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.