Install barman by entering the following commands in the terminal:
sudo apt update sudo apt install barman
Backup and Recovery Manager for PostgreSQL
Barman (Backup and Recovery Manager) is an open-source administration tool for disaster recovery of PostgreSQL servers written in Python. . It allows your organisation to perform remote backups of multiple servers in business critical environments to reduce risk and help DBAs during the recovery phase. . Barman is distributed under GNU GPL 3 and maintained by 2ndQuadrant.