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 1jnPcM-0005AA-LB for pgsql-general@arkaria.postgresql.org; Mon, 22 Jun 2020 16:48:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jnPcL-0004jE-If for pgsql-general@arkaria.postgresql.org; Mon, 22 Jun 2020 16:48:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jnPcL-0004j7-B6 for pgsql-general@lists.postgresql.org; Mon, 22 Jun 2020 16:48:21 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jnPcJ-0001A7-0i for pgsql-general@postgresql.org; Mon, 22 Jun 2020 16:48:20 +0000 Received: by mail-ed1-x541.google.com with SMTP id s28so14152835edw.11 for ; Mon, 22 Jun 2020 09:48:18 -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=g+CRz9/kpWCncdpbeAL5miy8mW7cY7gL9sZy5Z+D5ZI=; b=FhXVfCpog3vpry1pLgtVGLMqz4BzvB7z49J9fwEmsVb7Z/nJXb40GqsLv8j5l9/q7/ MAR1knkzf/UoBW5ZvSWj9FzeOlOb/1OBJPWeE0tBt/AY9NTjVt4gvE0snm+u/BfHXVmN HoZp1acE8iuSmLgue5OEws6skkz6VC6HuTQCXqpvmSQ5UTtrV3ga1MIMLdNrEUgQjFgP hdvdR0pSRduvdCjZH/6QqQtJW3WDrQC1oDnGz9lLRp+PTJJg41HCv8wUz/0EuIkFI3QU U/POtOD6gQDk0eCnhOGxfDK5zigvC3xs5BYzQw5uvnZO0qCYaxoUp7DUvpJVP3WM5yBC uk9Q== 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=g+CRz9/kpWCncdpbeAL5miy8mW7cY7gL9sZy5Z+D5ZI=; b=dCEZL0ENYYYs0mQWmL+XvgxZezrvDHdUmYQ2FFaHXocXzN5spWcmHek0AjkIpm4zTk zW+/YaFYJPTPQ1lQdn+lpEuA1L06LBWfSKkChkK1t3Tz2mX9geSeI9YTbNGOROX/evqz zAqkMNjI13w4qe0u+7HnEXC75JE1y+aKaHPTtIo3KctAuoldGfZo485ba4NY8wP3gZvl HuoS5ucvGCr2r07xSG2ErzOK0J4NEZ+3N0iLCk2HrShOstE3wai12RZrgevXRkFMl/CL VRkNsfMhAOr0QglNOFdW78NEl/nsZ0GHaL4F3r8t0UC7DuNG8friJPwcnjhwZ0jnQbwO 8fnw== X-Gm-Message-State: AOAM532Gcrhv90EKo0DL01Z/pWKxSZMZxhyILDRKK0wGgnNG1tmO+7jZ DM3hOQb/n/HWOVOM/7ekAFTQMvh9 X-Google-Smtp-Source: ABdhPJzEJxghAa3eLo6WWBXLOZ49HfGPbD1WjxIUmjKOIYpdht1nxSt2hT7+4ZiTS2LCtC1aRMInBw== X-Received: by 2002:a05:6402:549:: with SMTP id i9mr17839258edx.159.1592844497653; Mon, 22 Jun 2020 09:48:17 -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 p34sm13433598edp.49.2020.06.22.09.48.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2020 09:48:16 -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: <9530455b85e640deb1dbe74d6a5a2a74@lmco.com> Date: Mon, 22 Jun 2020 18:48:15 +0200 Cc: Stephen Frost , Magnus Hagander , pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: References: <9530455b85e640deb1dbe74d6a5a2a74@lmco.com> To: "Wolff, Ken L" 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 Ken, please don't put your answer at the top. > On 22. Jun, 2020, at 17:46, Wolff, Ken L wrote: >=20 > So apologies if this is a stupid question but there's obviously been a = lot of discussion on this issue. Was a consensus ever reached on the = following? >=20 > If a Postgres database (both data and WAL) is located on one NetApp = volume, meaning a snapshot should capture everything at exactly the same = time with the required atomicity, do we still need to put the database = into backup mode beforehand (and take it out afterwards)? If we don't = put Postgres into backup mode first, will we still be able to use the = WALs to roll transactions forward or would we be limited to only the = point-in-time at which that snapshot was taken? you're absolutely fine with that as long as PGDATA and the pg_wal = directory are located on the same volume. But you can't perform a PITR. If you don't do pg_start_backup() then you won't be able to perform a = PITR but if that's an "I-will-*DEFINITELY*-never-need-a-PITR" situation, = then that's ok. Otherwise, from what I learned, you do a = pg_start_backup(), then do the volume snapshot, and finally the = pg_stop_backup() saving the output of the latter for PITR purposes. Cheers, Paul=