User Tools

Site Tools


how_to:v3_-_move_to_a_new_pc

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
Next revisionBoth sides next revision
how_to:v3_-_move_to_a_new_pc [2012/06/20 14:30] – [Restore the Database Backup] paulhow_to:v3_-_move_to_a_new_pc [2012/07/30 10:14] simon
Line 12: Line 12:
   - Check settings on new PC   - Check settings on new PC
   - Start VPOP3 on the new PC   - Start VPOP3 on the new PC
 +  - Disable VPOP3 on the old PC if necessary
  
 Please make sure you follow these instructions in the correct order. Many problems with moving installations are because people have thought we have got it wrong, and so do things in a different (incorrect) order. Please make sure you follow these instructions in the correct order. Many problems with moving installations are because people have thought we have got it wrong, and so do things in a different (incorrect) order.
Line 24: Line 25:
 To backup the database, go to a command prompt on the VPOP3 computer, and go to the VPOP3 directory. Then run To backup the database, go to a command prompt on the VPOP3 computer, and go to the VPOP3 directory. Then run
  
-  pgsql\bin\pg_dump -F c -U vpop3 -f database.dmp**+  pgsql\bin\pg_dump -F c -U vpop3 -f database.dmp
  
-At the password prompt, type **vpop3pass**+At the password prompt, type ''vpop3pass''
 (This assumes a standard installation, if your PostgreSQL installation is non-standard, then you may need to change this command appropriately) (This assumes a standard installation, if your PostgreSQL installation is non-standard, then you may need to change this command appropriately)
  
Line 44: Line 45:
   * Save it to a .REG file, eg **VPOP3.REG**   * Save it to a .REG file, eg **VPOP3.REG**
   * Copy the file to the new PC   * Copy the file to the new PC
 +  * Amend or edit as required (see below)
   * Double-click the .REG file to import it into the registry on the new PC   * Double-click the .REG file to import it into the registry on the new PC
  
Line 98: Line 100:
   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Archiving** - **MainStore** -> **<VPOP3 folder>\_archive**   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Archiving** - **MainStore** -> **<VPOP3 folder>\_archive**
   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Attachments** - **AttachmentDirectory** -> **<VPOP3 folder>\_attach**   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Attachments** - **AttachmentDirectory** -> **<VPOP3 folder>\_attach**
 +  * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Attachments** - **InfectedDirectory** -> **<VPOP3 folder>\_infected**
   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **PostGreSQLBinDir** -> **<VPOP3 folder>\pgsql\bin**   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **PostGreSQLBinDir** -> **<VPOP3 folder>\pgsql\bin**
   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\FaxServer** - **ReceivePath** -> **<VPOP3 folder>\_fax\in**   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\FaxServer** - **ReceivePath** -> **<VPOP3 folder>\_fax\in**
-  * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **SpoolPath** -> **<VPOP3 folder>\_fax\out**+  * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\FaxServer** - **SpoolPath** -> **<VPOP3 folder>\_fax\out**
  
 =====Check Settings on new PC===== =====Check Settings on new PC=====
Line 108: Line 111:
 Finally [[start VPOP3]] Finally [[start VPOP3]]
  
 +=====Disable VPOP3 on the old PC=====
 +If the old PC will still be being used for other things, and you do not want VPOP3 to run on it, you should disable VPOP3 on it.
 +
 +If you don't do this, you may end up with two copies of VPOP3 running at the same time, which will almost certainly cause strange things to happen.
 +
 +There are two main options here:
 +  - Disable the VPOP3 service
 +  - Uninstall VPOP3
 +
 +====Disable the VPOP3 service====
 +Go to **Control Panel -> Administrative Tools -> Services** on the //OLD// computer
 +
 +Find the **VPOP3** service. Double-click it. If the Service Status is 'Started', press the**Stop** button. In the **Startup type**, choose **Disabled** and press **OK**
 +
 +Find the **PostgreSQL - VPOP3** service and do the same again
 +
 +====Uninstall VPOP3====
 +Only uninstall VPOP3 if you will not want to run VPOP3 on this computer again, as it will clear all the data.
 +
 +Go to **Control Panel -> Programs and Features** on the //OLD// computer. Find the 'PostgreSQL' program, and uninstall that. Then find the 'VPOP3' program and uninstall that.
 =====Possible problems===== =====Possible problems=====
 If you have moved VPOP3 and find that settings such as licence details, mail collectors, etc have not been moved, then that means that the Windows Registry data was not copied over correctly in step 4. Or, if you are sure you copied it over, you may not have done the appropriate editing necessary when moving between 32 and 64 bit versions of Windows. If you have moved VPOP3 and find that settings such as licence details, mail collectors, etc have not been moved, then that means that the Windows Registry data was not copied over correctly in step 4. Or, if you are sure you copied it over, you may not have done the appropriate editing necessary when moving between 32 and 64 bit versions of Windows.
how_to/v3_-_move_to_a_new_pc.txt · Last modified: 2019/11/12 16:09 by paul