pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marques <martin.marques@2ndquadrant.com>
To: Edson Carlos Ericksson Richter <richter@simkorp.com.br>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Stand by server (9.6.6) with corrupt file
Date: Sat, 23 Dec 2017 08:58:42 -0300
Message-ID: <b808b563-277e-c4d1-74f4-29399ba8c822@2ndquadrant.com> (raw)
In-Reply-To: <c4a7beb1-af57-a8b7-3776-2ea876bff223@simkorp.com.br>
References: <c4a7beb1-af57-a8b7-3776-2ea876bff223@simkorp.com.br>

El 22/12/17 a las 10:29, Edson Carlos Ericksson Richter escribió:
> Environment: PostgreSQL 9.6.6 installed from yum repository. Oracle
> Linux 7 EL x64. Dell servers with Raid 5 (hw).
> 
> 
> I was testing our database backup system (based on pgBarman), and
> discovered that one base file is corrupt in our standby database server.
> The file is OK in master server, but has 0 bytes in size in standby server.

How was the standby built? Did you use a recovered backup from barman or
did you clone from the master with some tool. An if it's the former,
which exact process did you use? (Using pg_basebackup would be the
safest way of cloning)

Regards,

-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services




view thread (5+ messages)  latest in thread

Message-ID: <b808b563-277e-c4d1-74f4-29399ba8c822@2ndquadrant.com>
Permalink:  ../b808b563-277e-c4d1-74f4-29399ba8c822@2ndquadrant.com/
Also on:    postgresql.org/message-id/b808b563-277e-c4d1-74f4-29399ba8c822@2ndquadrant.com

 · 

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: martin.marques@2ndquadrant.com, richter@simkorp.com.br
  Subject: Re: Stand by server (9.6.6) with corrupt file
  In-Reply-To: <b808b563-277e-c4d1-74f4-29399ba8c822@2ndquadrant.com>
  References: <c4a7beb1-af57-a8b7-3776-2ea876bff223@simkorp.com.br> <b808b563-277e-c4d1-74f4-29399ba8c822@2ndquadrant.com>

* 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