Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory - Mailing list pgsql-hackers

From tushar
Subject Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory
Date
Msg-id b38c49cd-c2d5-5e2c-9917-ac66cebf466f@enterprisedb.com
Whole thread Raw
In response to Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
List 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




pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr
Next
From: Robert Haas
Date:
Subject: Re: tableam: abstracting relation sizing code