Page 1 of 1

How do I change database folder?

PostPosted: Mon Mar 16, 2015 2:33 am
by vitormilagres
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

Re: How do I change database folder?

PostPosted: Mon Mar 16, 2015 4:23 am
by WhiteRider
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.

highfalutin