pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Victor Yegorov <viy@pirmabanka.lv>
Cc: pgsql-admin@postgresql.org
Subject: Re: DB archiving
Date: 17 Mar 2003 09:45:20 -0500
Message-ID: <1047912320.23066.1281.camel@camel> (raw)
In-Reply-To: <20030317103331.GM7181@pirmabanka.lv>
References: <20030317103331.GM7181@pirmabanka.lv>

This is exactly the way pg_dump works. Essentially when you pg_dump, you
get a "snapshot" of your database at the moment you start pg_dump. While
other transaction can be occuring during your dump, the dump wont see
them thanks to MVCC.

Robert Treat

On Mon, 2003-03-17 at 05:33, Victor Yegorov wrote:
> Hello.
> 
> I was speaking with my colleague about PostgreSQL maintenance and he
> asked
> me a question which I wasn't able to answer.
> 
> Is it possible to make a full DB backup (one database, say 'test')
> online
> and be sure, that after restoring it it'll contain ALL and ONLY data at
> the
> time of backuping routine start.
> 
> I want to be sure, that nothing additional will get into dump after I'll
> start pg_dump.
> 
> Is this possible? Or, may be, such behaviour is on by default (I
> didn't find anything concerning my problem in the docs about pg_dump).
> 
> Thank you.
> 
> -- 
> 
> Victor Yegorov






view thread (4+ messages)  latest in thread

Message-ID: <1047912320.23066.1281.camel@camel>
Permalink:  ../1047912320.23066.1281.camel@camel/
Also on:    postgresql.org/message-id/1047912320.23066.1281.camel@camel

 · 

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: xzilla@users.sourceforge.net, viy@pirmabanka.lv
  Subject: Re: DB archiving
  In-Reply-To: <1047912320.23066.1281.camel@camel>
  References: <20030317103331.GM7181@pirmabanka.lv> <1047912320.23066.1281.camel@camel>

* 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