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
Last revisionBoth sides next 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/11/14 10:45] – external edit 127.0.0.1
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.txt · Last modified: 2018/12/05 15:25 by paul