How does pg_basebackup manage to create a snapshot of the filesystem?

From: Dennis Jacobfeuerborn <dennisml(at)conversis(dot)de>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: How does pg_basebackup manage to create a snapshot of the filesystem?
Date: 2020-03-19 22:19:18
Message-ID: 0cff1bac-7ed2-df11-2d28-9bdd7b102dea@conversis.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Hughes 2020-03-19 22:24:14 Passwordcheck configuration
Previous Message Rob Sargent 2020-03-19 22:17:46 Re: Could postgres12 support millions of sequences? (like 10 million)