incoorect restore_command

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: phil(at)philphonic(dot)de
Subject: incoorect restore_command
Date: 2021-02-22 07:36:28
Message-ID: 161397938841.15451.13129264141285167267@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2021-02-22 11:39:46 pgbench: supports PGDATABASE / warning about -d
Previous Message Euler Taveira 2021-02-22 00:21:41 Re: Inaccuracy in wal_receiver_status_interval parameter description