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.94.2) (envelope-from ) id 1uU5tM-00FTgN-41 for pgsql-general@arkaria.postgresql.org; Tue, 24 Jun 2025 15:49:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uU5tI-00DIwN-Kp for pgsql-general@arkaria.postgresql.org; Tue, 24 Jun 2025 15:48:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uU5tI-00DIwD-AG for pgsql-general@lists.postgresql.org; Tue, 24 Jun 2025 15:48:56 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uU5tH-003knS-0e for pgsql-general@postgresql.org; Tue, 24 Jun 2025 15:48:56 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 78D521D00171; Tue, 24 Jun 2025 11:48:54 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Tue, 24 Jun 2025 11:48:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1750780134; x=1750866534; bh=Xk8hsTY4bx32O0cb53ykKfAKEl2xXhr02NwkQg/rwJM=; b= V/OdVhfGDsVVR0SjH+cmej1fLqEukHDSetwDwng68bXxMG0xvvWqhXYjJIZm+2WW SzxHVejWNaBPAb5HVKBXKpjz5oDze7JV9KIQZLdiHg76OT8zyGwHR3XWTLn5TQBC zh0G365XgpRhqR1bYyq2l7ZrKvtRoc3eGOXX5+SdTzm1BurJ20oiNsfr1hzL3wvt mQdZxDtgKR1QURWW4LnfB0Gcop9l7RClFPYBgo4RNpM3QE9I83MvqnV21FZMw3Tx InY5iizgXSvm+zzVLJefjzakyFCHEsthSdPZhp4MbrYE6y0qXe+D0YvfhczMs4dV v2ZhfvMWy0tNZO2xYsbsHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1750780134; x= 1750866534; bh=Xk8hsTY4bx32O0cb53ykKfAKEl2xXhr02NwkQg/rwJM=; b=A RQGXxe2jsI2jtWNWes9cQFqZjlvf0RURoZUNgiOelW48Tl63KF1yrFJluYvjG3cA CKXRqX682D3u9fGh4PKow1ziOte1+Pf37M0WnBxO+B1LChWWhaXE24mj9Kg+6GZt KCzH8vY/AXKQ4OysGL2IY7pk9AuFOALoT3Yi99a3oB3ic0xJvaNp9OH55yqYR6YN uR2HZrdlc2y2cW3Urv/iNQJup+VbLwXbgWvEbWB8zFy06uJ6VEorGH85R+mrtRIK cyhN3vwnTl0ssNAq28PVvwvLPrtI19udKF+YX207i/g5lkZiPqjUzNk/KbB3kDvs 0t7qg9kda3YatMpjR2EGg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddvtddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpeetveetieevteeludegjeevtdelvdehieekheeftddvledu vdefudfhjeefjeevteenucffohhmrghinhepphhgsggrrhhmrghnrdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepkhhouhgsvghrsehgmhgrihhlrdgtohhmpdhrtghp thhtohepphhgshhqlhdqghgvnhgvrhgrlhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Jun 2025 11:48:53 -0400 (EDT) Message-ID: <5746f172-e628-4c10-b7fe-74e626946a90@aklaver.com> Date: Tue, 24 Jun 2025 08:48:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pg_combinebackup failure To: Kouber Saparev Cc: pgsql-general@postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/24/25 08:38, Kouber Saparev wrote: > Barman is involved indeed, its version is 3.14. The command: "barman > backup xxx --incremental latest". I don't use Barman and I am still figuring out incremental backups, so what I say should be taken lightly. From here: https://docs.pgbarman.org/release/3.14.1/user_guide/backup.html#block-level-incremental-backup "Alternatively, you can use last-full or latest-full to reference the most recent eligible full backup in the catalog." Not sure that latest by itself will work. > > PostgreSQL is version 17.3. > > На вт, 24.06.2025 г. в 18:26 Adrian Klaver > написа: > > On 6/24/25 02:31, Kouber Saparev wrote: > > Hello, > > > > We are trying to use pg_combinebackup but eventually it fails with: > > What is the command you are using to take the incremental backups? > > What version of Postgres are you taking the incremental backups from? > > Given the naming below, is Barman involved in this? > > If Barman is involved what version and what command is being used? > > > > > pg_combinebackup --debug --dry-run > > --output=/barman-backup/barman-data/test_combine > 20250616T140003/data > > 20250617T090005/data > > > > ... > > > > pg_combinebackup: would copy > > "20250616T140003/data/base/16420/2136674204" to > > "/barman-backup/barman-data/test_combine/base/16420/2136674204" > > pg_combinebackup: would copy > > "20250616T140003/data/base/16420/2542449085" to > > "/barman-backup/barman-data/test_combine/base/16420/2542449085" > > pg_combinebackup: error: file > > "20250617T090005/data/base/16420/INCREMENTAL.4085177931.76" has > > truncation block length 9501840 in excess of segment size 131072 > > > > Any idea what's wrong? > > > > -- > > Kouber Saparev > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com