EDIT: Again, PT3 now has backup and restore functionality built in so you should restore your databases in the same way that you backed them up.With PostgreSQL now installed on your hotswap drive, go to Start -> Computer -> C: -> Program Files -> Pokertracker 3 -> Data -> Config. Right click on -> Pokertracker.cfg -> open with… and select Notepad.
Scroll until you find the section labeled “[Database]”.
You need to remove any part of this section of the config file which starts with DB#.
In my screenshot here, you can see I have two databases.
However, you need to remember the PostgreSQL database name. My DB1’s name is massivedb50nlftp and DB2 is pstars_micro.
One you have your database names written down, remove these lines from the document and save it. If you get an error when trying to save it that says it cannot find the path, then you are in Vista. You need to save the file on your desktop, then drag it back into your config folder in Pokertracker 3 to overwrite this file.
Once edited, saved, and in the config folder, you can start up PT3 again. When you start it this time, it will want to create a database right off the bat.
Name this database the name of one of your previous databases (I am going to name my pstars_micro).
Once created, close pt3.
Now go to Start -> Programs -> PostgreSQL -> pgAdmin III.
Double click on your server, put in the password (dbpass), then click on Databases and right click on the database you just created (in my case pstars_micro) and choose Restore. Click on the “…” button and select the backup file you made of this database before uninstalling PostgreSQL. If you get an exit code of “1” you are okay.
Now run PT3 again. You should now have your database restored. To restore any other PT3 databases you have, click on Database -> Database Management, then click on New. Name it the same name it was before, have PT3 create it, then close PT3 and do the same steps above to restore that database.