PDA

View Full Version : Backup / Restore DB



Perna
01-20-2009, 05:33 PM
Hi,

I tried to backup/restore my postgres DB and its fine, but my previous db had a different name (TrocaTapa) from this one i created now (used the default HoldemManager). When i started the HEM after restores the DB, and copy the Config Folder, HEM says its not able to find the TrocaTapa DB, so i created a Db named TrocaTapa (empty) and i could use HEM normally, but i notice some HHs wasnt importing during my gameplay in PP and now i datamining and all hands had imported errors. So i switch to TrocaTapa Db and tried to import those hands on this db and its goes ok. So i restore the backup to this db (trocatapa) and at the end i receive a message error 152. I deleted the TrocaTapa db, created again and tried restore one more time, now the error was 151, all players are now in the database but its not importing the hands.

Any ideas?

Sorry about my english.

morny
01-20-2009, 06:33 PM
You shouldnt use restore database into a database thats NOT empty, the simplest thing to do now as im not sure what youve done is to export all the hands from the other databases http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=173 then create a new database http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=146 and then reimport the hands into the new database (dont use restore use export and import)