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 5A558D1B47D for ; Tue, 9 Dec 2003 17:19:30 +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 72187-07 for ; Tue, 9 Dec 2003 13:18:59 -0400 (AST) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id 8CA21D1B4AD for ; Tue, 9 Dec 2003 13:18:58 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id 10621562CC; Tue, 9 Dec 2003 18:18:58 +0100 (CET) Received: from 192.168.2.126 (dsl-213-023-254-243.arcor-ip.net [213.23.254.243]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id 5C620562CB; Tue, 9 Dec 2003 18:18:57 +0100 (CET) From: Peter Eisentraut To: Jodi Kanter Subject: Re: lost database Date: Tue, 9 Dec 2003 18:18:55 +0100 User-Agent: KMail/1.5.4 Cc: Postgres Admin List References: <3FD5F45F.6070309@virginia.edu> <200312091744.12260.peter_e@gmx.net> <3FD603B1.6020808@virginia.edu> In-Reply-To: <3FD603B1.6020808@virginia.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312091818.55401.peter_e@gmx.net> X-Virus-Scanned: by AMaViS X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/112 X-Sequence-Number: 11620 Jodi Kanter wrote: > I am not sure I understand your question. why does the type of backup > matter? It is a tape backup and it includes the entire /var directory > where the pgsql directory exists. That was the missing piece of information. > I am trying to determine what > particular files need to be retrieved in order to restore the > database as it existed yesterday. Is this possible? > Thanks for the assistance. Shut down the server if still running, put back the entire data directory (probably /var/lib/pgsql in your case), and start the server. Partial restoration is not possibly from file system backup.