FreeBSD Port: pgbarman-2.11

Matthew Seaman matthew at FreeBSD.org
Sat Nov 7 00:25:42 UTC 2020


On 06/11/2020 20:17, Ryan Quinn wrote:
> Hi Matthew!
> 
> Would it be possible to get barman to support multiple versions of postgres?
> 
> Here’s the background.
> 
> I’m testing barman as a backup solution, and I upgraded barman to version 2.11 on my test system. I wasn’t paying attention, so this is totally my fault. Anyway, the barman 2.11 dependency on postgresql12-client caused postgres 11 to be removed.
> 
> Ryan
> 

In theory, yes.  That's a job for flavours.

Unfortunately, for reasons that I cannot recall clearly just now, we
don't have any postgresql flavour support in ports.  As far as I recall,
it might have been concern about the number of ports increasing beyond
what the builders could handle in a reasonable time.

If you build your own packages, then it's easy enough to add 'pgsql=11'
to your DEFAULT_VERSIONS setting.  Or, if adverse to compiling stuff,
you could run the default barman package in a jail to do a "remote"
backup of your main postgresql installation.  barman when linked against
the most recent version of libpq can work with any of the older versions
of postgresql in the ports.

	Cheers,

	Matthew






More information about the freebsd-ports mailing list