X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8B3FAD1B444 for ; Tue, 2 Dec 2003 19:58:57 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 85767-08 for ; Tue, 2 Dec 2003 15:58:32 -0400 (AST) Received: from web21407.mail.yahoo.com (web21407.mail.yahoo.com [216.136.232.77]) by svr1.postgresql.org (Postfix) with SMTP id 28173D1B432 for ; Tue, 2 Dec 2003 15:58:26 -0400 (AST) Message-ID: <20031202195830.54576.qmail@web21407.mail.yahoo.com> Received: from [64.81.205.234] by web21407.mail.yahoo.com via HTTP; Tue, 02 Dec 2003 11:58:30 PST Date: Tue, 2 Dec 2003 11:58:30 -0800 (PST) From: ow Subject: pg_dump and schemas To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/13 X-Sequence-Number: 11521 pgSql 7.4.0 Hi, Suppose, there are two (2) schemas in the database: schemaA and schemaB. schemaA is relatively small and updated all the time, schemaB is huge and updated occasionally, maybe several times a day. The whole database, with schemaA and schemaB, is dumped once a week, say Sunday, and schemaA is also dumped every night. The whole db cannot be backed up every night due to lack of time. Say, on Thursday, it was determined that db is corrupt and we need to restore it from backups. We'll take Sunday's dump of the whole database and then try to apply Wednesday's dump of schemaA to it. I guess we'll also need Wednesday's pg_catalog schema dump? I wonder if the above approach will lead to problems since the state of schemaB is from Sunday but schemaA and, most importantly, pg_catalog schema, is from Wednesday. schemaB may have been updated between Sunday and Wednesday. Any ideas? Thanks __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/