Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qE5gi-00050X-5S for pgsql-admin@arkaria.postgresql.org; Tue, 27 Jun 2023 10:12:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qE5gg-0007xU-PQ for pgsql-admin@arkaria.postgresql.org; Tue, 27 Jun 2023 10:12:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qE5gg-0007xE-CQ for pgsql-admin@lists.postgresql.org; Tue, 27 Jun 2023 10:12:42 +0000 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qE5gZ-000iS0-KH for pgsql-admin@lists.postgresql.org; Tue, 27 Jun 2023 10:12:41 +0000 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-57040e313c5so66767887b3.0 for ; Tue, 27 Jun 2023 03:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687860755; x=1690452755; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LlVs1G1Kn1+HXiK1hXS6f7HXPwRywiCCj/NqKLEBGTc=; b=iHEulJNE+4rKEMO4JbwoA9P5ilS3ZTmODFwrBpTdqgUREW2fYfX7SaqLImXLlYjTYq h1MaFiEd+BXnV0Q6nXb35Bl2PIGUSxwmG12FP63OCm5ktlqK9hz1TQGtN+woUKNp6/kW fJ5V6oinu1U6c/Ek5olgiJ/Sjs5Ks59K+STtHMYIw2J66fCDTaALlrq+LWoy93Avc/jj 5zWh7mekXWA3SCUR8+nBny2kgwGov4Xnv1Ofp5yE58GhlAn3UQdk9/rsxqFy0SunrDga VaUwjvzCAgqLvEUh+/JMGk2ZQzg1fyMJiQSvOxvzg2uCMPNzKXswkHFXKVp6FABs5GgG HP/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687860755; x=1690452755; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LlVs1G1Kn1+HXiK1hXS6f7HXPwRywiCCj/NqKLEBGTc=; b=kbJy1Lu5fV6uKxn+Biufi+9S6e5gT2EPHCHXMEdBqeC6BbqgztJ98PDVFGljGYO8OL eEb3rtK2mqRovUJ+Bi0wm3MjVQ1JInzd85vTFgszlOd0n3yJJT877+nodPALHPjSclxW atZtUM4zTVbTJL4liRRE63Y4cyflNYigrudgoRKe3U1brEcY4H8E11DBG4kV9kVZpccI clyt7/hmP7rNZvvnpsecb4REyvBMGTUcfxEdMDQ67sb15dVKql5QAFeyw45atvGsROr+ vo2Z1IqMuvDRFc1cz6fA94mmsv+aMj5PGFd5IRSSlR4P7Y0EwS/sUWrPL4Ze6cbohCty BGUA== X-Gm-Message-State: AC+VfDzrbkHeVeHVRyzWaCmfbjmWiA/5H3AfTltK44+Nh0jU4qv+1M7h pJl1sCdut2kOlxnQsI+pcb//mgTU6TY= X-Google-Smtp-Source: ACHHUZ5x1cwrRwBGmXkq+elDCNHrLs9XYhbRthSZpH+ZCTmZXLXI7wg3SRbHp8wTpmAkEoUbosx8Bg== X-Received: by 2002:a0d:d7c5:0:b0:56d:538b:2db5 with SMTP id z188-20020a0dd7c5000000b0056d538b2db5mr39390087ywd.5.1687860754761; Tue, 27 Jun 2023 03:12:34 -0700 (PDT) Received: from ?IPV6:2600:1700:bd2c:b810:f8c6:8913:77fd:2653? ([2600:1700:bd2c:b810:f8c6:8913:77fd:2653]) by smtp.googlemail.com with ESMTPSA id j1-20020a0de001000000b0056d2a19ad91sm1712631ywe.103.2023.06.27.03.12.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Jun 2023 03:12:34 -0700 (PDT) Message-ID: <56d23ec9-dc1f-e5a0-b2f9-59999abc5251@gmail.com> Date: Tue, 27 Jun 2023 05:12:32 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: Postgresql Database cant start after restore using pgBackRest Content-Language: en-US To: pgsql-admin@lists.postgresql.org References: <484cbe3c-eb15-5327-df72-3338c17c7855@pgmasters.net> <29c782b4-9ae3-364d-bca9-44f48c340aa3@gmail.com> <81a5d38d-db54-30ff-0b7c-054a950c5641@pgmasters.net> From: Ron In-Reply-To: <81a5d38d-db54-30ff-0b7c-054a950c5641@pgmasters.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/27/23 03:26, David Steele 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. Is this standard procedure for an "in place" --delta restore? -- Born in Arizona, moved to Babylonia.