pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: FM <dist-list@lexum.umontreal.ca>
Cc: Mailing List Postgres-Admin <pgsql-admin@postgresql.org>
Subject: Re: backing up without lock ?
Date: Mon, 18 Jul 2005 12:51:42 -0500
Message-ID: <1121709102.8208.327.camel@state.g2switchworks.com> (raw)
In-Reply-To: <42DBE61D.9030500@lexum.umontreal.ca>
References: <42DBE61D.9030500@lexum.umontreal.ca>

On Mon, 2005-07-18 at 12:25, FM wrote:
> Hello,
> Is it possible to backup postgresql databases  without locking tables.

Yes and no.

No, it's actually possible to backup postgresql without a lock.

However, it's an access shared lock, so it's not a blocking lock.

Also, the backup is coherent for a whole database at the point in time
the backup was initiated.

http://www.postgresql.org/docs/8.0/static/app-pgdump.html



view thread (5+ messages)  latest in thread

Message-ID: <1121709102.8208.327.camel@state.g2switchworks.com>
Permalink:  ../1121709102.8208.327.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1121709102.8208.327.camel@state.g2switchworks.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-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, dist-list@lexum.umontreal.ca
  Subject: Re: backing up without lock ?
  In-Reply-To: <1121709102.8208.327.camel@state.g2switchworks.com>
  References: <42DBE61D.9030500@lexum.umontreal.ca> <1121709102.8208.327.camel@state.g2switchworks.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