From: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: How to recover from compressed wal archieve in windows
Date: Wed, 20 May 2020 18:08:38 +0300
Message-ID: <241F4C06123741D8BA0283C8690A5F12@dell2> (raw)
In windows 10
pg_receivewal --directory="d:\wallog" --verbose --compress=9
is used to archieve WAL.
This creates .gz files
For restore
restore_command='copy "D:\\wallog\\%f" "%p"'
is used.
Restore shows "file not found" errors in console. Thi sis probably because %f argument is WAL file name without extension.
How to use compressed WAL files for WAL archieve and restore in windows ?
Andrus.
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: kobruleht2@hot.ee
Subject: Re: How to recover from compressed wal archieve in windows
In-Reply-To: <241F4C06123741D8BA0283C8690A5F12@dell2>
References: <241F4C06123741D8BA0283C8690A5F12@dell2>
* 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