pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: W.P. <laurentp@wp.pl>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Hot backup in PostgreSQL
Date: Thu, 22 Oct 2020 09:35:17 +0200
Message-ID: <20201022073517.GA22554@depesz.com> (raw)
In-Reply-To: <486ad2c5-01e0-fbf7-b09d-88898b28cdb0@wp.pl>
References: <486ad2c5-01e0-fbf7-b09d-88898b28cdb0@wp.pl>

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





view thread (9+ messages)  latest in thread

Message-ID: <20201022073517.GA22554@depesz.com>
Permalink:  ../20201022073517.GA22554@depesz.com/
Also on:    postgresql.org/message-id/20201022073517.GA22554@depesz.com

 · 

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 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: depesz@depesz.com, laurentp@wp.pl
  Subject: Re: Hot backup in PostgreSQL
  In-Reply-To: <20201022073517.GA22554@depesz.com>
  References: <486ad2c5-01e0-fbf7-b09d-88898b28cdb0@wp.pl> <20201022073517.GA22554@depesz.com>

* 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