Re: pgBackRest backup from standby - Mailing list pgsql-general

From Martin Marques
Subject Re: pgBackRest backup from standby
Date
Msg-id 371d175d-8fa9-580b-1b84-e7807aac69dc@2ndquadrant.com
Whole thread Raw
In response to Re: pgBackRest backup from standby  (David Steele <david@pgmasters.net>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Don Seiler
Date:
Subject: Re: pgBackRest backup from standby
Next
From: Aditya Nugraha
Date:
Subject: Re: Error when compiling postgresql 9.6.7 with Visual Studio 15.5.6