Re: Hot backup in PostgreSQL - Mailing list pgsql-general

From Paul Förster
Subject Re: Hot backup in PostgreSQL
Date
Msg-id 0A5B194D-1EDD-4354-B6DB-564CCF3ED63D@gmail.com
Whole thread Raw
In response to Hot backup in PostgreSQL  ("W.P." <laurentp@wp.pl>)
List pgsql-general
Hi Laurent,

> On 22. Oct, 2020, at 08:42, W.P. <laurentp@wp.pl> wrote:
>
> Hi there,
>
> how to do "hot backup" (copying files) while database running?
>
> Not using pg_dump.
>
> Is there some equivalent of Oracle (I knew v8) "ALTER DATABASE BEGIN BACKUP", which froze writes to database files,
pushingeverything to redo files? 

yes, there is. Please read the chapter: 25.3.3.1. Making A Non-Exclusive Low-Level Backup

https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-LOWLEVEL-BASE-BACKUP

Cheers,
Paul


pgsql-general by date:

Previous
From: "W.P."
Date:
Subject: Hot backup in PostgreSQL
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: Hot backup in PostgreSQL