Questions tagged [barman]

Barman is an open-source administration tool for disaster recovery of PostgreSQL servers written in Python.

43 questions
0
votes
1 answer

Why cron jobs didn't be set correctly by Ansible playbook?

I created this playbook to set crontab: - name: Set PATH to crontab cron: name: PATH env: yes user: barman job:…
rawmain
  • 309
  • 5
  • 15
0
votes
0 answers

barman configuration via command line

I'm using barman in a virtual environment and I wanted to make barman use a specific configuration file I created before, ending with .conf. The problem is, that the command barman -c CONFIG does not work and I don't know why. When I enter the…
Mr. Robot
  • 5
  • 6
0
votes
1 answer

Postgresql: How to take incremental backup with Barman

I am new to Postgresql, I've found a tool named Barman for taking incremental backup of database. But the few tutorials aren't helping that much as they're not for naive users. Can someone help explaining the steps simply how to backup data with…
Proteeti Prova
  • 1,079
  • 4
  • 25
  • 49
0
votes
3 answers

Configuration of barman, pg_receivexlog failed

Can I know when I configure Barman on the HA server, do I need to install a Postgres on barman server? When I do barman check, my output is like this: PostgreSQL: OK is_superuser: OK PostgreSQL streaming: OK wal_level: OK …
Eva Cheung
  • 119
  • 1
  • 4
  • 14
0
votes
0 answers

Dynamically change Barman Backup file. (Using date)

I need to make the backup file(/folder) name form barman more specific. Can I achieve that? Specifically.. When I run barman backup db I want the backup name is, either, db_fullbckp_date or when I run Incremental backup, db_incrbckp_date thanks…
0
votes
0 answers

pg_receivewal to cifs network share

I'm trying to setup a pgbarman server to backup a postgresql cluster. The streaming replication is not working when configured to store data on a directory located on a cifs network share. The root problem seem to be related with the pg_receivewal…
Francis
  • 163
  • 8
0
votes
1 answer

Use Barman within a Docker swarm

I'm almost new to the PostgreSQL technology but today, I have a Docker swarm with two nodes dedicated for the databases. Consider that the first node contains the "master" PostgreSQL (> 9.3) and the second one is just a replica of the master. This…
0
votes
0 answers

Using barman backup on Windows Scheduler

I am using barman to back up postgreSQL from a remote server using a local Windows machine through WSL. It is working nicely, but it has to be done manually on a daily basis. I am trying to automate it using Windows Scheduler, but has not been…
0
votes
1 answer

barman + mark the failed/started backup with red color

With the following barman command we can see the backup status, while STARTED/FAILED status indicated that backup inst created successfully barman list-backup main-db-server Output: main-db-server 20170913T115706 - STARTED main-db-server…
King David
  • 500
  • 1
  • 7
  • 20
0
votes
1 answer

Postgres 9.6 replication from production to custom slave

I have a problem. Currently I have a 1 TB Postgres 9.6 database which is backed up with Barman with streaming. What I need: A replication from the production/master to the slave server: On which I can write, I don’t care if the written data on the…
0
votes
1 answer

SSH public key authentication doesn't work only on special user

I'm having trouble setting up public key authentication for an SSH server on CentOS 6.8. What is strange is that when I login with a postgres user it goes well, but when I login with the 'barman' user which is created automatically by installing…
Veetase
  • 144
  • 1
  • 7
0
votes
0 answers

Barman server unable to connect to Primary

I have created and followed instructions from the barman documentation. I have a primary Postgres and backup barman servers. I am able to ssh to primary server from back server without password. But when running any of the barman commands like…
varun7447
  • 574
  • 1
  • 6
  • 27
0
votes
0 answers

rsync command not found (while backing up Postgresql using barman)

I am trying to use barman to schedule backups to be taken of my Postgresql database. The IPs of my DB server and backup server (both of which run Cent OS 7.2.1511) is 10.113.12.200 and 10.133.12.205 respectively. After studying Barman's…
verisimilitude
  • 5,077
  • 3
  • 30
  • 35
1 2
3