Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5oKm-003eVh-2G for pgsql-novice@arkaria.postgresql.org; Thu, 26 Mar 2026 17:17:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5oKl-0045EJ-0e for pgsql-novice@arkaria.postgresql.org; Thu, 26 Mar 2026 17:17:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5oKk-0045E6-2y for pgsql-novice@lists.postgresql.org; Thu, 26 Mar 2026 17:17:27 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w5oKi-00000001K3o-3pQI for pgsql-novice@lists.postgresql.org; Thu, 26 Mar 2026 17:17:27 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-439bcec8613so879584f8f.3 for ; Thu, 26 Mar 2026 10:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1774545444; x=1775150244; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=gl1bLgjlNBD2VPmgmS2F9JwK0//BqX26fVbEo1Uiw4U=; b=RCstgHYvYNfCmnVIUZr/sg7KWVB8Zc59dAHhKmsKEAMaSr/mrN0pavZegqQmk/xjSk jmdIwyA92v73Aosvpnk/5YS3XipTPk6QHPv8KtFsPacaOlWi5TZbaMXdpsf8CM++qVsg rAOhaxVE1TIL6YGTlRMuMmIj9mAYOzyn08GxIgQQzbxqiUtxRYB6+r+6kytZa4ZFiV39 k9F2c3IF30zNx8PF7cbauzxY5qYMhWHMWzcuEIr1B5GTOibgTOwG3DJI7HPxXmU2rjIB K+rNtOXhZbmHq4dTYZcOOZLRLlfiACKiE3Dim7D9H51Ya8JXOMTI8apJ4UypFj9AOiEK 0Gmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774545444; x=1775150244; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gl1bLgjlNBD2VPmgmS2F9JwK0//BqX26fVbEo1Uiw4U=; b=TDmm3YiXi/gOX2jX+lVaIB8aXheypM1DImRQPnYgsmgDB9aQVncLoRV7XNN9xncY3W PdqjyB2gN7SxVkUbvYbSDTTTMwc/61PID1f5uQeo80NsYi2SrLZpeSyVBecPWhgjNPg6 +fFx8h8FNNnZhIIYwcl5aZP/1F4NPtDy0USjpS1+hmbdQZlMCqKFW2ePcRp7C9j19R3B hrvrh0jS2J8LrUxRtqPxiWhXJOeDm6n5Ndi9toOLwIJpVD80AVIHVSDH6kUgra0QqXLq QXyi+h/3Re3NKySUL0pGdu20HJH/I9TOEW/EJbBiDEUlVJeAfbKIuCZv5FW22DT0jXob zihw== X-Gm-Message-State: AOJu0YxyaGskOnSarQP94ckjQjeu2FdHt9mbppsOmt106jmH+kxgV1Hj P2VW7isFn5SpCph+mlQsrvTwbfZp9nRc1dxvsmq6hjervU50xwMk46zJNxCERU+s4J8= X-Gm-Gg: ATEYQzxzkqjF/pDRp06v5CuFgZ/cgPVlatxJocrulLPacrq/934O24agForQe5z91X9 9+LWNYZR9++4TzPYilSWYN1MO2BaWxZFNl1oMisvo1mQ5HHBbcxLM8yZCY3C+oLYsvkKh2Om1L/ oLqKfJsdul7oIrAZOhyMOqHz1zLKr7RWcDITphQtQaHc8sYAWk0d1jMDeIESNQyU4XYYv3DWPqb aqXhP2DyJoZ7lCU+2yzyGy5dKti+9XeGp+zfrvMtWvCsNn0bjwDuQn+tRmo3o5T/0ZRHudyfKW7 vzR7z6YzOVXdLiZkM5ypNSIMaxhRpCpkzIdMw5T8vVX8YUVn2/iFqbaVkbAp4P581VzFTug60SQ 3B0SXm0Z+u44by5kXUosoSrBM4WN9eNwSl7pZZIHeWp/kSfIjlrgiXk9vY1D3yIbudYMg0asZwB audfgTeVYR4G4xbdshDrwvgvyuqB0QtsrsyxAZG06VIrvSOcKcHB8+bA== X-Received: by 2002:a05:6000:40c7:b0:43b:5097:6f60 with SMTP id ffacd0b85a97d-43b88a0516bmr12347813f8f.32.1774545444228; Thu, 26 Mar 2026 10:17:24 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:70:1a44:6c8c:8b5f:2c65:962d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b919cf5aesm10443905f8f.24.2026.03.26.10.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2026 10:17:23 -0700 (PDT) Message-ID: <2da4630ad323530f46b9ad44bfcd90830c390dfb.camel@cybertec.at> Subject: Re: AW: AW: Very basic question about Archive logs From: Laurenz Albe To: "Subramanian,Ramachandran" , "David G. Johnston" Cc: "pgsql-novice@lists.postgresql.org" Date: Thu, 26 Mar 2026 18:17:23 +0100 In-Reply-To: <8a67983391a14af1ad968c2c6c2aec82@alte-leipziger.de> References: <5604c5c610e44a0d97daceaf5f1ae01f@alte-leipziger.de> <8177cb9bc419f96f09302c50eb71d92723e01b9e.camel@cybertec.at> <8a67983391a14af1ad968c2c6c2aec82@alte-leipziger.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2026-03-26 at 13:42 +0000, Subramanian,Ramachandran wrote: > When I restore the base backup, from Monday 0100 Hours, Postgres will loo= k > at 0/53000028 and look for newer Logs beginning from this log file ... Yes. > ... in the Archivelog dir. PostgreSQL knows no such directory. It executes restore_command and expect= s it to restore the desired WAL segment to pg_wal. > Only in the archive log dir=C2=A0 because we would have over written the > active log dir. I don't understand that sentence. > Postgres will rollforward till end of Logs OR a particular timestamp if o= ne is specified. Yes. > Am I understanding this correctly? I guess so. Laurenz Albe