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 1rbyQc-000FhG-8g for pgsql-admin@arkaria.postgresql.org; Mon, 19 Feb 2024 07:51:06 +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 1rbyQZ-00DguI-MS for pgsql-admin@arkaria.postgresql.org; Mon, 19 Feb 2024 07:51:03 +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 1rbyQZ-00DguA-B9 for pgsql-admin@lists.postgresql.org; Mon, 19 Feb 2024 07:51:03 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rbyQW-007USx-NT for pgsql-admin@lists.postgresql.org; Mon, 19 Feb 2024 07:51:02 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2d208be133bso36690301fa.2 for ; Sun, 18 Feb 2024 23:51:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708329059; x=1708933859; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:from:to:cc:subject:date :message-id:reply-to; bh=+b4x5UyVILOs1ra4hm1qd6Dr3aXJZ0XIXKhR5RgJ/T4=; b=fzShY8CEoF1bI8wq7z8jxvNqGcbDjJTIkxng2G6FYpG2wbm0z3K04rLWH8sxayv6Y0 DGoLHPtLG3JK0rMsG0/rEt4CiekDTYXaH4HplGfUUwrACFGYwjotqD/MtTXO/4Tvqyq9 GbT/Q5xP/zAvvPx3fefdArTXAuJx5ftCZ7wyDgtMv6D+inPP2c/sKMgVEmw6oFbEsamH m42Ez5PI5hob6QqGqGju4DebihtVlvAvbtRr66v0YhdI+7ndNBXWk5YTYr2wW+s54+Go lZs+pG1Rov4DwjCc+4kO860ZTaQvuVEvusQkTG6AyrFakibSJ4vjT6Finu04NwuQXVbv 3DUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708329059; x=1708933859; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+b4x5UyVILOs1ra4hm1qd6Dr3aXJZ0XIXKhR5RgJ/T4=; b=ZcARbHtAJ3Z/1gTBTHpCH46LGpAzlOtNXgt8zUD0U8qR70jZc5AYwqK46AV0Ee53Ys PVdRarer+0blp0VJ6E3bKODzwdAA8YVspVkx3NggiDloSlMiZgX1ENgukX/JAwoJRPeB CRb8ZpTZ9waV9UYcuemELVIibz09nycJqKTvwU8fCj8L3xpP21qZTp7RFVgeTNRjHdcV Id5/fWL0SlPtBT2/85x4c5UHshWAk99DeWwvxy+LPW2wE7ZDlq2GFfkLp34fHGFWgbvl j8HmDXL3J1LYkH+5DBTlVkZO3oAxszBTZeaVHiMuY4WK9kg2u2S6hb5Lc9Z8MXc7vpaJ 3OLQ== X-Forwarded-Encrypted: i=1; AJvYcCXJ9g2lq0hFSEN4r/tVXpvpYufU4ATEqs8OQEG5osN1I/xIctZrWv9O1NkA2gXKJxl1MCu3+ksjSIubdFUywJum9t3K3tRORA5Y8q5qblqLiA== X-Gm-Message-State: AOJu0YwQ21Z9yjfIiEp8GLNVcbaJJ5Jao6z6FrBpEVvCFV/9WZExYqOW 01cs/7LorInl7Wk1rOlZVKoYBimjy9SXIU+8rhD1QbxRhPB7MeSMjxuhWUYw X-Google-Smtp-Source: AGHT+IGk5UkzqW2OYO93ZZxa8EbYHj3t4cfwIVhwcfPh+MGEXknMctBeOVWvXvO+jdxzUt2EiMXuLw== X-Received: by 2002:a2e:88c8:0:b0:2d2:38a6:153a with SMTP id a8-20020a2e88c8000000b002d238a6153amr1691890ljk.53.1708329058548; Sun, 18 Feb 2024 23:50:58 -0800 (PST) Received: from lightning.caipicrew.dd-dns.de ([2001:a61:a2b:8001:a460:3aa4:1e21:cd50]) by smtp.gmail.com with ESMTPSA id bx15-20020a5d5b0f000000b0033d202abf01sm8738352wrb.28.2024.02.18.23.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 23:50:57 -0800 (PST) Message-ID: <65d30861.5d0a0220.ef3a3.0214@mx.google.com> X-Google-Original-Message-ID: <20240219075057.GC13087@caipicrew.dd-dns.de;lightning.caipicrew.dd-dns.de> Sender: Michael Banck Received: from mbanck by lightning.caipicrew.dd-dns.de with local (Exim 4.92) (envelope-from ) id 1rbyQT-0002i7-DG; Mon, 19 Feb 2024 08:50:57 +0100 Date: Mon, 19 Feb 2024 08:50:57 +0100 From: Michael Banck To: Rajesh Kumar Cc: Laurenz Albe , Pgsql-admin Subject: Re: Full backup failed References: <4a8ed0487aada47fe5d0263055862494a52216ea.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Mon, Feb 19, 2024 at 01:13:36PM +0530, Rajesh Kumar wrote: > Archive command is set to pgbackrest --stanza=db archive-push "%p" That looks right. > There were no such issue since last year. > > In postgres logs, don't see anything related to archive. But I see, > WARNING,0100, aborting backup due to backend exiting before pg_backup_stop > was called....pgbackrest[backup] client backend, 58568621736954596 This error is due to the timeout that pgbackrest backend suffered. I think one reason pgbackrest backup could time out after 60s is WAL pileup, i.e. it tries to check whether the current WAL archive was successfully archived in 60s but if there is a huge lag in archiving (for whatever reason) the current WAL segment might not get archived for another 60 seconds and the backup fails. So if you have that data in monitoring, check whether archiving was maybe lagging behind, or otherwise, check whether there are a lot of .ready files in the pg_wal/archive_status sub-directory right now and/or possibly just try the backup again. Michael