Backup Question

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

Backup Question

Postby TTR00000815 » Sat Sep 13, 2008 10:35 am

Want to fix some trouble with my DB
1. Have lots of mutliple entries for MTTs (each table is treated as new Tourney)
2. Have some corrupt data, f.e. the Hands of one SNG are mixed into the hands of an MTT
3 My is splitted. On PC1 I have entries for July and on PC2 I have entries for August.

a) To get my DB fixed i need to get rid of the courrpt and wrong Data. Simple way would be to delete these Toruneys from the DB and then manually reimport the correct HH-files.
b) Can i us the backup/restore-funtion oof Postgres to override corrupt/wrong data in an exsiting DB?


Thx
TTR00000815
 
Posts: 18
Joined: Tue Jun 24, 2008 5:50 pm

Re: Backup Question

Postby WhiteRider » Sat Sep 13, 2008 10:39 am

It is not yet possible to remove individual sessions or tournaments, but this option ("Selective Purge") will be added soon. See the Development Timeline.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Backup Question

Postby TTR00000815 » Sat Sep 20, 2008 6:00 pm

TTR00000815 wrote:3 My is splitted. On PC1 I have entries for July and on PC2 I have entries for August

finally I found a way to put both DBases together.
I exported the DB from one installation, imported manually selcted files.
However from my humble opinion very strange how PT exports the data to files, it was not an to find the right files which contained the needed data.

Now i have just (as far as i see now) only two Tourneys with corrupted data. Very strange btw, one hand of a SNG i played 2000/08/14 is put into the hand-list of an MTT i played at 2008/08/15.

Hope you will make me note in this thread i this selective-purge-function comes into a release.
Last edited by TTR00000815 on Sat Sep 20, 2008 6:07 pm, edited 2 times in total.
TTR00000815
 
Posts: 18
Joined: Tue Jun 24, 2008 5:50 pm

Re: Backup Question

Postby WhiteRider » Sat Sep 20, 2008 6:05 pm

I'm not sure I'll remember to reply to this thread - there are quite a lot of threads here..
But there will always be a sticky topic in the General forum with release notes for each new version.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Backup Question

Postby TTR00000815 » Sat Sep 20, 2008 6:07 pm

okay, btw:

I still have some backup-problems: Either The export/import-function of PT itself nor the postgres-funfction works correct. I tried both ways, but everytime i losse some information of tourney-type, an the "amount of win" is changed in some tourneys. $2,xxx.xx Winnings are changed to $2 winnings. Unfortunatly i have only wome of them, so i corrected that manually.
I did the Luser-way-of backup. Safe entire Postgres- and PT3 folders, and copy them over a clean install.
TTR00000815
 
Posts: 18
Joined: Tue Jun 24, 2008 5:50 pm

Re: Backup Question

Postby WhiteRider » Sun Sep 21, 2008 4:42 am

There is a known issue with export/import of tournament results, which will be fixed.
Just copying the postgres folder will not do a correct backup of your database - it may work in a very simple case if you have the same set up and database name, but even then I think it's risky. Postgres manages lots of files and folders, and there is no guarentee that the structure will be the same. You really need to backup 'properly', as described in the Database / Postgres FAQ.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 26 guests

cron
highfalutin