I had a problem where one of my tables was corrupted in a way that didn't affect HEM functions, but the database could not be backuped after that. So I thought that I can do a restore, import hands from archive and compare the notes to see if I have got everything. So, when I did a restore to a new database, to my surprise the old database had disappeared.
This bug can be reproduced with 1.11.04 with following steps:
1. Make a backup of your database.
2. Restore the backup to same computer (backup needs to have the same database name as the database that will be deleted from PostGreSQL). If you have a HoldemManager-database in the backup and you restore to a new database called HEM, if there is already a HoldemManager-database on the server, it will be deleted.
3. After backup has been successfully restored, your database has been deleted (in this example, HoldemManager database would be deleted, but there would be a new database called HEM).
In my opinion this is a quite critical bug in the restore tool. Restoring anything from backups should NEVER result in data loss. If backup & restore tool can't be trusted, it's as good as it would not exist.