pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: spinler@kmtel.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Insuring consistant backups
Date: Mon, 9 Dec 2002 22:50:48 -0500 (EST)
Message-ID: <200212100350.gBA3om816842@candle.pha.pa.us> (raw)
In-Reply-To: <1039491185.3df560710c432@www.kmtel.com>


pg_dump does a snapshot at backup start, so your backups will be
consistent even if there is activity.

---------------------------------------------------------------------------

spinler@kmtel.com wrote:
> 
> 
> Hi:
> 
> A question regarding backups.  Commercial databases I've administered have had
> some facility to freeze or redirect transactions when a backup is being taken
> from a database which is online, in order to insure that the backup snapshots a
> consistant database.
> 
> Does postgresql have a similar facility, or do I have to script some solution,
> perhaps forcing all sessions to be dropped before doing a pg_dump ?
> 
> Thanks,
> -- Pat
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (3+ messages)  latest in thread

Message-ID: <200212100350.gBA3om816842@candle.pha.pa.us>
Permalink:  ../200212100350.gBA3om816842@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200212100350.gBA3om816842@candle.pha.pa.us

 · 

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-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, spinler@kmtel.com
  Subject: Re: Insuring consistant backups
  In-Reply-To: <200212100350.gBA3om816842@candle.pha.pa.us>
  References: <1039491185.3df560710c432@www.kmtel.com> <200212100350.gBA3om816842@candle.pha.pa.us>

* 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