public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nick Cleaton <[email protected]>
To: PostgreSQL General <[email protected]>
Subject: Backups with filesystem snapshots
Date: Mon, 11 Aug 2025 14:01:15 +0100
Message-ID: <CAFgz3ksJNVprBWLX4x=MdfJrG+uZSgUHTYGF35T=dJryJjz8zw@mail.gmail.com> (raw)

If I take an instantaneous filesystem-level snapshot of the postgres
data directory underneath a running postgres server, is that a safe
backup without doing any pg_start_backup/pg_stop_backup ?

It seems like it should be, so long as I get an atomic snapshot that
includes both data and wal, because starting up from that snapshot
should look the same as recovering from an unclean postgres shutdown
due to a kernel panic.






reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Backups with filesystem snapshots
  In-Reply-To: <CAFgz3ksJNVprBWLX4x=MdfJrG+uZSgUHTYGF35T=dJryJjz8zw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox