Changing data directory

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
brutzler
Normal user
Normal user
Posts: 47
Joined: 2018-11-21 23:37

Changing data directory

Post by brutzler » 2019-10-12 12:59

Hi,

if i change the data directory e.g. from c:\data to d:\data.
Is it enough to make a matching entry in the hmailsever.ini and restart services, or do I have to make some changes on the database too?

User avatar
jimimaseye
Moderator
Moderator
Posts: 8156
Joined: 2011-09-08 17:48

Re: Changing data directory

Post by jimimaseye » 2019-10-12 15:32

If you are on v 5.6 or more then yes. That is the procedure.

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

brutzler
Normal user
Normal user
Posts: 47
Joined: 2018-11-21 23:37

Re: Changing data directory

Post by brutzler » 2019-10-12 16:01

5.6.7-B2425 :D

THX

User avatar
mattg
Moderator
Moderator
Posts: 20219
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Changing data directory

Post by mattg » 2019-10-12 22:46

Run the internal diagnostics to confirm, especially if you had an earlier version and later upgraded
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply