Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2F1694764E2 for ; Mon, 9 Dec 2002 22:51:54 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 0467B4763C9 for ; Mon, 9 Dec 2002 22:50:50 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id gBA3om816842; Mon, 9 Dec 2002 22:50:48 -0500 (EST) From: Bruce Momjian Message-Id: <200212100350.gBA3om816842@candle.pha.pa.us> Subject: Re: Insuring consistant backups In-Reply-To: <1039491185.3df560710c432@www.kmtel.com> To: spinler@kmtel.com Date: Mon, 9 Dec 2002 22:50:48 -0500 (EST) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/108 X-Sequence-Number: 6603 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