The databases/barman port
barman-3.13.2p0 – backup and restoration manager for PostgreSQL (cvsweb github mirror)
Description
Barman (backup and recovery manager) is an administration tool for disaster recovery of PostgreSQL servers written in Python. Barman can perform remote backups of multiple servers in business critical environments, and helps DBAs during the recovery phase. Barman's most wanted features include: backup catalogues, retention policies, remote recovery, archiving and compression of WAL files and of backups.WWW: https://www.pgbarman.org/
Readme
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
Config
======
Configure the main section in ${SYSCONFDIR}/barman.conf for the
database(s) you want barman to backup.
Cron Job
========
Put the following in _barman's crontab
# crontab -u _barman -l
0 * * * * ${TRUEPREFIX}/bin/barman cron
54 0 * * * ${TRUEPREFIX}/bin/barman backup all
The first job performs maintenance tasks, such as moving incoming WAL
files to the appropriate directory.
The second job performs the actual backup.
Maintainer
The OpenBSD ports mailing-list