Re: Hot backup in PostgreSQL

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: "W(dot)P(dot)" <laurentp(at)wp(dot)pl>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Hot backup in PostgreSQL
Date: 2020-10-22 07:35:17
Message-ID: 20201022073517.GA22554@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 22, 2020 at 08:42:08AM +0200, W.P. 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, pushing everything to redo
> files?

There are many ways to do it. To be able to suggest proper solution we'd
need to know:
1. what is the problem with pg_dump?
2. what is the exact problem you're solving (clearly it's not only
"having backup", as this is done using pg_dump without any problem).

depesz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2020-10-22 08:18:12 Re: Hot backup in PostgreSQL
Previous Message Paul Förster 2020-10-22 06:46:58 Re: Hot backup in PostgreSQL