restoring an old database to a new instance -- possible ? - Mailing list pgsql-admin

From Gregory S. Williamson
Subject restoring an old database to a new instance -- possible ?
Date
Msg-id 71E37EF6B7DCC1499CEA0316A2568328024BB760@loki.wc.globexplorer.net
Whole thread Raw
Responses Re: restoring an old database to a new instance -- possible ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Using PostSQL 7.4 on a linux server, we have one postgres instance with two databases, "gex_runtime" and "mq_geoloc."
Wehad a mishap in which we ran out of disk space. The failure occured in writing to the gex_runtime database. 

Then an unfortunate slip of an admin's keyboard led to the deletion of the gex_runtime data itself under the $PGDATA
directory.As far as I can tell the mq_geoloc database files (about 3 gigs worth) were undamaged. 

We moved the mq_geoloc files to a safe location, and now have taken a copy of the runtime database from another server
andrecreated our server as far as the runtime database goes. 

My question is whether there is anyway of retrieving the old geoloc database ? Or is my reading of these files total
out-of-linewith reality ? 

If not it's not a crisis -- just a matter of time rebuilding table and reindexing it, but if there's a faster way I'd
bewilling to try it. 

Thanks for your time,

Greg Williamson
DBA
GlobeXplorer LLC

pgsql-admin by date:

Previous
From: "Ramesh Patel"
Date:
Subject: Problem in restore data
Next
From: Ian FREISLICH
Date:
Subject: Schema authorization after create database.