the SQL Restoration

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

the SQL Restoration

Postby wangloveyu » Tue Nov 01, 2011 8:59 am

Before I re-install the system, forgot to back up SQL databases, so cause of the current database can not be used. Is there any way to restore the SQL database?



PS: I'm very sorry for my English, it is too bad .[code][/code] :( :( :( :( :(
wangloveyu
 
Posts: 9
Joined: Thu Jan 06, 2011 7:29 am

Re: the SQL Restoration

Postby kraada » Tue Nov 01, 2011 9:07 am

Do you still have your original hand histories? Did you backup the database through PT3?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: the SQL Restoration

Postby wangloveyu » Thu Nov 03, 2011 9:02 am

Do you still have your original hand histories?

A: NO

Did you backup the database through PT3?

A: NO I forgot to backup my database through PT3! but I have the old database files
wangloveyu
 
Posts: 9
Joined: Thu Jan 06, 2011 7:29 am

Re: the SQL Restoration

Postby kraada » Thu Nov 03, 2011 10:17 am

Do you have the entire PostgreSQL folder then?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: the SQL Restoration

Postby wangloveyu » Thu Nov 03, 2011 10:22 am

Do you have the entire PostgreSQL folder then?

A: yes I have it . I have the folder which name is "data" the size is 13G
wangloveyu
 
Posts: 9
Joined: Thu Jan 06, 2011 7:29 am

Re: the SQL Restoration

Postby kraada » Thu Nov 03, 2011 10:58 am

Ok in that case, all you should need to do is install PostgreSQL manually and point it to that folder - once you do that when you restart PostgreSQL everything should connect properly.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: the SQL Restoration

Postby wangloveyu » Fri Nov 04, 2011 10:26 am

sorry , I did that like you said to re-install the SQL8.3,but it tell me this "the existing data directory (data/time setting:floating-point numbers)is not compatible with this server(data/time setting:64-bit integers)" what's the matter?

PS:The original database is installed in the XP system, but now I use windows7 32-bit

Image
wangloveyu
 
Posts: 9
Joined: Thu Jan 06, 2011 7:29 am

Re: the SQL Restoration

Postby kraada » Fri Nov 04, 2011 11:18 am

In that case you need to use the one click installer (same major version though - 8.3) and then it should work with that data directory.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: the SQL Restoration

Postby wangloveyu » Fri Nov 04, 2011 12:51 pm

it's still not working. what's the meaning of "one click installer"? if I have the Program which named postgresql-8.4.9-1-windows.exe. and I click this program and install it . is that right ? but I chose the data folder like you said it has a same error.
wangloveyu
 
Posts: 9
Joined: Thu Jan 06, 2011 7:29 am

Re: the SQL Restoration

Postby tarix » Fri Nov 04, 2011 1:40 pm

You actually need the pgInstaller. The One Click Installer from Enterprise DB will not work on your old data.

You can download 3.8.16 from here.
tarix
Developer
 
Posts: 3760
Joined: Tue May 20, 2008 2:49 pm

Next

Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 22 guests

cron