1 database over 2 computers

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

1 database over 2 computers

Postby reDZill4 » Thu Jul 17, 2008 3:11 am

i currently have my db on my desktop but i would also like to have the same db on the laptop i just bought. is there a way i can maintain 1 database over 2 computers. i dont know if its a problem that one is vista and the other is xp. but ideally i would like to be able to play on either computer and be importing hands than have the other computer be caught up to speed.

one idea i had was to copy my original DB onto my laptop than whenver i play hands from a computer copy the hands that i played and import them on the other computer (turn off 'move proccessed hh' and just copy them on to like a thumbstick drive or w/e and import')

is this the easiet way?
reDZill4
 
Posts: 36
Joined: Wed Mar 19, 2008 7:11 pm

Re: 1 database over 2 computers

Postby keggler » Thu Jul 17, 2008 4:20 am

postgres will support networking a single database:

viewtopic.php?f=45&t=4638



susan
keggler
 
Posts: 640
Joined: Sun Jun 01, 2008 4:53 am

Re: 1 database over 2 computers

Postby WhiteRider » Thu Jul 17, 2008 4:25 am

If you don't want to network the DB, yes, you can just copy the hand history files between computers.
The best way to do this would be to still use the 'move processed files to' option, and then when you want to sync up the other computer you move all files from the 'processed' folder onto your thumb-drive. After you've copied them onto the other computer, move them off the thumbdrive to wherever you want to back them up.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: 1 database over 2 computers

Postby reDZill4 » Thu Jul 17, 2008 6:36 pm

how do i copy ppstgrsql DB and where do i paste them onto my laptop
reDZill4
 
Posts: 36
Joined: Wed Mar 19, 2008 7:11 pm

Re: 1 database over 2 computers

Postby keggler » Thu Jul 17, 2008 7:47 pm

you cannot just "copy & paste" the database - sorry it doesn't work like that...

either do as whiterider says and move the hh's around (time consuming and easy to get out of step...) or network the one database by following the instructions in the link.


susan
keggler
 
Posts: 640
Joined: Sun Jun 01, 2008 4:53 am


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 23 guests

cron