pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Silvio Fabi - NBS srl <s.fabi@nbsgroup.it>
To: pgsql-general@postgresql.org
Subject: postgres: archiver process failed on 000000010000020A00000073
Date: Wed, 1 Apr 2020 19:09:59 +0200
Message-ID: <8e9bfb6a-a8c6-0ff5-b1e2-346f3db260dd@nbsgroup.it> (raw)

Hi,

WAL Archive process on my DB Postgresql 10 is not working.
the WAL Archive file 000000010000020A00000073 was accidentally deleted
and there is no backup.
Postgresql tries to run the following command:
rsync -a pg_wal/000000010000020A00000073
barman@database:/var/lib/barman/database/incoming/000000010000020A00000073

but of course it fails

below the message in the postgres log file:
2020-04-01 18:48:19 CEST [18265]: [101016-1] DETAIL:  The failed archive
command was: rsync -a pg_wal/000000010000020A00000073
barman@database:/var/lib/barman/database/incoming/000000010000020A00000073
2020-04-01 18:48:19 CEST [18265]: [101017-1] WARNING:  archiving
write-ahead log file "000000010000020A00000073" failed too many times,
will try again later


Postgresql continues to generate WALs Archive file in local directory
"log" and I have no application problems, but continuous archiving on
the barman repository does not work.

How can I fix this problem?


-- 
Silvio Fabi
NBS srl
Via Val Tiberina 23/A
San Benedetto del Tronto (AP)
Telefono: 0735/7626242
Cellulare: 345/0142435







view thread (6+ messages)  latest in thread

Message-ID: <8e9bfb6a-a8c6-0ff5-b1e2-346f3db260dd@nbsgroup.it>
Permalink:  ../8e9bfb6a-a8c6-0ff5-b1e2-346f3db260dd@nbsgroup.it/
Also on:    postgresql.org/message-id/8e9bfb6a-a8c6-0ff5-b1e2-346f3db260dd@nbsgroup.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: s.fabi@nbsgroup.it
  Subject: Re: postgres: archiver process failed on 000000010000020A00000073
  In-Reply-To: <8e9bfb6a-a8c6-0ff5-b1e2-346f3db260dd@nbsgroup.it>
  References: <8e9bfb6a-a8c6-0ff5-b1e2-346f3db260dd@nbsgroup.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox