Database Restore from a Windows comp to a Mac

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Database Restore from a Windows comp to a Mac

Postby supersplitz » Sun Jan 25, 2015 9:23 am

Hi,

Before I left my Windows based desktop at home I backed up my database and then uploaded it to google drive. I then bought a Macbook Pro and am trying to restore the database on my new computer but am occuring some problems.

When I go to restore the file it won’t let me select the zipped folder. I don’t know if this is a Mac thing or what so I compressed the file again so it was back in Zip file that PT4 would recognize and click on it to restore it it gives me this: “Invalid TOC”.

Any help in solving this matter would greatly be appreciated!
supersplitz
 
Posts: 32
Joined: Tue Feb 05, 2013 1:47 pm

Re: Database Restore from a Windows comp to a Mac

Postby kraada » Sun Jan 25, 2015 11:17 am

Don't uncompress the file - the backup file is the zip file - choose the zip file without extracting and it should work.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Database Restore from a Windows comp to a Mac

Postby supersplitz » Mon Jan 26, 2015 6:38 pm

Aghh it almost worked… I chose the unpacked zip file and the restore part mostly went through (the very lengthy part at least) but then I received these errors when it finished and it didn’t complete. Any suggestions?
Attachments
Screen Shot 2015-01-26 at 3.48.37 PM.png
Screen Shot 2015-01-26 at 3.39.39 PM.png
supersplitz
 
Posts: 32
Joined: Tue Feb 05, 2013 1:47 pm

Re: Database Restore from a Windows comp to a Mac

Postby WhiteRider » Tue Jan 27, 2015 3:07 am

That suggests that PostgreSQL is not installed in the default location. Click 'Search for File' and navigate to where the "psql" file is in your Mac's PostgreSQL installation.
It looks like the first part of the second message is listing the incorrect Windows path (I'll talk to the development team about that, but the path in the second paragraph refers to the default Mac path, but you need to navigate to wherever you installed PostgreSQL to and select the "psql" file.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Database Restore from a Windows comp to a Mac

Postby WhiteRider » Tue Jan 27, 2015 8:19 am

I think I just realized what happened..
You probably restored a backup including the PokerTracker.cfg file, which includes information about your Windows system, including paths like the PostgreSQL installation path. If you select the file as I suggested above that will correct the problem - it will probably be in the default location, although that will likely be 9.3 instead of 9.0.

For future reference, when restoring to a different operating system you should not transfer the PokerTracker.cfg file as it will cause problems like this.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Database Restore from a Windows comp to a Mac

Postby supersplitz » Wed Jan 28, 2015 11:41 am

Ok thank you for the response :)

Unfortunately, when I went to restore it again it made it through the whole process but then when I went to select the file it crashed…

But then when I restarted the software, all of my filters and HUDS were installed but none of the old hand histories.

Is there a way to just process my old hand histories through my new database? Bc that’s all I really care about.

Also, side note, the software has been crashing a lot. It crashed every time I went to change the font in my HUD profiles. It wouldn’t let me select the “…” next to the font then just crashed.

Anyways, thanks for your help. Almost there!
supersplitz
 
Posts: 32
Joined: Tue Feb 05, 2013 1:47 pm

Re: Database Restore from a Windows comp to a Mac

Postby kraada » Wed Jan 28, 2015 11:51 am

Upgrade to 4.13 if you haven't already. Do the restore one more time but untick all of the optional files and just leave the database ticked and that might work better.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Database Restore from a Windows comp to a Mac

Postby supersplitz » Thu Jan 29, 2015 6:29 am

OK will do, also was wondering if I could just unzip my backup file and then just select the processed HH’s from there. Would that work?
supersplitz
 
Posts: 32
Joined: Tue Feb 05, 2013 1:47 pm

Re: Database Restore from a Windows comp to a Mac

Postby supersplitz » Thu Jan 29, 2015 6:43 am

Shouldn’t I keep “Processed Hands” clicked?

I tried what you recommended, then searched and selected for psql file and got another error.

All I really want to do is upload my old hands. Don’t really care about the old database. Is there an easier way to do this?

Thanks
Attachments
Screen Shot 2015-01-29 at 11.39.38 AM.png
supersplitz
 
Posts: 32
Joined: Tue Feb 05, 2013 1:47 pm

Re: Database Restore from a Windows comp to a Mac

Postby supersplitz » Thu Jan 29, 2015 6:59 am

Ugh now I'm getting this...
Attachments
Screen Shot 2015-01-29 at 11.48.56 AM.png
supersplitz
 
Posts: 32
Joined: Tue Feb 05, 2013 1:47 pm

Next

Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 42 guests

cron
highfalutin