backup and restoration manager for PostgreSQL
Project homepage: https://www.pgbarman.org/
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.
Package information
- Ports path
- databases/barman
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- databases, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
- archivers/py-zstandard
- databases/py-psycopg2
- databases/postgresql
- net/rsync
- devel/py-dateutil
- devel/py-argcomplete
- lang/python/3
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
- archivers/py-lz4
- devel/py-test-timeout
- devel/py-mock
- archivers/py-zstandard
- databases/py-psycopg2
- databases/postgresql
- net/rsync
- devel/py-dateutil
- devel/py-argcomplete
- lang/python/3
- devel/py-test
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running barman 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.