PDA

View Full Version : Moving HEM from one drive to another



PacnyTuH0
02-09-2014, 07:27 AM
Hi,

Could you please tell me if I move my HEM from Drive (C:) to Drive (D:), for example, is the HEM gonna work the same way after that? I need to clear some memory from one of my drives and this is one of the things I plan to move.

Thank you

fozzy71
02-09-2014, 10:53 AM
The HM1/2 program file folders generally take up very little space. You would gain a lot more space by moving the postgresql database files - http://hm2faq.holdemmanager.com/questions/1172/Move+Database+to+Another+Hard+Drive+or+Partition

This program will help you find what files are taking up the most space, visually.

WinDirStat - Windows Directory Statistics (http://windirstat.info/)

PacnyTuH0
02-10-2014, 11:10 AM
Thank you,

However it seems that I am having trouble when copy/pasting this:

Xcopy "%appdata%\holdemmanager\Database\*.*" f:\newParent /E /C /I /H /R /Y

Is there anything I have to modify. It says "invalid drive specification" in the command promt

PacnyTuH0
02-10-2014, 12:04 PM
Actually, I changed the f:/ folder to my desired folder (D:/).

And now the error is: File not found - *.*

Is there something I can do about it ?

udbrky
02-10-2014, 05:43 PM
Make sure you have space on the drive so the files can be moved.

Please see this FAQ to alleviate any security bottlenecks:

http://hm2faq.holdemmanager.com/questions/2561/Set+Correct+Permissions+on+files+and+folders+HM2+u se

Does the file exist in the location you are trying to move from?

PacnyTuH0
02-10-2014, 06:08 PM
What file am I looking for - *.* is not a file. Does this means all files from the folder?

PacnyTuH0
02-10-2014, 06:22 PM
These are the files and folders I have in my HEM folder at the moment before the "Xcopy step"

136942

As you can seen I don' have the Database folder. What shall I do?

Patvs
02-10-2014, 10:35 PM
*.* means all files... but you don't seem to have the /Database subfolder in

C:\Users\{username}\AppData\Roaming\HoldemManager\


---


In HM2: go to the Home tab--> Database--> add database, and at this screen check what the default location is of your 'database parent folder' .

To also change the location of this folder to your other drive, either:
-(easiest) create a new database, (with this folder on D:/), and reimport all your hands.
-Edit the location of this folder in pgadminIII, read: http://hm2faq.holdemmanager.com/questions/1172/Move+Database+to+Another+Hard+Drive+or+Partition

(instead of xcopy, you can just use Windows' cut/paste on the folder to move it to D:/)

PacnyTuH0
02-11-2014, 06:46 AM
I have copied my whole Holdemmanager folder instead of copying the database folder which I don't have.

Currently my HEM is working fine even though I skipped the last step with the pgAdmin stuff.

However, when I try to do the pgAdmin thing I do not have the same things as your example when I go to the Settings.

This is a picture of what I see
136982

Currently, as I said, the HEM is working properly - Do I have to finish all the steps (pgAdmin left). Is the HEM really working properly at the moment, or am I missing something?

Sarek
02-11-2014, 01:52 PM
What is shown on your screen = HM1 database
it is not HM2 DB

PacnyTuH0
02-11-2014, 03:08 PM
Yes, I am using HM1 - Do I have to change something there?

Sarek
02-11-2014, 03:36 PM
In case of HM1 you already have done all - just use it.