pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Rhhh Lin <ruanlinehan@hotmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Backup strategy using 'wal_keep_segments'
Date: Mon, 30 Oct 2017 12:41:11 -0400
Message-ID: <20171030164111.GF4628@tamriel.snowman.net> (raw)
In-Reply-To: <DB6PR1001MB1141ACC9D4BA85F44399E933AE410@DB6PR1001MB1141.EURPRD10.PROD.OUTLOOK.COM>
References: <DB6PR1001MB1141ACC9D4BA85F44399E933AE410@DB6PR1001MB1141.EURPRD10.PROD.OUTLOOK.COM>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Greetings,

* Rhhh Lin (ruanlinehan@hotmail.com) wrote:
> A colleague recently suggested that instead of implementing an 'archive_command' to push archivable WALs to a secondary location (for further backup to tape for example), we could instead persist the WAL files in their current location by setting the "wal_keep_segments" parameter to an extreme value e.g. 1000 and have the 'archive_command' do nothing.

Michael's points are good and I wouldn't recommend using this archive
command either, but what isn't clear to me is what you're actaully
trying to solve by using such a method..?  You haven't said anywhere
what's wrong with archive_command (I know that there certainly are some
things wrong with it, of course, but there are solutions to a number of
those issues that isn't a hack like this ...).

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (7+ messages)  latest in thread

Message-ID: <20171030164111.GF4628@tamriel.snowman.net>
Permalink:  ../20171030164111.GF4628@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20171030164111.GF4628@tamriel.snowman.net

 · 

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: sfrost@snowman.net, ruanlinehan@hotmail.com
  Subject: Re: Backup strategy using 'wal_keep_segments'
  In-Reply-To: <20171030164111.GF4628@tamriel.snowman.net>
  References: <DB6PR1001MB1141ACC9D4BA85F44399E933AE410@DB6PR1001MB1141.EURPRD10.PROD.OUTLOOK.COM> <20171030164111.GF4628@tamriel.snowman.net>

* 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