X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2C9BA529F2 for ; Mon, 18 Jul 2005 14:51:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14843-04 for ; Mon, 18 Jul 2005 17:51:42 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id 75DC8528A6 for ; Mon, 18 Jul 2005 14:51:41 -0300 (ADT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 18 Jul 2005 12:51:42 -0500 Subject: Re: backing up without lock ? From: Scott Marlowe To: FM Cc: Mailing List Postgres-Admin In-Reply-To: <42DBE61D.9030500@lexum.umontreal.ca> References: <42DBE61D.9030500@lexum.umontreal.ca> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1121709102.8208.327.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 18 Jul 2005 12:51:42 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/122 X-Sequence-Number: 18178 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