Re: Sample archive_command is still problematic - Mailing list pgsql-docs

From Josh Berkus
Subject Re: Sample archive_command is still problematic
Date
Msg-id 53F39723.9070503@agliodbs.com
Whole thread Raw
In response to Sample archive_command is still problematic  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Sample archive_command is still problematic
List pgsql-docs
On 08/19/2014 10:39 AM, Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
>> Well, if we want a sample command in the docs, then we should actually
>> give a few different sample commands and even a sample shell script.  If
>> we give the users several alternatives, maybe they'll actually think
>> about it instead of just C&P.
>
> Sure, if we can think of some plausibly different samples.

I was thinking:

1. noclobber copy to a local/mounted dir (the current example)

2. rsync to a remote dir  with overwrite

3. windows command example (hopefully using rsync ... can anyone help
with this?)

4. Simple bash script example using rsync to a target server, with
noarchiving touch file etc.

I'd also like to mention pg_receivexlog, Barman, WAL-E, and RepMgr as
external utilites and alternatives.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sample archive_command is still problematic
Next
From: Craig Ringer
Date:
Subject: Re: [JDBC] JDBC documentation - issue report