IMAPbackup
IMAPbackup copied to clipboard
Restore backup
Hi! I successfully backed up an email account. Now, I would like to restore it locally (using any email client) in order to look for old mails. How can I achieve this?
I know this is not an "issue", but it would be great to add some documentation about this topic (restoration) in the readme. Thanks!
This what worked for me :
Once all files were downloaded, they were saved in the proper directory structure but with my hostname as file extension.
I take absolutely no responsibility for this, but on Linux, running this command worked : (make sure to backup your backups before you run this :) :
find . -type f -name "*.myhostname" -exec rename 's/.myhostname$/.eml/' '{}' ;
Replace "myhostname" with whatever filename extension your files got.
I could then successfully import the .eml files into my mail client (I'm using Thunderbird myself).
I think this is a great tool, I'm a fan of backups, and it's always nice to keep some extra backups laying around :)
All my best
Peter