PDA

View Full Version : Vista crashed, how to restore my DB?



oulaccho
04-08-2010, 11:19 AM
My mother card crashed, after changed it I can't run Vista.

I have installed a new vista on another hard drive, I have access to my old hard drive with HM, all my files seems ok.
I tried to make a backup (FAQ - Hold'em Manager Poker Tracking Software :: Backup & Restore Database (http://faq.holdemmanager.com/questions/72/Backup+%26+Restore+Database)) but pgAdmin III does'nt see my old DB.

I will install HM on windows seven on a new hard drive soon. How can I restore my old database?

Thanks

fozzy71
04-08-2010, 04:26 PM
Please update to the latest beta - http://www.holdemmanager.com/downloads/HmBetaUpdate.exe

For reinstalling SQL to the same DB, follow these steps:

1) Uninstall PostgreSQL from the Windows Control Panel.
2) If you are moving the DB to a different drive/partition, manually cut or copy the \Postgresql\8.x\data directory to it's new location.
3) run the command - start > programs > accessories > command prompt > right-click > run as administrator

net user postgres /delete
4) reboot.
5) Install the same version of PostgreSQL as your current DB using these instructions - FAQ - Hold'em Manager Poker Tracking Software :: Reinstall PostgreSQL Preserving Old Database (http://faq.holdemmanager.com/questions/71/Reinstall+PostgreSQL+Preserving+Old+Database)
6) If you have moved/installed your DB to a non-default location, please make sure to change the 'Data Directory' path during the installation.