Re: Simulate a PITR in postgresql 16
Adrian Klaver <adrian.klaver@aklaver.com>
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Franklin Anderson de Oliveira Souza <franklinbr@gmail.com>,
pgsql-general@lists.postgresql.org
Date: 2025-06-30T20:43:12Z
Lists: pgsql-general
On 6/30/25 12:35, Franklin Anderson de Oliveira Souza wrote: > I'm trying to simulate a PITR in postgresql 16 with the following steps: > > ----------------- > LOG: starting PostgreSQL 16.3 on x86_64-pc-linux-gnu, compiled by gcc > (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22), 64-bit > LOG: listening on IPv6 address "::1", port 2222 > LOG: listening on IPv4 address "127.0.0.1", port 2222 > LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.2222" > LOG: listening on Unix socket "/tmp/.s.PGSQL.2222" > LOG: database system was shut down at 2025-06-30 12:15:28 -04 > cp: cannot stat '/dados/temp/wals/00000002.history': No such file or directory > ----------------- Where is /dados/temp/wals/ coming from? > > > The restore_command requires the .history file but it does not exist > in any of the clusters in this simple test, which is wrong in this > example ? Tanks > -- Adrian Klaver adrian.klaver@aklaver.com