problema con barman y rsync

From: "Guillermo E(dot) Villanueva" <guillermovil(at)gmail(dot)com>
To: pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: problema con barman y rsync
Date: 2020-08-21 16:15:54
Message-ID: CANm+PCAzzbQt1TKiHEGzsbwSET2MJ4axd7kFtSzUHyLPgz9a9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Buen día, por favor si me pueden dar una mano para detectar el problema,
tengo un barman haciendo backup de varios servidores postgres.
Funciona bien con 3 servidores, hay un 4to server postgres que no estoy
pudiendo hacer el base backup (barman backup nombre_server) ya que rsync
está reportando un error.
El tema es que si puede copiar archivos pero no todos. Y la transferencia
de los WAL se hace sin problemas.
*A continuación les mando parte del log de barman:*

*2020-08-21 11:51:10,233 [56775] barman.copy_controller WARNING: Failure
executing rsync on remote PGDATA directory: /home/postgres/data/ (attempt
0)2020-08-21 11:51:10,234 [56775] barman.copy_controller WARNING: Retrying
in 30 seconds2020-08-21 11:59:54,925 [56775] barman.copy_controller
WARNING: Failure executing rsync on remote PGDATA directory:
/home/postgres/data/ (attempt 1)2020-08-21 11:59:54,926 [56775]
barman.copy_controller WARNING: Retrying in 30 seconds2020-08-21
12:08:26,507 [56775] barman.copy_controller WARNING: Failure executing
rsync on remote PGDATA directory: /home/postgres/data/ (attempt
2)2020-08-21 12:08:26,508 [56775] barman.copy_controller WARNING: Retrying
in 30 seconds2020-08-21 12:18:13,291 [56755] barman.backup_executor ERROR:
The backup has failed copying files2020-08-21 12:18:14,309 [56755]
barman.backup ERROR: Backup failed copying files.DETAILS: data transfer
failurersync error:.f PG_VERSION.f backup_label.f
pg_hba.conf.f pg_ident.conf.f postgresql.conf.f
postgresql_conlogs.conf.f postgresql_sinlogs.conf.f
recovery.done.f serverlog*
*....*
*....*
*....*

*>f+++++++++ base/145250215/145250989.19>f+++++++++
base/145250215/145250989.2>f+++++++++
base/145250215/145250989.20>f+++++++++
base/145250215/145250989.21>f+++++++++
base/145250215/145250989.22client_loop: send disconnect: Broken pipersync:
connection unexpectedly closed (68618524218 bytes received so far)
[receiver]rsync error: error in rsync protocol data stream (code 12) at
io.c(226) [receiver=3.1.3]rsync: connection unexpectedly closed (69526
bytes received so far) [generator]rsync error: unexplained error (code 255)
at io.c(226) [generator=3.1.3]*

*archivos de configuración:*

*[barman]barman_user = barmanconfiguration_files_directory =
/etc/barman.dbackup_method = rsyncbackup_options =
exclusive_backupreuse_backup = linkbarman_home = /var/lib/barmanlog_file =
/var/log/barman/barman.loglog_level = WARNINGcompression =
gzipimmediate_checkpoint = truebasebackup_retry_times =
3basebackup_retry_sleep = 30last_backup_maximum_age = 7
DAYSretention_policy = RECOVERY WINDOW OF 3 WEEKS;retention_policy =
RECOVERY WINDOW OF 1 DAYS*

*[iol_dc]description = "IOL DC (via SSH)"backup_directory =
/home/barman/iol_dcssh_command = ssh postgres(at)10(dot)19(dot)240(dot)240
<postgres(at)10(dot)19(dot)240(dot)240>conninfo = host=10.19.240.240 user=barman
password=lapassword dbname=postgresbackup_method = rsyncstreaming_archiver
= offarchiver = on*

Cabe aclarar que ambos servidores están en el mismo hardware en dos
maquinas virtuales diferentes, con una red que "vuela" en velocidad.
Postgres 9.2 - Barman 2.10

Desde ya muchas gracias por la ayuda que me puedan brindar.

Saludos

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Hellmuth Vargas 2020-08-21 20:48:13 Re: problema para sustituir una master con una replica
Previous Message Juan José Santamaría Flecha 2020-08-21 11:56:31 Re: problema para sustituir una master con una replica