From: Dennis Jacobfeuerborn <dennisml@conversis.de>
To: pgsql-general@lists.postgresql.org
Subject: How does pg_basebackup manage to create a snapshot of the filesystem?
Date: Thu, 19 Mar 2020 23:19:18 +0100
Message-ID: <0cff1bac-7ed2-df11-2d28-9bdd7b102dea@conversis.de> (raw)
Hi,
I'm currently trying to understand how backups work. In the
documentation in section "25.2. File System Level Backup" it says that
filesystem level backups can only be made when the database if offline
yet pg_basebackup seems to do just that but works while the database is
online. Am I misunderstanding something here or does pg_basebackup use
some particular features of Postgres to accomplish this?
Regards,
Dennis
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: dennisml@conversis.de
Subject: Re: How does pg_basebackup manage to create a snapshot of the filesystem?
In-Reply-To: <0cff1bac-7ed2-df11-2d28-9bdd7b102dea@conversis.de>
References: <0cff1bac-7ed2-df11-2d28-9bdd7b102dea@conversis.de>
* 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