Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Retore Postgres...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4901 of 5123
Post > Topic >>

Retore Postgres DB without dump

by Philippe.Baudrion@[EMAIL PROTECTED] (Baudrion Philippe) Apr 11, 2008 at 04:14 PM

Hello all,
I had a look at your last year archive without finding my solution, but 
I suppose it's a common problem.
I am trying to restore an old database from their relations files, I 
don't have any dump, is it possible and how ?

System information:
Original - db: Postgres v.7.4, OS: Linux Mandriva 2006
Current - db: Postgres v.8.1.11, OS: Suse SLES10sp1

What I have tried is :
- To copy the files directly in an empyty db, I got a message like this 
when trying to connect: "Error: wrong files version, these are 7.4 files 
version and you are running 8.1"
- So, I have build and installed a 7.4 version of Postgres
- Copy the files in an empty database
- Connection was ok, but "\dt" told me "no relations found".

What can I try next ?
I also have the original "pg_clog" and "pg_xlog" directories, and I have 
also tried to replace them. What can I do with the WAL segments ?

Thanks for your help,
Philippe

-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin




 4 Posts in Topic:
Retore Postgres DB without dump
Philippe.Baudrion@[EMAIL   2008-04-11 16:14:05 
Re: Retore Postgres DB without dump
ajs@[EMAIL PROTECTED] (A  2008-04-11 12:40:16 
Re: Retore Postgres DB without dump
pgsql@[EMAIL PROTECTED]   2008-04-12 02:20:53 
Re: Retore Postgres DB without dump
Philippe.Baudrion@[EMAIL   2008-04-14 10:58:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 14:40:33 CDT 2008.