Re: Proposal: pg_rewind to skip config files

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Chris Travers <chris(dot)travers(at)adjust(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal: pg_rewind to skip config files
Date: 2017-09-04 10:23:03
Message-ID: CAB7nPqRm938KoA6Q_yCymKXwqm2sMzgJpRBwSnnU_ua0p2tqQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 4, 2017 at 7:21 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> A simple idea would be to pass as a parameter a regex on which we
> check files to skip when scanning the directory of the target remotely
> or locally. This needs to be used with care though, it would be easy
> to corrupt an instance.

I actually shortcut that with a strategy similar to base backups: logs
are on another partition, log_directory uses an absolute path, and
PGDATA has no reference to the log path.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Travers 2017-09-04 10:28:26 Re: Proposal: pg_rewind to skip config files
Previous Message Michael Paquier 2017-09-04 10:21:34 Re: Proposal: pg_rewind to skip config files