This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| how_to:v3_-_move_message_store_folder [2012/01/30 13:35] – [v3/4 - Move the message store to a new folder/drive] paul | how_to:v3_-_move_message_store_folder [2018/12/05 15:25] (current) – [v3/4 - Move the message store to a new folder/drive] paul | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - Restart VPOP3 | - Restart VPOP3 | ||
| - | Note that we can do this for you remotely if you wish, there is a small charge for this (currently | + | Note that we can do this for you remotely if you wish, there is a small charge for this (currently |
| Please note that we do not recommend or support moving the message store to a networked or external (eg USB/ | Please note that we do not recommend or support moving the message store to a networked or external (eg USB/ | ||
| Line 28: | Line 28: | ||
| pg_ctl unregister -N " | pg_ctl unregister -N " | ||
| + | If that comes back with '' | ||
| + | pg_ctl unregister -N " | ||
| =====Move database to the new folder===== | =====Move database to the new folder===== | ||
| - | Move the VPOP3 'pgsql/data' folder and ALL sub-folders to the new location (eg ' | + | Move the VPOP3 'pgsql\data' folder and ALL sub-folders to the new location (eg ' |
| =====Reassign permissions for PostgreSQL===== | =====Reassign permissions for PostgreSQL===== | ||
| Line 37: | Line 40: | ||
| =====Install the PostgreSQL service===== | =====Install the PostgreSQL service===== | ||
| - | At a command prompt, navigate to your new VPOP3 directory, then the **pgsql\bin** directory under that | + | At a command prompt, navigate to the VPOP3 directory, then the **pgsql\bin** directory under that |
| Run | Run | ||
| Line 45: | Line 48: | ||
| pg_ctl register -N " | pg_ctl register -N " | ||
| + | The 'new data folder' | ||
| + | |||
| + | For more information on the pg_ctl command, see the [[http:// | ||
| =====Restart PostgreSQL===== | =====Restart PostgreSQL===== | ||
| Go to Control Panel -> Administrative Tools -> Services, and start the ' | Go to Control Panel -> Administrative Tools -> Services, and start the ' | ||
| + | |||
| + | =====Large Message Store===== | ||
| + | In VPOP3 versions 3 and 4, large messages are not stored in the database, so, if you wish to move those as well, there is a further couple of steps before you restart VPOP3: | ||
| + | - move the VPOP3\_messages folder tree to the new location | ||
| + | - In the Windows registry, find **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** and set the **MessageStore** value to point to the new location | ||
| =====Restart VPOP3===== | =====Restart VPOP3===== | ||
| Go to Control Panel -> Administrative Tools -> Services, and start the 'VPOP3 Email Server' | Go to Control Panel -> Administrative Tools -> Services, and start the 'VPOP3 Email Server' | ||
| + | |||
| + | |||