Installed new postgres v8.3 and lost my DB????

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

Installed new postgres v8.3 and lost my DB????

Postby ffrllc » Thu Oct 23, 2008 2:39 pm

I had the connection issue similar to others where PT3 would no longer connect to my postgres DB. I searched this forum and came up with the solution to:

1.) Save your "data" folder. You can find it in C:\Program Files\PostgreSQL\8.3.
2.) Uninstall postgresql completely and delete everything under C:\Program Files\PostgreSQL\8.3. EXCEPT the data folder.
3.) Install PostgreSQL again, but untick "Initialize Database cluster".
4.) click on "connect" again and it should work


I did that, but now PT3 is unable to connect to my DB as it says it does not exist. The connection issue with postgres seems to be resolved, but my previous PT3 DB's seem to be missing. How can I get all my data back into my DB?
ffrllc
 
Posts: 72
Joined: Thu Feb 14, 2008 7:29 pm

Re: Installed new postgres v8.3 and lost my DB????

Postby WhiteRider » Thu Oct 23, 2008 3:26 pm

In PT3 go to DAtabase -> Database Management and click New, then check the 'this database exists' option and browse to find your old database.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Installed new postgres v8.3 and lost my DB????

Postby ffrllc » Thu Oct 23, 2008 3:53 pm

It says no PT3 databases found when I search.
ffrllc
 
Posts: 72
Joined: Thu Feb 14, 2008 7:29 pm

Re: Installed new postgres v8.3 and lost my DB????

Postby WhiteRider » Thu Oct 23, 2008 4:16 pm

I'll get someone who knows more about postgres to take a look.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Installed new postgres v8.3 and lost my DB????

Postby kraada » Thu Oct 23, 2008 4:19 pm

Click Start --> Programs --> PostgreSQL --> Psql to 'template1'

At the command prompt type:
Code: Select all
\l
and hit enter. Do you see your PT3 db there?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Installed new postgres v8.3 and lost my DB????

Postby ffrllc » Thu Oct 23, 2008 5:15 pm

Hmmm, I must have installed "Postgresql Plus" and not just the basic Postgresql. I unistalled/deleted postgresql plus and have been trying to re-install just the basic postgresql v8.3 and can't seem to connect to the download page on www.postgresql.org

I also haven't been able to find another mirror site to download from.


While trying to download from www.postgresql.org, I can get to the download page for win32 file of postgresql-8.3.4-1.zip, but when I click on that to download I get an error message as I can't connect to that download page/file.


Is there another site I can download this from? Each one I have found links me back to that same page on the www.postgresql.org site.
ffrllc
 
Posts: 72
Joined: Thu Feb 14, 2008 7:29 pm

Re: Installed new postgres v8.3 and lost my DB????

Postby WhiteRider » Thu Oct 23, 2008 5:41 pm

Hmm, no I can't get it to download at the moment either. I'm not sure where else to get it from, so try again later - if you still can't get it to download, bump this thread and I'll see if anyone else knows.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Installed new postgres v8.3 and lost my DB????

Postby ffrllc » Thu Oct 23, 2008 6:47 pm

Ok, I was able to get the standard postgresql v8.3 installed. After installing this I'm still unable to brows for my old databases. When I try I get the following error:


Image



It seems the server is closing the connection for some reason???
ffrllc
 
Posts: 72
Joined: Thu Feb 14, 2008 7:29 pm

Re: Installed new postgres v8.3 and lost my DB????

Postby ffrllc » Fri Oct 24, 2008 12:28 am

Any idea what I should try next?

Thanks.
ffrllc
 
Posts: 72
Joined: Thu Feb 14, 2008 7:29 pm

Re: Installed new postgres v8.3 and lost my DB????

Postby WhiteRider » Fri Oct 24, 2008 4:21 am

Please select the last few files in C:\Program Files\PostgreSQL\8.3\data\pg_log (they're dated so just pick the recent ones), right-click and choose 'Send To Compressed/zipped Folder', then attach the zip file to a ticket on the Support system, and link to this thread in the reference field of the ticket so that we can investigate.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Next

Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 8 guests

cron