This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
how_to:v3_-_move_to_a_new_pc [2012/06/20 13:29] – [Backup the database] paul | how_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 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. | ||
- | If you want, we can do this move for you via remote access. The charge for us to do that is currently [[http:// | + | If you want, we can do this move for you via remote access. The charge for us to do that is currently [[https:// |
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:// | 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:// | ||
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 '' |
(This assumes a standard installation, | (This assumes a standard installation, | ||
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 65: | Line 67: | ||
If you are installing an old version of VPOP3, you can download it from [[http:// | If you are installing an old version of VPOP3, you can download it from [[http:// | ||
- | 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# |
=====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 | ||
- | At the command | + | At the password |
This will import the data to the database system on the new PC | This will import the data to the database system on the new PC | ||
Line 81: | 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), | If you had previously installed VPOP3 on the new computer (which is not recommended), | ||
Line 96: | Line 99: | ||
* **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** - **MessageStore** -> **<VPOP3 folder> | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** - **MessageStore** -> **<VPOP3 folder> | ||
+ | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** - **LogPath** -> **<VPOP3 folder> | ||
* **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Archiving** - **MainStore** -> **<VPOP3 folder> | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Archiving** - **MainStore** -> **<VPOP3 folder> | ||
* **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Attachments** - **AttachmentDirectory** -> **<VPOP3 folder> | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Attachments** - **AttachmentDirectory** -> **<VPOP3 folder> | ||
+ | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Attachments** - **InfectedDirectory** -> **<VPOP3 folder> | ||
* **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **PostGreSQLBinDir** -> **<VPOP3 folder> | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **PostGreSQLBinDir** -> **<VPOP3 folder> | ||
* **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\FaxServer** - **ReceivePath** -> **<VPOP3 folder> | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\FaxServer** - **ReceivePath** -> **<VPOP3 folder> | ||
- | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **SpoolPath** -> **<VPOP3 folder> | + | * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\FaxServer** - **SpoolPath** -> **<VPOP3 folder> |
=====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 108: | 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 ' | ||
+ | |||
+ | 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 ' | ||
=====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. |