This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
how_to:v3_-_move_to_a_new_pc [2012/06/20 14:33] – [Move VPOP3 Version 3 or 4 to a new PC] paul | how_to:v3_-_move_to_a_new_pc [2013/06/13 08:30] – [Restore the Database Backup] paul | ||
---|---|---|---|
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 '' | At the password prompt, type '' | ||
Line 69: | Line 69: | ||
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. | ||
=====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), | If you had previously installed VPOP3 on the new computer (which is not recommended), | ||
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 ' | ||
+ | |||
+ | 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. |