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.
If you just need to restore a database backup, see steps 4 to 7 below.
To restore a full backup of VPOP3,
If you just need to restore a database backup, see steps 4 to 6 below.
To restore a full backup of VPOP3,
When restoring the database backup it may take a very long time (depending on system performance, and the size of the backup). There are some changes you can make to the PostgreSQL configuration before doing the restore to make it quicker. These changes make normal PostgreSQL operation less 'safe', so should be reverted after the restore has completed. It is OK during restore, because if there is a power failure during restore, you will want to start the restore again anyway. If you leave these settings in during normal operation, then a power failure will almost certainly mean the database is corrupted and will need manually restoring!
Do not do this if the PostgreSQL server is used for other things as well!
In the VPOP3\pgsql\data folder:
postgresql.conf
file to postgresql.conf.normal
postgresql.conf
file in Notepadfsync = off maintenance_work_mem = 128MB full_page_writes = off wal_buffers = 16MB checkpoint_segments = 16
postgresql.conf' file to 'postgresql.conf.restore
postgresql.conf.normal
file back to postgresql.conf