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
how_to:v3_-_move_to_a_new_pc [2012/06/20 13:33] – [Move VPOP3 Version 3 or 4 to a new PC] paulhow_to:v3_-_move_to_a_new_pc [2019/11/12 16:09] (current) – [Move VPOP3 Version 3 or 4 to a new PC] paul
Line 16: Line 16:
 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.
  
-If you want, we can do this move for you via remote access. The charge for us to do that is currently [[http://www.pscs.co.uk/buynow/buy.php?item=ASSTMOVE|£30 (+ VAT)]]. If you want us to do this, make sure that it is possible to copy files between the PCs on your network (or have copied all the necessary files beforehand). Copying the files over the Internet to our office and then back again is not feasible given the large amounts of data that can be present.+If you want, we can do this move for you via remote access. The charge for us to do that is currently [[https://www.pscs.co.uk/buy/ASSTMOVE|£40 (+ VAT)]] during our office hours. If you want us to do this, make sure that it is possible to copy files between the PCs on your network (or have copied all the necessary files beforehand). Copying the files over the Internet to our office and then back again is not feasible given the large amounts of data that can be present.
  
 You can follow most of these steps if VPOP3 was on a PC that died, and you are moving it to a replacement PC. However, this is less ideal than [[restore_a_backup_of_vpop3|restoring from the latest daily backup]] you made. If you were not previously backing up VPOP3, this may be a [[http://www.pscs.co.uk/products/bfw/index.php|good time to start]]... You can follow most of these steps if VPOP3 was on a PC that died, and you are moving it to a replacement PC. However, this is less ideal than [[restore_a_backup_of_vpop3|restoring from the latest daily backup]] you made. If you were not previously backing up VPOP3, this may be a [[http://www.pscs.co.uk/products/bfw/index.php|good time to start]]...
Line 25: 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''
Line 67: Line 67:
 If you are installing an old version of VPOP3, you can download it from [[http://www.pscs.co.uk/downloads/vpop3archive.php]] If you are installing an old version of VPOP3, you can download it from [[http://www.pscs.co.uk/downloads/vpop3archive.php]]
  
-If you are wanting to install a later version of VPOP3 as well as moving VPOP3, then at this step you would install the later version rather than the original version.+If you are wanting to install a later version of VPOP3 as well as moving VPOP3, then at this step you would install the later version rather than the original version. However, make sure you [[upgrade_vpop3_to_version_7#bit_version|install the 32 bit version of VPOP3 when upgrading from a version earlier than v5]].
 =====Restore the Database Backup===== =====Restore the Database Backup=====
-On the new PC, open up a command prompt and go to the VPOP3 directory. Then run+If you installed v3 or v4 on the new PC, then go to the new PC, open up a command prompt and go to the VPOP3 directory. Then run
  
   pgsql\bin\pg_restore -U postgres -d vpop3 database.dmp   pgsql\bin\pg_restore -U postgres -d vpop3 database.dmp
Line 83: Line 83:
   pgsql\bin\pg_restore -U postgres -d vpop3 -p 5433 database.dmp   pgsql\bin\pg_restore -U postgres -d vpop3 -p 5433 database.dmp
  
 +then the rest of the process is as normal
 ====If you had previously installed VPOP3 on the new computer==== ====If you had previously installed VPOP3 on the new computer====
 If you had previously installed VPOP3 on the new computer (which is not recommended), then you need to "drop" the existing database **before** restoring the database from the old computer as above. If you had previously installed VPOP3 on the new computer (which is not recommended), then you need to "drop" the existing database **before** restoring the database from the old computer as above.
Line 98: Line 99:
  
   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** - **MessageStore** -> **<VPOP3 folder>\_messages**   * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** - **MessageStore** -> **<VPOP3 folder>\_messages**
 +  * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** - **LogPath** -> **<VPOP3 folder>\_logs**
   * **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**
Line 104: Line 106:
   * **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\FaxServer** - **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=====
 You should check for common potential issues on the new PC - see the [[install VPOP3|installing VPOP3]] topic for details. You should check for common potential issues on the new PC - see the [[install VPOP3|installing VPOP3]] topic for details.
Line 111: Line 112:
 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.1340199194.txt.gz · Last modified: 2018/11/14 10:44 (external edit)