Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory

From: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
To: Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory
Date: 2019-06-12 13:11:44
Message-ID: b38c49cd-c2d5-5e2c-9917-ac66cebf466f@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06/10/2019 04:37 PM, Kuntal Ghosh wrote:
> When we define a restore command, we tell the server to copy a file a
> WAL file from the archive. So, it should be
> restore_command='cp tmp/archive_dir1/%f %p'
>
> This is the reason you're getting this following error.

Ohh. Mea Culpa.

Thanks for pointing out.

--
regards,tushar
EnterpriseDB https://www.enterprisedb.com/
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2019-06-12 13:14:21 Re: tableam: abstracting relation sizing code
Previous Message Fabien COELHO 2019-06-12 12:44:49 Re: fix psql \conninfo & \connect when using hostaddr