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 15:55] – [Uninstall VPOP3] 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), |