Re: Postgresql Database cant start after restore using pgBackRest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you, this worked 

On Tue, 27 Jun 2023 at 11:26, David Steele <david@xxxxxxxxxxxxx> wrote:
On 6/27/23 07:41, Deo Felix wrote:
> In the postgresql.auto.conf i have this configs
> restore_command = 'pgbackrest --pg1-path=/var/lib/postgres/main
> --stanza=data archive-get %f "%p"'
> recovery_target = 'immediate'
> recovery_target_timeline = 'current'
>
> But still I the database cant start

You will need to redo your pgbackrest restore with
--target-timeline=current and then restart postgres to start recovery
with the correct settings.

Regards,
-David

[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux