How do I change database folder?

A special forum dedicated to our PT4 for Mac OS X users

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

How do I change database folder?

Postby vitormilagres » Mon Mar 16, 2015 2:33 am

Hey guys
I play Pokerstars and I am trying to change the location where ALL THE INFORMATION is saved on my computer.
So, for example, I have already adjusted Pokerstars to have my hand history in a specific folder I picked (which is different from what I had before)
But now, how do I change the location for the database?
the default location for the database was (i believe) USER/Library/Application Support/PokerTracker 4/
this is where all the info for the graphs and my opponents was saved
but now, how can I change it in a way that the computer would know that the default location is (for example) my Dropbox folder?
i have already copied the folder PokerTracker 4 to my Dropbox folder
but now how do I tell pokertracker that it should be using the new location, and that it should completely forget about the previous location?
if i do that, will i lose my previous graphs and opponent info?

thank you
vitormilagres
 
Posts: 18
Joined: Fri Mar 06, 2015 7:48 pm

Re: How do I change database folder?

Postby WhiteRider » Mon Mar 16, 2015 4:23 am

You can't just move your database - PostgreSQL manages where the files which make up your database are kept.
What you would need to do is make a Backup of your database, then uninstall and reinstall PostgreSQL (Guides here) to the new location, and restore your backup.

I'm not sure it would be a good idea to put your database in Dropbox - PostgreSQL updates its database files a lot, and every single update would trigger a Dropbox change and this may affect performance. There is also a danger of files getting out of sync and corrupting your data.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PT4 for macOS

Who is online

Users browsing this forum: No registered users and 54 guests

cron
highfalutin