Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4VSb-0004Ch-Mq for pgsql-general@arkaria.postgresql.org; Wed, 31 Jul 2013 12:24:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V4VSb-0000P1-3F for pgsql-general@arkaria.postgresql.org; Wed, 31 Jul 2013 12:24:57 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4VSZ-0000Oq-Gu for pgsql-general@postgresql.org; Wed, 31 Jul 2013 12:24:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4VST-0008PP-H6 for pgsql-general@postgresql.org; Wed, 31 Jul 2013 12:24:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id r6VCOk49010907; Wed, 31 Jul 2013 08:24:46 -0400 From: Tom Lane To: Alban Hertroys cc: Jeff Janes , James Sewell , "pgsql-general@postgresql.org" Subject: Re: Snapshot backups In-reply-to: <2EB17B60-33A2-4855-A176-0E8DD16ED7E1@gmail.com> References: <8810.1375247630@sss.pgh.pa.us> <2EB17B60-33A2-4855-A176-0E8DD16ED7E1@gmail.com> Comments: In-reply-to Alban Hertroys message dated "Wed, 31 Jul 2013 12:39:07 +0200" Date: Wed, 31 Jul 2013 08:24:46 -0400 Message-ID: <10906.1375273486@sss.pgh.pa.us> X-Pg-Spam-Score: -1.5 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Alban Hertroys writes: > That begs the question what happens in case of a crash or (worse) a partial crash when multiple file systems are involved. As long as the OS+hardware honors the contract of fsync(), everything's fine. If the storage system loses data that it claims to have fsync'd to stable storage, there's not much we can do about that, except recommend that you have a backup plan. In practice, the more complicated your storage infrastructure is, the more likely it is to have bugs ... regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general