X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id F27F79FA502 for ; Fri, 18 Aug 2006 16:45:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 83209-08 for ; Fri, 18 Aug 2006 16:45:11 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from wolff.to (wolff.to [66.93.197.194]) by postgresql.org (Postfix) with SMTP id A86269FB227 for ; Fri, 18 Aug 2006 16:45:10 -0300 (ADT) Received: (qmail 2307 invoked by uid 500); 18 Aug 2006 19:52:21 -0000 Date: Fri, 18 Aug 2006 14:52:21 -0500 From: Bruno Wolff III To: arsi@aranzo.netg.se Cc: pgsql-admin@postgresql.org Subject: Re: Restoring database question.. Message-ID: <20060818195221.GA1502@wolff.to> Mail-Followup-To: Bruno Wolff III , arsi@aranzo.netg.se, pgsql-admin@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.033 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200608/225 X-Sequence-Number: 22768 On Sat, Aug 12, 2006 at 19:58:52 +0200, arsi@aranzo.netg.se wrote: > > My question is as follows, is it possible to simply copy the data files > to their correct location and getting access to the databases as they > looked at the time of the hacking attempt? > I should have the exact same setup before the hack as after, no version > changes or anything. If the database was running when the files were backed up, then just copying them over is very unlikely to work. > Or do I simply have to count my losses and restore from an old backup?? This is probably your best option.