X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 08861D1C9BE for ; Sun, 10 Aug 2003 03:47:03 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 14041-04 for ; Sun, 10 Aug 2003 00:45:35 -0300 (ADT) Received: from news.hub.org (news.hub.org [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id 71CFFD1F462 for ; Sat, 9 Aug 2003 23:07:26 -0300 (ADT) Received: from news.hub.org (news.hub.org [64.117.224.194]) by news.hub.org (8.12.9/8.12.9) with ESMTP id h7A27Pw6020446 for ; Sun, 10 Aug 2003 02:07:26 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h7A1wJC6018454 for pgsql-admin@postgresql.org; Sun, 10 Aug 2003 01:58:19 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Backup routine Date: Sat, 09 Aug 2003 21:19:10 -0400 Organization: cbbrowne Computing Inc Lines: 26 Message-ID: References: <000c01c35dd6$d62b43d0$e205000a@compaq> <200308091711.31439.peterandsarah@blueyonder.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org X-message-flag: Outlook is rather hackable, isn't it? X-Home-Page: http://www.cbbrowne.com/info/ X-Affero: http://svcs.affero.net/rm.php?r=cbbrowne X-Emacs-Acronym: Elsewhere Maybe Alternative Civilizations Survive Microsoft: Where even the version numbers aren't Y2K-compliant X-Uboat-Death-Message: TORPEDOED BY ATOMIC BOMB. DEPTH CHARGES. SINKING. U-539. User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, linux) Cancel-Lock: sha1:I83uD7JkOkdU+n2sNeIg8CvDd/U= To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/133 X-Sequence-Number: 9855 The world rejoiced as peterandsarah@blueyonder.co.uk (Peter and Sarah Childs) wrote: > However there is a third way. That should be safe but some > people may disagree with me! If you can "freeze" the disk while you > take the backup. The backup can be used as if the computer had > crashed with no hard disk failure at all. Ie WAL will be consistant > and database may take longer but once it is up it will be safe (like > paragaph 1). Now freezeing a disk for backup is not that > difficult. You should be doing it anyway for user file > consistancy. (You don't want the first 30 pages of you document to > disagree with the end because somone was saving it during the > backup! I heard D'Arcy Cain indicate that some SAN systems (I think he mentioned NetApp) support this sort of thing, too. Digital's AdvFS also supports it. Of course, if you take this approach, you have to make _certain_ that when you "freeze" a replica of a filesystem, that _ALL_ of the database is contained in that one filesystem. If you move WAL to a different filesystem, bets would be off again... -- let name="cbbrowne" and tld="ntlug.org" in String.concat "@" [name;tld];; http://www3.sympatico.ca/cbbrowne/ The real problem with the the year 2000 is that there are too many zero bits and that adversely affects the global bit density. -- Boyd Roberts