User Tools

Site Tools


how_to:restore_folder_v3

This is an old revision of the document!


Restore a single user's mailbox or folder

Version 5 or later

Recycle Bin

If you have recently deleted messages by mistake, and want to undelete them, you can use the 'recycle bin' functionality in VPOP3 Enterprise.

In the VPOP3 settings, go to Users, then double-click the user in question to edit their account. Go to the Advanced tab.

In the Since boxes, choose the time & date you want to undelete messages from, and press Undelete. This will undelete any messages which were deleted after the specified date/time. You can also check the unread and/or starred boxes to have the undeleted messages automatically be marked unread and/or flagged, so they are easier to find.

The VPOP3 recycle bin keeps messages for the time specified in Settings → Database → Message Store

Partial Restore

You can perform a partial restore of a database backup by going to Settings → Database → Restore

First, you need to restore the backup into a PostgreSQL database. Do this using the pg_restore command. From a command-line in the VPOP3 directory, run

pgsql\bin\createdb -U postgres -p 5433 -E SQL_ASCII -T template0 vpop3back
pgsql\bin\pg_restore -U postgres -p 5433 -d vpop3back -v <backup file>

(the password is 'pgsqlpass')

This will restore the backup database to the 'vpop3back' database

Then, in the Restore tab in the VPOP3 Database section, enter:

  • Server: localhost
  • Username: postgres
  • Password: pgsqlpass
  • Database: vpop3back

Choose the relevant username/folder(s). You can choose which user/folder the messages will be restored to, and whether they will be marked unread or flagged. Then press Start Restore

Version 3 or 4

To restore a single user's Mailbox or folder is currently only possible in VPOP3 Enterprise, and requires a second PC to act as a temporary VPOP3 server.

You need to:

  • Restore your latest VPOP3 backup to another PC (a temporary VPOP3 server)
  • Configure your email client to access the temporary VPOP3 server using IMAP4, as well as your normal VPOP3 server
  • Use your email client to copy the messages from the relevant IMAP4 folder(s) on the temporary VPOP3 server to the normal VPOP3 server
how_to/restore_folder_v3.1355830879.txt.gz · Last modified: 2018/11/14 10:44 (external edit)