question regarding restoring database

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

question regarding restoring database

Postby Floris1988 » Wed Oct 04, 2023 4:50 pm

Hi support,

I reinstalled windows 10 recently. Before this I made a backup of my PT4 datase which resulted in two compressed files (PT4 backup & part 2). After reinstalling windows used the restore option to restore the database. I selected the first of the two compressed file and the process already takes over 24hours. Is something going wrong or is it normal this can take a very long time?

Thanks in advance.
Attachments
2023-10-04 22_49_05-.png
(127.02 KiB) Downloaded 3215 times
Floris1988
 
Posts: 24
Joined: Sun Jan 31, 2021 7:18 am

Re: question regarding restoring database

Postby Flag_Hippo » Thu Oct 05, 2023 3:12 am

That looks like a very large database so that might take some time depending on your disk speed. Also since the database is large you may have a large number of processed files but these are not required for the database to restore so if it appears to be stuck on restoring the processed files you can cancel the restore and start it again with the 'Processed Hands' option unchecked and it should complete quicker. Finally please note that there was an issue with database backups created in PokerTracker v4.17.9 so you will need a backup file created by PokerTracker v4.17.10 (or earlier than v4.17.9).
Flag_Hippo
Moderator
 
Posts: 17141
Joined: Tue Jan 31, 2012 7:50 am

Re: question regarding restoring database

Postby Floris1988 » Thu Oct 05, 2023 6:17 pm

Thanks for the help. Restarted the restore process with 'Processed hands' unchecked. Now it only took a few hours to restore part one of the database. However, restoring the 2nd part of the database result in the following message "invalid TOC". Any suggestions on how to solve this?
Attachments
pt4 upload.png
(13.36 KiB) Downloaded 3129 times
upload pt4.png
(306 KiB) Downloaded 3142 times
Floris1988
 
Posts: 24
Joined: Sun Jan 31, 2021 7:18 am

Re: question regarding restoring database

Postby Flag_Hippo » Fri Oct 06, 2023 5:25 am

Try moving your backup files to the root of C:\ and running the restore from there so if your backup is in a subfolder, network/cloud share folder or external drive please move it to C:\. Before restoring turn on 'Enable Logging' in PokerTracker 4 via 'Configure -> Options' and then restart PokerTracker 4. If the restore fails again then attach your support bundle to a Support Ticket. The support bundle is created via the 'File -> Create Support Bundle' menu option in PokerTracker 4. In addition to the support bundle open the backup zip file and copy (don't move/remove) TOC.xml to C:.  Rename C:\TOC.xml to C:\TOC.txt and attach TOC.txt to the ticket as well.
Flag_Hippo
Moderator
 
Posts: 17141
Joined: Tue Jan 31, 2012 7:50 am

Re: question regarding restoring database

Postby Floris1988 » Fri Oct 06, 2023 9:01 am

Tried restoring after moving the compressed file to C:\ and after enabling 'enable logging'. I received te same message.

I copied 'PT4backup part 2' to my desktop. From here I tried unzipping the folder which resulted in the attached unexpected error. The files that were not able to be unzipped I skipped. Afterwards from 'PT4 - File - support bundle' I try to navigate to the unzipped PT4backup part 2 file and selected the file. The support bundle I added as attachment to the ticket. Regarding the TOC.xml file, I cant find it anywhere in the unzipped PT4back part 2 file. Any suggestions where to find this?
Floris1988
 
Posts: 24
Joined: Sun Jan 31, 2021 7:18 am

Re: question regarding restoring database

Postby Flag_Hippo » Fri Oct 06, 2023 12:16 pm

Floris1988 wrote:Tried restoring after moving the compressed file to C:\ and after enabling 'enable logging'. I received te same message.

Your backup is in two parts - did you move both files to C:\ before running the restore again? You select the first file to start the restore and it will automatically move onto part 2 but if you haven't also moved the part 2 file to the same location then the restore will not work.
Floris1988 wrote:I copied 'PT4backup part 2' to my desktop. From here I tried unzipping the folder which resulted in the attached unexpected error. The files that were not able to be unzipped I skipped.

I am not sure what you are trying to do copying and extracting the backup to your desktop and I don't see anything attached to your last post.
Floris1988 wrote:Afterwards from 'PT4 - File - support bundle' I try to navigate to the unzipped PT4backup part 2 file and selected the file.

The support bundle is created entirely separate from the backup file. At this stage we don't need your backup files so just create the bundle, save it to a separate location and attach it to the ticket.
Floris1988 wrote:Regarding the TOC.xml file, I cant find it anywhere in the unzipped PT4back part 2 file. Any suggestions where to find this?

The TOC.xml file should be in the first backup file and not part 2. Also you don't need to extract anything from the compressed file - just go inside the zip file, copy the TOC.xml file and paste it to C:\. Rename C:\TOC.xml to C:\TOC.txt and attach TOC.txt to the ticket (or you can zip/compress the TOC.xml file instead of renaming it to TOC.txt).
Flag_Hippo
Moderator
 
Posts: 17141
Joined: Tue Jan 31, 2012 7:50 am


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 1 guest