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:restore_a_backup_of_vpop3 [2012/02/15 12:32] – paul | how_to:restore_a_backup_of_vpop3 [2014/07/07 12:51] – [Version 5 or later] paul | ||
---|---|---|---|
Line 1: | Line 1: | ||
======How to Restore a backup of VPOP3====== | ======How to Restore a backup of VPOP3====== | ||
+ | The instructions below are to restore a full backup. You may also be able to [[recover deleted messages]] if you do not need to restore a full backup. | ||
+ | |||
=====Version 5 or later===== | =====Version 5 or later===== | ||
- | If you just need to restore a database backup, see steps 4 to 6 below. | + | If you just need to restore a database backup, see steps 4 to 7 below. |
To restore a [[backup_vpop3|full backup of VPOP3]], | To restore a [[backup_vpop3|full backup of VPOP3]], | ||
- If VPOP3 is already installed, make sure VPOP3 is shut down before starting the restore process | - If VPOP3 is already installed, make sure VPOP3 is shut down before starting the restore process | ||
- Restore the files you made when you [[backup VPOP3|backed up VPOP3]] - do //NOT// restore anything in the **VPOP3\pgsql** folder tree | - Restore the files you made when you [[backup VPOP3|backed up VPOP3]] - do //NOT// restore anything in the **VPOP3\pgsql** folder tree | ||
- | - Restore the registry backup you made as well by double-clicking on the .REG file you made | ||
- Reinstall VPOP3 into the location where you restored VPOP3. This should reinstall the PostgreSQL database system. //Do not start VPOP3 at this time// | - Reinstall VPOP3 into the location where you restored VPOP3. This should reinstall the PostgreSQL database system. //Do not start VPOP3 at this time// | ||
- Open a command prompt, and go to the VPOP3 directory | - Open a command prompt, and go to the VPOP3 directory | ||
Line 25: | Line 26: | ||
- Run **pgsql\bin\pg_restore -U postgres -C -d postgres DBBACK-< | - Run **pgsql\bin\pg_restore -U postgres -C -d postgres DBBACK-< | ||
- Start VPOP3 | - Start VPOP3 | ||
- | |||
- | You may also want to [[Restore folder V3|Restore a single user's mailbox or mail folder]] | ||
====Increasing restore performance==== | ====Increasing restore performance==== | ||
Line 43: | Line 42: | ||
checkpoint_segments = 16</ | checkpoint_segments = 16</ | ||
- save the file (as ' | - save the file (as ' | ||
- | - restart the ' | + | - restart the ' |
- run the restore procedure | - run the restore procedure | ||
- rename the '' | - rename the '' | ||
- copy the '' | - copy the '' | ||
- | - restart The ' | + | - restart The' |
=====Version 2.6 or earlier===== | =====Version 2.6 or earlier===== | ||
To restore a backup of VPOP3, | To restore a backup of VPOP3, |