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 1jnFX3-000704-5K for pgsql-general@arkaria.postgresql.org; Mon, 22 Jun 2020 06:02:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jnFX1-0001zE-Va for pgsql-general@arkaria.postgresql.org; Mon, 22 Jun 2020 06:02:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnFX1-0001xw-Le for pgsql-general@lists.postgresql.org; Mon, 22 Jun 2020 06:02:11 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jnFWz-0004pi-5i for pgsql-general@postgresql.org; Mon, 22 Jun 2020 06:02:10 +0000 Received: by mail-ed1-x534.google.com with SMTP id m21so12610708eds.13 for ; Sun, 21 Jun 2020 23:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MgH/Xerre2O7IF5+eejri5gG7Laiw68Ea8jvV0IrPuo=; b=EIElNSRh1PNpBE/iXY9QhgB2dCVoTeZWnUT7iaXVxkScs17U0H+yOzaxDbWLjOSf1h hNj2ypF7UKFSo+kVNk4G9R7WXA/TUIUCT+ODWpPiyJhsVKkcufItytb2nMALdXfwtaQz ct+e/MqqWTJBEUgf9SQXPrNYs5fP7ugXb72Jpye9ATxgK+1F66osynoLPnJW68S4VHo6 tHsOUe99DrQ+p6uCxKU9pvcfWdKic0Ile8jD8+/ygIjiU3jpU7bcL61y3SA4HOp4k5Mo DmQC9yzRw/ftg490a/DW122dfjIJ372hwnzMkljqc1b59mSnV0NPDvUCW1yozzOKWB4B lf7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MgH/Xerre2O7IF5+eejri5gG7Laiw68Ea8jvV0IrPuo=; b=r+dDKBQ6mEmBbNwpPl5oEXI4B2TRHQTptBCkHymJC9HKZC/PaOe6GlD2YnB7PLHq73 7wlsCfNL6DJ0lKmkuzjIWOQx/xCWIsRlj2eHBW9jlstFug8ACpoMXw/NU4PwjfnPlj/+ MODUvXTUmdMY0hYBxuo7jt+NConR5i/WQBf6jx6GfV6pVS4TFdj/+oRwtWsVXT4WuZ1Q 6W4Tien99DopD4cd318phozN0AbAFFIBK8T4TsJia5BRN8fNbxFiXMoIyEerWTCbVTfV R1H/WmKVtXeaLqio8s67yj1YOaq1YSuz1zb5Z/dYH2LufxswoLs7emn/rUIWu0gnBScM eTlA== X-Gm-Message-State: AOAM5336YdnKmTSR7abw8J0ENO2XcIXhDDXrvsHOSrN4vzmlhBisPe2E Xbc9fFrlxhB3t8VkfWCDVQQ= X-Google-Smtp-Source: ABdhPJwlTIaeMlqIW7r+n4sUzt8UC0DRdbkAEu1DrOVogwVkt9c5mFpTmzdohmI+foUFktSdvDGWBw== X-Received: by 2002:a05:6402:1544:: with SMTP id p4mr455527edx.334.1592805728134; Sun, 21 Jun 2020 23:02:08 -0700 (PDT) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id v11sm894622eja.113.2020.06.21.23.02.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jun 2020 23:02:07 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Netapp SnapCenter From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: <20200622053610.GB3125@tamriel.snowman.net> Date: Mon, 22 Jun 2020 08:02:06 +0200 Cc: Magnus Hagander , "Wolff, Ken L" , pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: References: <4D23B288-6A0B-4BDB-A723-FC47F2E832C7@gmail.com> <2C6D03C3-CFF0-4F14-BA83-A2809BA29196@gmail.com> <20200618192642.GH6680@tamriel.snowman.net> <20200619160248.GI6680@tamriel.snowman.net> <064CCB04-4279-48F1-AF1A-1C3036843350@gmail.com> <20200622053610.GB3125@tamriel.snowman.net> To: Stephen Frost X-Mailer: Apple Mail (2.3608.80.23.2.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Stephen, > On 22. Jun, 2020, at 07:36, Stephen Frost wrote: > That's not the only case that I, at least, have heard of- folks aren't > really very happy with their backups fail when they could have just as > well completed, even if they're overlapping. Sure, it's better if > backups are scheduled such that they don't overlap, but that can be = hard > to guarantee. I see. > The thing about this is though that the new API avoids *other* issues, > like what happens if the system crashes during a backup (which is an > entirely common thing that happens, considering how long many backups > take...) and it does so in a relatively reasonable way while also > allowing concurrent backups, which is perhaps a relatively modest > benefit but isn't the main point of the different API. that makes me curious about another thing. The output of = pg_stop_backup() is to be stored. Otherwise the backup is useless. So = far, so good. But what if the server crashes in the middle of the backup = and pg_stop_back() hence is never reached? In this case, it obviously = does not create any output. Ok, you usually start the server, the database does a crash recovery and = opens. Then, some time later, you do the usual backup and all is well. = This is like 99.999% of all cases. But what if you need to restore to the latest transaction while the = database was running in backup mode during which the crash occurred. How = does that work if no pg_stop_backup() output exists? Did I miss = something here? Cheers, Paul=