User Tools

Site Tools


how_to:v3_-_move_message_store_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to:v3_-_move_message_store_folder [2012/06/21 09:19] – [Install the PostgreSQL service] paulhow_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 £20 + VAT). Contact us on 0800 634 6513 if you wish us to do it for you.+Note that we can do this for you remotely if you wish, there is a small charge for this (currently £50 + VAT). Contact us on 01484 855800 if you wish us to do it for you.
  
 Please note that we do not recommend or support moving the message store to a networked or external (eg USB/Firewire) drive. Please note that we do not recommend or support moving the message store to a networked or external (eg USB/Firewire) drive.
Line 33: Line 33:
 Move the VPOP3 'pgsql\data' folder and ALL sub-folders to the new location (eg 'd:\vpop3data') Move the VPOP3 'pgsql\data' folder and ALL sub-folders to the new location (eg 'd:\vpop3data')
  
-Do not move the 'data' folder INTO the new location, but move it so that its new name is the new location 
  
-So, if you are using our example of 'd:\vpop3data', there should **not** be a 'd:\vpop3data\data' folder 
 =====Reassign permissions for PostgreSQL===== =====Reassign permissions for PostgreSQL=====
 You need to assign permission for the **postgres** user to the new folder (eg 'd:\vpop3data') You need to assign permission for the **postgres** user to the new folder (eg 'd:\vpop3data')
Line 50: Line 48:
   pg_ctl register -N "PostgreSQL-VPOP3" -D "D:\vpop3data" -U postgres -P vla8Pi4cluwrouDiERiU   pg_ctl register -N "PostgreSQL-VPOP3" -D "D:\vpop3data" -U postgres -P vla8Pi4cluwrouDiERiU
  
-The "new data folder" is the folder where the **postgresql.conf** file now resides. It is whatever the new name of the 'pgsql\data' folder is. +The 'new data folderis whatever the new name of the 'pgsql\data' folder is. It is //not// the name of the folder //containing// the new data folder, but the name of the new data folder itself. A simple way to tell this is that the "new data folder" is the path of the folder where the **postgresql.conf** file now resides. So, if your 'postgresql.conf' file is in the 'd:\vpop3data\data' folder, you should specify '' -D "d:\vpop3data\data" '' in the above command. 
-It is //not// the name of the folder //containing// the new data folder, but the name of the new data folder itself.+ 
 +For more information on the pg_ctl command, see the [[http://www.postgresql.org/docs/8.3/static/app-pg-ctl.html|PostgreSQL documentation]]
 =====Restart PostgreSQL===== =====Restart PostgreSQL=====
 Go to Control Panel -> Administrative Tools -> Services, and start the 'PostgreSQL-VPOP3' service Go to Control Panel -> Administrative Tools -> Services, and start the 'PostgreSQL-VPOP3' service
how_to/v3_-_move_message_store_folder.1340266760.txt.gz · Last modified: 2018/11/14 10:44 (external edit)