Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Aquarium / Verify Selected Trees
- - By cma6 (****) Date 2019-11-07 02:06
Verify Selected Trees works well and is invaluable in finding corrupted trees.
  But Recover selected trees does not work. That means one must delete and lose these trees.
Please fix the latter.
Parent - - By pawnslinger (****) Date 2019-11-07 06:02
You may not lose the entire tree.  AQ does make backups... I have used them myself from time to time.
Parent - - By cma6 (****) Date 2019-11-07 15:07
Good point although there is a high probability that the backed up tree is corrupted also. Where does Aqr store them?
Parent - By pawnslinger (****) Date 2019-11-07 15:24
Look in the Data folder, you will find a folder there called Backup.  Inside you will find there are aged backups.  One of them is bound to be helpful.  I would be very surprised if you would ever lose a tree completely.  Sometimes I have had to go back 10 days, and that could be a lot, but it is much better than losing a big tree that you have worked years on -- like my Najdorf or KI trees.  I cannot replace them, but if I lose 10 days or a month even, it is bad news, but not unrecoverable.
Parent - - By OempaS (***) Date 2019-11-09 12:20

> high probability that the backed up tree is corrupted also

That is not true. Before every minimax the system makes a backup. See your data directory > Atrees > Backup. You should always be able to locate a file that is not corrupted.
To recover a tree:
Exit AQ.
Go to the directory where you store your project tree.
Delete your project tree files (or alternatively move them to a separate location : create a directory "project_old"). Take care to move all of them.... could be 6 or more with a corrpted tree.
Go to the backup directory.
Select the previously stored project files, and copy them to the project directory. There are two items to copy: file *.aqt and directory *.lbd_data
Open AQ, check that the problem is solved. If not: repeat with an older set of backup files.

Note that I always always create a separate directory for tree files for each game or project. That way I keep all files together in a set.
I use  same system for master tree files.

But also:I make a backups using an external program. Sometimes more than once during a run.

I have never lost a tree file since I started to use these procedure( 3 years now...). Once I had a power failure and found the whole system all mixed up: using my backups I was up and running within half an hour.
Parent - By dickie (**) Date 2019-11-11 12:31
It is also possible to reconstruct that part of the tree that has been lost between the last uncorrupted backup and the present day. The results of every completed IDeA task are written sequentially to the relevant project epd file in the folder IDeA\Results. So if we make an intelligent guess of the number of tasks lost (ie previously completed between the backup and present time), add say 25% for safety, then copy that number of results from the bottom of the project epd file to a new epd file, they can be reincorporated in the IDeA tree using “Add Results” in the Manage drop-down menu. It is necessary to minimax to complete the process. Adding too many results does not compromise the evaluations in the tree, but may marginally increase the values in the ‘number of positions’ column.
- - By Viktor (**) Date 2019-11-08 06:49
It is desirable to make a backup yourself and then the losses will be minimal both in time and in the volume of projects.
Parent - - By cma6 (****) Date 2019-11-09 14:30
Thanks, Viktor, but how about a fix for "Recover selected trees"?
Parent - - By pawnslinger (****) Date 2019-11-09 15:38
It could be that actual recovery of a tree "in place" is technically difficult.  The program may not be adequately able to even diagnose why the tree is corrupt.

If the authors wished though, it probably is not too difficult to automatically restore an old Backup.  Rather than the current procedure of having to manually poke around to find them and move them by hand.  Isn't that what Windows does?  I have had to restore Windows from backup and it showed me a list of available backups and asked me to choose... then it performed the restore automatically.  AQ could do the same, I don't see why not... from a technical point of view.
Parent - - By OempaS (***) Date 2019-11-09 16:10

> manually poke around to find them and move them by hand

This is done in a matter of minutes... if not seconds.
Parent - By pawnslinger (****) Date 2019-11-09 18:43
Yes, for someone that has done this sort of thing before.  But I would bet that most users of chess software are not computer savvy.  And they might not even know to look for Backup trees.  I know that I did not know for a long time.  I had to lose several trees (in the old days), before someone in this forum told me the mistake I was making.
Up Topic Rybka Support & Discussion / Aquarium / Verify Selected Trees

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill