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 1tAU27-00FzPN-40 for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 13:00:42 +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 1tAU23-00E4sR-8w for pgsql-admin@arkaria.postgresql.org; Mon, 11 Nov 2024 13:00:39 +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.94.2) (envelope-from ) id 1tAU22-00E4sJ-T2 for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 13:00:39 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tAU1z-001MTf-Aj for pgsql-admin@lists.postgresql.org; Mon, 11 Nov 2024 13:00:38 +0000 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5c96b2a10e1so6936618a12.2 for ; Mon, 11 Nov 2024 05:00:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=cybertec.at; t=1731330035; x=1731934835; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=uxbX+hgOfHDJ4z+Ccn+rDEXh/zUOkrvVlGfsTaECeFU=; b=cy+Dq7cFRt44iJiedd+J7m/+zUuJHDStHRiyLViQGRb8qIoVhOzZsX0BpQWYPtAjgp c+f+5pLhEqk5XlscSvskv7Rhks22qV7v24FNagLcEVPBSaorEfNKPqyzHhwuUmywgSAo /VWJCQRfDAPkCnYGPYtD8kkBWdClo1PK9PcRA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731330035; x=1731934835; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uxbX+hgOfHDJ4z+Ccn+rDEXh/zUOkrvVlGfsTaECeFU=; b=I7D1GpdZUAifXHJk7bcTiPNp39B9Awcytu5SAdj51PjtHtV7qJ4Q5fL8yYe3blkUL8 fYsYGvTSTP3JQRdkooFLPE5G99wBoz/WszyFmorMzrNEY6DTmtM2fNCNSZPEq8O4rSsz AwuiIPHyItzbCQNNgqVQe9+vw5MRwYowx7NjSVV96aZDAwz23OAN+ihvORFcD+KtzCJR P0ryniGDdkbDdDlPdS4SEUkt5K2mUMl7soMEuBnh9eLWpC28HoZjoZ3bSdHeIbSM3o6Y RPNAWVLBEHQRtNifHj5okf+ABNeEe2gwNfNnzDqIeGPebXhjc+64RiFiGGw4znr5r+jz fRCQ== X-Forwarded-Encrypted: i=1; AJvYcCXh7gsHOR6jrX1Lx+wnFNZuyoq1yfcOjejN/4NEUFIVWKkYutEjN5rtuwMmXrR0eSdJ7s5ItgRstEWg0g==@lists.postgresql.org X-Gm-Message-State: AOJu0YwW9jWopN8Z+gnpq786f1NVF3SkIXPaX8Y75P4bWzVYdf5OTiUr az2dWlFlSfuR/Y+t4Lp12C6jeDXGh1OplsK6PP6PVpNI+r0Vg0l7KQmpN3/Fs0F9NwucZR3TySR t X-Google-Smtp-Source: AGHT+IE83AftludbOR5rkCEGfXTaPcAsbJeD4mOKIyfeVBQmVF9qSPYhpr3yq+kj1n4f06mWeb58EQ== X-Received: by 2002:a05:6402:34d4:b0:5c9:85de:db8a with SMTP id 4fb4d7f45d1cf-5cf0a310091mr8181210a12.11.1731330034549; Mon, 11 Nov 2024 05:00:34 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:d088:5c8c:3620:b08f:cdc2]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cf3137125bsm1648698a12.3.2024.11.11.05.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 05:00:34 -0800 (PST) Message-ID: <2ae3d790ba228a62c97a40a419c3d05890952b11.camel@cybertec.at> Subject: Re: Running rsync backups in pg15 From: Laurenz Albe To: Murthy Nunna , Pgsql-admin Date: Mon, 11 Nov 2024 14:00:33 +0100 In-Reply-To: References: <01000193082d1077-34d9461d-49e4-44ef-b83a-0201df4fc0ba-000000@email.amazonses.com> <6c1b0bc55c9420d84823dd6feda7620f69efac5e.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.4 (3.52.4-2.fc40) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, 2024-11-10 at 15:05 +0000, Murthy Nunna wrote: > So, in the test case that Fujii sent, the server crashed during backup so= it was safe to remove "backup_label". >=20 > However, in case of a completed exclusive backup, if you remove "backup_l= abel" and then try to bring up server > using the same backed up data as PGDATA, then you will have corrupted ser= ver. I get it. >=20 > In my humble opinion with respect to all, if this is the only reason (rem= oving "backup_label" thus introducing > corruption) for removing exclusive backups, I think it is an oversight by= the Postgres Development Group > approving this change. The other reason is that in this day of automation it is unappealing that t= here is a case where a crashed server cannot start without manual intervention. And automating th= e removal of "backup_label" is not a good idea... But I see your point, and I argued similarly when the exclusive backup mode= was removed. However, the majority disagreed. See the discussion in https://www.postgresql.org/message-id/flat/ac7339ca-3718-3c93-929f-99e725d1= 172c%40pgmasters.net Yours, Laurenz Albe