Synchronising databases

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Synchronising databases

Postby Fonzie14 » Thu Jan 15, 2009 6:17 am

HI,

Apologies if this has been covered elsehwere (sure it must of been, but I can't find it :oops: )

When at home I play on PC & when away I play on Laptop. What is the easiest way of synchronising my PC and Laptop's databases so that I have full stats on both machines. (one is Vista & one is XP just to make life interesting :roll: )
Fonzie14
 
Posts: 4
Joined: Sun Nov 02, 2008 2:20 pm

Re: Synchronising databases

Postby kraada » Thu Jan 15, 2009 11:50 am

The easiest thing to do is going to be copying hand histories between computers and reimporting those hands. So before you leave, copy all recently played hands from the desktop onto the laptop and run a manual import on those files. When you get back, copy all hands you played while away onto the desktop and import them.

In order to make it easier on you in terms of figuring out what's new, the easiest thing to do is probably to use the Move Processed Files area on the auto import window to move to some folder, then after you copy all of the hands over, move the files manually somewhere else.

So, an example to make that clearer:

On the desktop, the auto import would move the files to C:\NeedToMoveToLaptop\ then when you move them all to the laptop, move the files manually from C:\NeedToMoveToLaptop\ to C:\ArchivedHHsOnBothMachines\ You'd need to create these directories and you can call them whatever you'd like, but hopefully that makes the idea clearer (you do the same on the laptop).

It'll be mildly annoying but once you've got this set up it shouldn't be too much trouble to run the import when you get home or before you leave (you can always just copy the files to a flash drive on your way out the door and run the import while travelling).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Synchronising databases

Postby Fonzie14 » Thu Jan 15, 2009 12:08 pm

Thanks for your swift reply.

Was hoping there was a slightly more "high-tech" method, but hey-ho, such is life.......maybe something for all you database designers to have a think about :ugeek:
Fonzie14
 
Posts: 4
Joined: Sun Nov 02, 2008 2:20 pm

Re: Synchronising databases

Postby WhiteRider » Fri Jan 16, 2009 5:33 am

You can share a single database, but I'm not sure it's actually a better solution..
Database / Postgres FAQ
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Synchronising databases

Postby kraada » Fri Jan 16, 2009 10:47 am

I thought about that but it would require a better upload speed on his desktop, his desktop always being on, sharing his PostgreSQL database with the larger internet (since he won't know his end IP address, it'd need to be shared globally), and knowing his home IP (which can't change otherwise he won't be able to log in while away), so I figured copying over and importing hands in one bulk shot would likely be easier in the long run.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Synchronising databases

Postby WhiteRider » Fri Jan 16, 2009 4:43 pm

Sorry - I read the OP too quickly.. I missed the bit about playing away from home, although it's obviously really.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests