Page 1 of 1

Backup Question

PostPosted: Sat Sep 13, 2008 10:35 am
by TTR00000815
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

Re: Backup Question

PostPosted: Sat Sep 13, 2008 10:39 am
by WhiteRider
It is not yet possible to remove individual sessions or tournaments, but this option ("Selective Purge") will be added soon. See the Development Timeline.

Re: Backup Question

PostPosted: Sat Sep 20, 2008 6:00 pm
by TTR00000815
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.

Re: Backup Question

PostPosted: Sat Sep 20, 2008 6:05 pm
by WhiteRider
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.

Re: Backup Question

PostPosted: Sat Sep 20, 2008 6:07 pm
by TTR00000815
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.

Re: Backup Question

PostPosted: Sun Sep 21, 2008 4:42 am
by WhiteRider
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.

highfalutin