Restore from Backup

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

Restore from Backup

Postby dbot2006 » Sun Jan 25, 2009 2:59 pm

I am trying to restore an SQL database from a *backup file and it will not work for me.
I open the Database functions window and choose the file to be restored. I hit the RESTORE button and a dos window opens that seems to be restoring the DB. When that window closes nothing has changed.
Please help. What am I doing wrong?
dbot2006
 
Posts: 10
Joined: Mon Jan 05, 2009 5:03 pm

Re: Restore from Backup

Postby ptrack pat » Sun Jan 25, 2009 9:15 pm

See step #4 at the bottom of this FAQ
viewtopic.php?f=30&t=1369
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Restore from Backup

Postby Jonas » Fri Feb 27, 2009 5:42 pm

dbot2006 wrote:I am trying to restore an SQL database from a *backup file and it will not work for me.
I open the Database functions window and choose the file to be restored. I hit the RESTORE button and a dos window opens that seems to be restoring the DB. When that window closes nothing has changed.
Please help. What am I doing wrong?


Hi ptrack pat,

i have exactly the same problem as dbot2006 had. but i use PT3 so your explanation does not really help to solve my problem. Cound you please explain how these prob can be fixed under PT3???

best regards, jonas
Jonas
 
Posts: 1
Joined: Sun Oct 05, 2008 9:28 am

Re: Restore from Backup

Postby ptrack pat » Fri Feb 27, 2009 10:06 pm

Please post your issue in the PT3 forums, I don't support PT3.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Restore from Backup

Postby dbot2006 » Thu Mar 12, 2009 11:57 pm

I am having problems restoring again. I reinstalled PT and SQL on a new Vista system as an Admin with UAC turned off. I have edited the pg_hba.conf file to say "true". After I choose the file to restore and the location of restore.exe a dos window opens for 1 second then closes. I have tried stopping and restarting the server.
Help please.
dbot2006
 
Posts: 10
Joined: Mon Jan 05, 2009 5:03 pm

Re: Restore from Backup

Postby ptrack pat » Fri Mar 13, 2009 8:32 am

The values in the pg_hba.conf file should say "trust" not "true".
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Restore from Backup

Postby dbot2006 » Sat Mar 14, 2009 11:39 pm

Yes sorry I meant trust, I was reciting from memory (poorly). The file is set to "trust". The result is the same.
dbot2006
 
Posts: 10
Joined: Mon Jan 05, 2009 5:03 pm

Re: Restore from Backup

Postby ptrack pat » Sun Mar 15, 2009 8:59 am

What is the size of the .backup file you are trying to restore? Are you sure it's a PT2 PostgreSQL .backup file you are selecting?

Are you sure you are running PT as administrator? Vista should be prompting you to cancel/allow PT to run.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Restore from Backup

Postby dbot2006 » Tue Mar 17, 2009 1:22 am

The backup I am restoring is 230MB. It is most surely a PT2 PostgreSQL .backup file.
I am running as an admin.

Please continue helping.
Thank you.
dbot2006
 
Posts: 10
Joined: Mon Jan 05, 2009 5:03 pm

Re: Restore from Backup

Postby ptrack pat » Tue Mar 17, 2009 8:33 am

go to the c:\program files\poker tracker v2 folder. There should be a file called "ptpgrdump.txt" there. Open that file, copy all the text and paste it into a reply.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Next

Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 11 guests

cron