Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 194E7633952 for ; Wed, 4 Mar 2009 18:10:00 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 49899-02 for ; Wed, 4 Mar 2009 18:09:57 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail136055.authsmtp.co.uk (outmail136055.authsmtp.co.uk [62.13.136.55]) by mail.postgresql.org (Postfix) with ESMTP id 011796326B5 for ; Wed, 4 Mar 2009 18:09:56 -0400 (AST) Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt9.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n24M9rnN026859; Wed, 4 Mar 2009 22:09:53 GMT Received: from [192.168.0.3] (85-211-101-172.dyn.gotadsl.co.uk [85.211.101.172]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n24M9pTG073646; Wed, 4 Mar 2009 22:09:51 GMT Subject: Re: Postgressql backup/restore question From: Simon Riggs To: Tom Lane Cc: Peter Eisentraut , samana srikanth , pgsql-admin@postgresql.org In-Reply-To: <7123.1236202022@sss.pgh.pa.us> References: <49AE8958.3070909@gmx.net> <1236198515.31880.108.camel@ebony.2ndQuadrant> <6347.1236199034@sss.pgh.pa.us> <1236200757.31880.116.camel@ebony.2ndQuadrant> <7123.1236202022@sss.pgh.pa.us> Content-Type: text/plain Date: Wed, 04 Mar 2009 22:13:50 +0000 Message-Id: <1236204830.31880.122.camel@ebony.2ndQuadrant> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Server-Quench: 2f6a3115-0909-11de-8156-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksachtFaAFbYFhD HGQLW11EUl97WWp/ bggfZQBDYEtPQQRq UVZIRVBNFgBqBAMB SEAcVmR7N2ExeHlz Y0JkEHFfXkA0dxB7 E01VFGgbZW5gYX0e URQNagtVdQVXfh9E a1h6AHAKZjZWKBg1 TUcAFhwUHBNqYBxS WR0CN18JWl8PVjQ1 TBMfBXI1EFYZQD8+ ZwU7J0UAHUEXWicA X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:1378/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/67 X-Sequence-Number: 31567 On Wed, 2009-03-04 at 16:27 -0500, Tom Lane wrote: > Simon Riggs writes: > > On Wed, 2009-03-04 at 15:37 -0500, Tom Lane wrote: > >> It's not as easy as all that. What will you do with updates to shared > >> catalogs? > > > Apply them. > > ... which leaves your other databases in inconsistent states. Which is not a problem if you didn't want to restore them in the first place. You might complain that we would need safeguards to protect people from trying to access non-restored databases and then failing to understand why they aren't there. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support