barman
backup and restoration manager for PostgreSQL
WWW CVSWeb GITHub-
Package versionbarman-3.9.0
-
MaintainerThe OpenBSD ports mailing-list
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.
+-----------------------------------------------------------------------
| 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.
- lang/python/3.10
- devel/py-build,python3
- devel/py-installer,python3
- devel/py-setuptools,python3
- devel/py-wheel,python3
- databases/py-psycopg2,python3
- databases/postgresql
- net/rsync
- devel/py-dateutil,python3
- devel/py-argcomplete,python3
- lang/python/3.10