X-Original-To: pgsql-admin@postgresql.org Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id C7DD2476237 for ; Mon, 17 Mar 2003 09:45:28 -0500 (EST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h2HFIN6P004318; Mon, 17 Mar 2003 10:18:23 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h2HEjLp20185; Mon, 17 Mar 2003 09:45:21 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id F3HTJWCW; Mon, 17 Mar 2003 09:45:20 -0500 Subject: Re: DB archiving From: Robert Treat To: Victor Yegorov Cc: pgsql-admin@postgresql.org In-Reply-To: <20030317103331.GM7181@pirmabanka.lv> References: <20030317103331.GM7181@pirmabanka.lv> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 17 Mar 2003 09:45:20 -0500 Message-Id: <1047912320.23066.1281.camel@camel> Mime-Version: 1.0 X-Archive-Number: 200303/256 X-Sequence-Number: 7896 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