pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naomi Walker <nwalker@eldocomp.com>
To: manav <manav@glue.umd.edu>
To: pgsql-admin@postgresql.org
Subject: Re: Filesystem Backup
Date: Mon, 04 Feb 2002 09:28:47 -0700
Message-ID: <4.2.2.20020204092555.00abeac0@ecint.ecinet.com> (raw)
In-Reply-To: <002401c1acba$5745c7d0$d418fea9@cp335088a>


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 

view thread (4+ messages)  latest in thread

Message-ID: <4.2.2.20020204092555.00abeac0@ecint.ecinet.com>
Permalink:  ../4.2.2.20020204092555.00abeac0@ecint.ecinet.com/
Also on:    postgresql.org/message-id/4.2.2.20020204092555.00abeac0@ecint.ecinet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nwalker@eldocomp.com, manav@glue.umd.edu
  Subject: Re: Filesystem Backup
  In-Reply-To: <4.2.2.20020204092555.00abeac0@ecint.ecinet.com>
  References: <002401c1acba$5745c7d0$d418fea9@cp335088a> <4.2.2.20020204092555.00abeac0@ecint.ecinet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox