There isn't a detailed guide for this when you don't have a backup file created by PokerTracker 4. If the 'data' folder you have was created using a 64-bit version of PostgreSQL v9.3 then you would need to use
this installer. Copy the directory you have on your removable drive to your computer so you have this:
C:\Program Files\PostgreSQL\9.3\data
Right-click the PostgreSQL installer file and run as administrator. For the two password boxes you can use "dbpass" which is what PokerTracker 4 uses by default. When running the PostgreSQL installer to the default location it should recognise the existing 'data' directory. Take note whether the installer says it completes successfully or not. When the installer says it's finished, take the check mark out of the "Stack Builder" option and click the "Finish" button. If PostgreSQL installs sucessfully you can add the existing database(s) to your PokerTracker 4 configuration via 'Database -> Database Management -> New -> Browse Databases'.
If the PostgreSQL installer does not complete successully send us this file in a
Support Ticket with a link to this thread:
C:\Users\{Windows Username}\AppData\Local\Temp\install-postgresql.log
If you do not see the AppData folder in Windows File Explorer then please refer to
this guide.