Importing old database?

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

Importing old database?

Postby ToTMidiaN » Wed Apr 23, 2008 5:11 pm

Hi there I accidentally deleted my pokertracker whilst cleaning out my hard drive (it was almost full), so I've had to reinstall. Now my databases are gone and I'm wondering if there's any way I can reimport the PostgreSQL databases I had previously into the new installation of PokerTracker? I'm sure the databases still exist as when I tried to create a new PostgreSQL database under the same name it said it already exists, I just can't find how to get the database back into PT. Help pls!
ToTMidiaN
 
Posts: 2
Joined: Wed Apr 23, 2008 12:03 pm

Re: Importing old database?

Postby ptrack pat » Wed Apr 23, 2008 8:06 pm

Open the File > Maintain Database Names window.
Click the Add button.
Enter a description and then in the last field choose "Select existing PostgreSQL Database" from the list.
This should open a window with the PostgreSQL databases that you can select from.
You would have to do this for each PostgreSQL database you had.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Importing old database?

Postby ToTMidiaN » Thu Apr 24, 2008 7:52 am

That worked perfectly, ty very much. Also one more thing... How do I completely remove a PostgreSQL database from my hard drive? I have lots more databases available than I realised but don't want them as they are just taking up space.
ToTMidiaN
 
Posts: 2
Joined: Wed Apr 23, 2008 12:03 pm

Re: Importing old database?

Postby ptrack pat » Thu Apr 24, 2008 8:54 am

On the Utilities > PostgreSQL Database Functions window is a section that allows you to delete databases that are no longer configured on the Maintain Database Names window.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 0 guests