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 15:55] – [Uninstall VPOP3] paulhow_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 ''vpop3pass'' At the password prompt, type ''vpop3pass''
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), 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.
how_to/v3_-_move_to_a_new_pc.txt · Last modified: 2019/11/12 16:09 by paul