This is an old revision of the document!
(This option is only available in VPOP3 Enterprise)
First - if the problem is that messages were deleted very recently (the default is within 3 days), you can probably use the Undelete feature in VPOP3.
If the messages were deleted longer ago than that, you can use the partial restore facility in VPOP3 version 5 or later.
Note that you do not need to stop VPOP3 to do this
To restore the database, you would open a command prompt, then go to the VPOP3 installation folder. Then, go to the pgsql\bin subfolder
e.g. cd \vpop3\pgsql\bin
Then, you would need to create the temporary database
e.g. createdb -U postgres -p 5433 -T template0 -E SQL_ASCII vpop3temp
(the default password is pgsqlpass
)
Now, you need to restore the database backup to the temporary database
e.g. pg_restore -U postgres -p 5433 -d vpop3temp -j 4 -v DBBACK-n.TMP
(the default password is pgsqlpass
)
localhost
postgres
pgsqlpass
5433
vpop3temp
from the Database drop-downNow, choose the appropriate mailboxes/folders from the table. You can choose where to restore the messages - into the original user's mailbox, or a specified user, and if you want to restore the folders to the original folder or a specified folder.
You can also choose whether you want the restored messages to be marked unread, 'flagged' (or 'starred', or however your email client displays the IMAP 'FLAGGED' attribute), or with the original attributes.
Press Start Restore to start the restore process - note that this may take a while if there are lots of messages to be restored.