PDA

View Full Version : Switching HEM to a new computer.



Destx
08-17-2009, 08:02 PM
Every time I try to export everything and reupload it I keep getting errors. Does anyone know a way I can completely take my HEM from one computer to another computer? The reason being I just moved and I am switching to a desktop instead of my old laptop. If there is an easy way to do this it would save me a lot of trouble of reconfiguring.

fozzy71
08-18-2009, 12:32 AM
I am just going to post the entire cliff notes of how to reinstall HM and SQL on the same PC. Just ignore the uninstall steps, and only use the parts as they apply to installing to a new PC.


Vista: Turn off UAC - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=73

Turn off Windows Firewall for installing HM and PostgreSQL. Once you get those installed you can add exceptions to the firewall. If you have a 3rd party firewall, uninstall it completely before installing HM/SQL - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=171


Before you uninstall HM:

I want to re-install Holdem Manger without losing all of my settings and preferences. Can this be done? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=98)

You want to make sure you backup your Processed/Archived hand histories, your entire \config folder, and your exportednotes file. (http://www.holdemmanager.net/faq/?f=119) I usually just copy my entire \Holdem Manager directory.

I would also make sure you manually export the database to hand history text files:

HM > Options > Database Management > Connect > Export Hands

How do I export or import hands into and from Holdem Manager? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=173)


Make sure you copy that folder as well as the other stuff I mentioned.

This helps to insure that if anything goes wrong with the backup/restore, you can manually import the exported files to rebuild.




For uninstalling SQL please follow these steps:

-Uninstall PostgreSQL from the Windows Control Panel.

- manually delete the Program Files\Postgresql folders
- run the command - start > run > cmd >


net user postgres /delete

- reboot.
- install PostgreSQL again, with your firewall uninstalled or turned off if windows firewall, using these directions and postgresql.zip version.

http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=176


Logging:

I would suggest you turn off logging on your new SQL installation as well as these other performance improvements - Top 10: HEM performance increase tips
(http://208.109.95.123/forum/showthread.php?p=62613&posted=1#post62613)

To turn off logging, follow these instructions. This is the first thing I do anytime I install SQL for someone.

- Start > My Computer > Tools > Folder Options > View > UnCheck 'Hide Extensions for known file types' > OK

- C:\Program Files\PostgreSQL\data\postgresql.conf > Right-Click > Open With.. > NotePad > Check 'Always use this program'

- Scroll about half way down to ~Lines 245 - 260:

- The last line of this block of code, for the 'logging_collector', must be changed from On to Off.


------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------

# - Where to Log -

log_destination = 'stderr' # Valid values are combinations of
# stderr, csvlog, syslog and eventlog,
# depending on platform. csvlog
# requires logging_collector to be on.

# This is used when logging to stderr:
logging_collector = off # Enable capturing of stderr and csvlog

File > Save; File > Close

Start > Programs > PostgreSQL 8.3 > Reload Configuration.

*edit:
- Start > My Computer > C:\Program Files\PostgreSQL\data\pg_log, or C:\Program Files (x86)\PostgreSQL\data\pg_log, if you have 64 bit Vista. Delete all files in that folder. And it might be a good idea to empty your recycle bin at that point, or use a 3rd party utility like CCleaner to clean up all your junk/temporary files. You want to do this before you get to the vacuum and defrag process.


Now you should be ready to do a bulk Import From Folder

Make sure you have the latest HM Beta installed:

HM > Import From Folder > point at your exported text files folder you made earlier.

\RVG Software\Holdem Manager\HandHistoryExport_YourDataBaseName


When reinstalling HM, install the full setup, then the latest beta patch and finally your config folder if you want to use your previous hud configs.

1) Make a backup of your C:\Program Files\RVG Software\Holdem Manager\Config folder, and other important files mentioned earlier.
2) Uninstall HM with Revo Uninstaller
3) Go to Program Files and delete the RVG Software directory, or the equivalent for Vista
4) Reboot your computer
5) Install the complete setup of HM: http://www.holdemmanager.com/downloads/holdemmanager.zip
7) Download the latest patch HM: http://www.holdemmanager.com/downloads/HmBetaUpdate.exe
8) Test if it for a while and see if it work
9) Close down Holdem Manager and copy the config folder from step 1 and copy and overwrite it to your C:\Program Files\RVG Software\Holdem Manager\Config folder, and import any notes and hands/database.
10) Test if it works again for a while