pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcus Better <marcus@better.se>
To: psql-admin@postgresql.org
Subject: Restoring database from alternative location
Date: Tue, 11 Oct 2005 20:12:40 +0200
Message-ID: <434C0098.1010300@better.se> (raw)

Hi all,

I used initlocation to create a database in some directory other than
the default, with Postgresl 7.4. I have a file-system level backup of
this data directory, but the main data directory (which did not contain
any real data) was lost.

Is there a way to restore the database from this backup?

The backed-up directory has the following layout:
  base
  base/17142
  base/17142/{lots of files here}

Can I add this data directory to a fresh Postgresql installation? I
would be very grateful for any comments on this problem!

I am running Postgresql 7.4 on Debian i386.

Please CC replies to me, since I'm not (yet) subscribed to the list.

Regards,

Marcus B.



Message-ID: <434C0098.1010300@better.se>
Permalink:  ../434C0098.1010300@better.se/
Also on:    postgresql.org/message-id/434C0098.1010300@better.se

 · 

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: marcus@better.se, psql-admin@postgresql.org
  Subject: Re: Restoring database from alternative location
  In-Reply-To: <434C0098.1010300@better.se>
  References: <434C0098.1010300@better.se>

* 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