pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marques <martin.marques@2ndquadrant.com>
To: David Steele <david@pgmasters.net>
To: Don Seiler <don@seiler.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pgBackRest backup from standby
Date: Mon, 19 Feb 2018 17:59:24 -0300
Message-ID: <371d175d-8fa9-580b-1b84-e7807aac69dc@2ndquadrant.com> (raw)
In-Reply-To: <7f539f04-579c-1118-e5f1-85049869987c@pgmasters.net>
References: <CAHJZqBAwmA4g84LV0Kiq58kFCpu835cPraah5i+uTP+4B3H8RQ@mail.gmail.com>
	<e0746162-fa29-19af-c735-1ac23007f87b@pgmasters.net>
	<CAHJZqBA+yuW3eXqn9OR5brNf1EE8NRbsrYJJpnejEe-BhXrbHg@mail.gmail.com>
	<3f5aa386-32df-4ea9-51a6-ae0c918fd04f@pgmasters.net>
	<CAHJZqBDp8Yt4atTvyNzV_1_R=9RB8U+2i8jq_X=c9+X=0KDR4A@mail.gmail.com>
	<4ae14a90-1f2d-09f6-5e56-1609acad51b0@pgmasters.net>
	<CAHJZqBB+pKxVYm_Np9HF5Ga+aDFK9M2+u9BPOj86ibP3d7nPdA@mail.gmail.com>
	<09b97a16-d7c4-e014-4e69-aa8b890cb6cc@pgmasters.net>
	<CAHJZqBDi5wr+n8mDjtjZBAS9RgM6PQ6v9-2DkvtrCWx4RWYuTA@mail.gmail.com>
	<7f539f04-579c-1118-e5f1-85049869987c@pgmasters.net>

El 19/02/18 a las 17:53, David Steele escribió:
> On 2/19/18 3:41 PM, Don Seiler wrote:
> 
>> I'm curious, why even copy the pg_log logs? They aren't needed for
>> database restore or recovery.
> 
> Also, relocating the log directory is easy using the log_directory
> setting, so that's what I recommend if it's an issue.  Some users do
> want to backup their logs.

I was about to reply to Don about this, but David's reply was very clear.

If you don't want the logs inside pgdata (a very wise idea, specially if
you place them on a different partition), just change the configuration GUC.

Regards,

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




view thread (21+ messages)

Message-ID: <371d175d-8fa9-580b-1b84-e7807aac69dc@2ndquadrant.com>
Permalink:  ../371d175d-8fa9-580b-1b84-e7807aac69dc@2ndquadrant.com/
Also on:    postgresql.org/message-id/371d175d-8fa9-580b-1b84-e7807aac69dc@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, david@pgmasters.net, don@seiler.us
  Subject: Re: pgBackRest backup from standby
  In-Reply-To: <371d175d-8fa9-580b-1b84-e7807aac69dc@2ndquadrant.com>
  References: <CAHJZqBAwmA4g84LV0Kiq58kFCpu835cPraah5i+uTP+4B3H8RQ@mail.gmail.com> <e0746162-fa29-19af-c735-1ac23007f87b@pgmasters.net> <CAHJZqBA+yuW3eXqn9OR5brNf1EE8NRbsrYJJpnejEe-BhXrbHg@mail.gmail.com> <3f5aa386-32df-4ea9-51a6-ae0c918fd04f@pgmasters.net> <CAHJZqBDp8Yt4atTvyNzV_1_R=9RB8U+2i8jq_X=c9+X=0KDR4A@mail.gmail.com> <4ae14a90-1f2d-09f6-5e56-1609acad51b0@pgmasters.net> <CAHJZqBB+pKxVYm_Np9HF5Ga+aDFK9M2+u9BPOj86ibP3d7nPdA@mail.gmail.com> <09b97a16-d7c4-e014-4e69-aa8b890cb6cc@pgmasters.net> <CAHJZqBDi5wr+n8mDjtjZBAS9RgM6PQ6v9-2DkvtrCWx4RWYuTA@mail.gmail.com> <7f539f04-579c-1118-e5f1-85049869987c@pgmasters.net> <371d175d-8fa9-580b-1b84-e7807aac69dc@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