From: Wolff, Ken L <ken.l.wolff@lmco.com>
To: Stephen Frost <sfrost@snowman.net>
To: Paul Förster <paul.foerster@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Netapp SnapCenter
Date: Mon, 22 Jun 2020 15:46:55 +0000
Message-ID: <9530455b85e640deb1dbe74d6a5a2a74@lmco.com> (raw)
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?
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?
Thanks much.
Ken
-----Original Message-----
From: Stephen Frost <sfrost@snowman.net>
Sent: Monday, June 22, 2020 7:06 AM
To: Paul Förster <paul.foerster@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>; Wolff, Ken L (US) <ken.l.wolff@lmco.com>; pgsql-general <pgsql-general@postgresql.org>
Subject: EXTERNAL: Re: Netapp SnapCenter
Greetings,
* Paul Förster (paul.foerster@gmail.com) wrote:
> > On 22. Jun, 2020, at 13:08, Magnus Hagander <magnus@hagander.net> wrote:
> > It does not work off *that* base backup. But if you start from the *prior* be backup (one that did complete with a successful pg_stop_backup) then you can still use the archived wal to recover to any point in time.
>
> ok, that's clear now. Thank you very much.
Right, and tools like pgbackrest will figure this kind of thing out for you too- just give it the time you want to restore to and it'll figure out the right backup to use.
Thanks,
Stephen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ken.l.wolff@lmco.com, sfrost@snowman.net, paul.foerster@gmail.com, magnus@hagander.net
Subject: Re: Netapp SnapCenter
In-Reply-To: <9530455b85e640deb1dbe74d6a5a2a74@lmco.com>
References: <9530455b85e640deb1dbe74d6a5a2a74@lmco.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox