email_restore - Restore messages from a backup snapshot
./email_restore -e user@example.com
email - a valid email address on this server
dir - the path to the email backups host - the hostname of this server (default: `hostname`)
Restore email messages from backups.
Expects backups to be in rsnapshot format (host/[daily|weekly|monthly].N/$path)
Requires that you have backups accessible (mounted locally) to this script. This could easily be extended to support restores across the network.
Matt Simerson (matt@tnpi.net)
To install Mail::Toaster, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Toaster
CPAN shell
perl -MCPAN -e shell install Mail::Toaster
For more information on module installation, please visit the detailed CPAN module installation guide.