pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: phil@philphonic.de
Subject: incoorect restore_command
Date: Mon, 22 Feb 2021 07:36:28 +0000
Message-ID: <161397938841.15451.13129264141285167267@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/continuous-archiving.html
Description:

Hi everyone,

I've been trying out saving and restoring compressed archive logs. The
restore_command stated in the docs at "25.3.6.2. Compressed Archive Logs"
('gunzip < /mnt/server/archivedir/%f > %p') did not work for me, because the
archive_command ('gzip < %p > /var/lib/pgsql/archive/%f') alters the
filename to %f.gz
I had to change the restore_command to 'gunzip <
/mnt/server/archivedir/%f.gz > %p'.

Phil


view thread (9+ messages)  latest in thread

Message-ID: <161397938841.15451.13129264141285167267@wrigleys.postgresql.org>
Permalink:  ../161397938841.15451.13129264141285167267@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/161397938841.15451.13129264141285167267@wrigleys.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, phil@philphonic.de
  Subject: Re: incoorect restore_command
  In-Reply-To: <161397938841.15451.13129264141285167267@wrigleys.postgresql.org>

* 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