Received: from po3.glue.umd.edu (po3.glue.umd.edu [128.8.10.123]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g150Twl81270 for ; Mon, 4 Feb 2002 19:29:58 -0500 (EST) (envelope-from manav@glue.umd.edu) Received: from cp335088a (bay7-39.dial.umd.edu [128.8.23.167]) by po3.glue.umd.edu (8.10.1/8.10.1) with ESMTP id g150TtA11997 for ; Mon, 4 Feb 2002 19:30:00 -0500 (EST) From: "manav" To: Subject: Re: Filesystem Backup Date: Mon, 4 Feb 2002 19:28:44 -0500 Message-ID: <000501c1addc$14a14c10$1101a8c0@cp335088a> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200202/23 X-Sequence-Number: 3185 Well the pg_dump(all) utils give a version mismatch, I guess my DB is 7.1.3 and the utils are some other version (how do I check the versions correctly?) dunno how that happened. How can I upgrade the utils and leave the DB engine untouched? It's a redhat linux box so rpms would be preferrd. Thanks for the response, and yes I made sure the server went down before I did the fs backup. sonny "Naomi Walker" wrote in message news:<4.2.2.20020204092555.00abeac0@ecint.ecinet.com>... > --=====================_405291708==_.ALT > Content-Type: text/plain; charset="us-ascii"; format=flowed > > > If I understand correctly, the only time a pure file system restore > would > work to put back your data was if the instance was down when the file > systems were backed up. Otherwise, pg_dump of a database, or pg_dumpall of > the whole instance would be necessary. > > If you were doing this for some other reason, this might not pertain. > What > started this adventure? > > At 08:54 AM 2/3/02 -0500, manav wrote: > > >Hello All, > > > > > > > >I am in a fix and need help. I am reinstalling postgresql server on > >my > >linux workstation and\ I did a filesystem backup of ../pgsql/data/*, but > >when I deleted the data directory and reconstructed it from my backup > >(without the reinstall, just to check if things would work) I started > >seeing errors (I mv' the data directory twice...) > > > >The first error was "postmaster.opt.default not found in > >../pgsql/data/postmaster.opt.default' and when I created an empty file it > >said '../pgsql/data/base/template1/pg_class not found'. > > > > > > > >Am I missing something? are there any other steps to a filesystem > >backup? > > > > > > > >-sonny > > -- > Naomi Walker > Chief Information Officer > Eldorado Computing, Inc. > 602-604-3100 ext 242 > --=====================_405291708==_.ALT > Content-Type: text/html; charset="us-ascii" > > >
> If I understand correctly, the only time a pure file system restore > would work to put back your data was if the instance was down when the > file systems were backed up.  Otherwise, pg_dump of a database, > or pg_dumpall of the whole instance would be necessary. 
>
If you were doing this for some other reason, this might not > pertain.  What started this adventure?
>
> At 08:54 AM 2/3/02 -0500, manav wrote:
>
>
Hello All,
>

>  
>
> I am in a fix and need help. I am reinstalling postgresql server on my > linux workstation and\ I did a filesystem backup of ../pgsql/data/*, but > when I deleted the data directory and reconstructed it from my backup > (without the reinstall, just to check if things would work) I started > seeing errors (I mv' the data directory twice...)
>
> The first error was "postmaster.opt.default not found in > ../pgsql/data/postmaster.opt.default' and when I created an empty file it > said '../pgsql/data/base/template1/pg_class not found'.
>
>  
>
> Am I missing something? are there any other steps to a filesystem > backup?
>
>  
>
> -sonny

>
--
>
Naomi Walker
>
Chief Information Officer
>
Eldorado Computing, Inc.
> 602-604-3100  ext 242 > > > --=====================_405291708==_.ALT-- >