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/05/18 11:10] paulhow_to:v3_-_move_message_store_folder [2018/11/14 10:45] – external edit 127.0.0.1
Line 32: Line 32:
 =====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 'd:\vpop3data') Move the VPOP3 'pgsql\data' folder and ALL sub-folders to the new location (eg 'd:\vpop3data')
 +
  
 =====Reassign permissions for PostgreSQL===== =====Reassign permissions for PostgreSQL=====
Line 47: 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 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.
 +
 +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