Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore backup #3

Open
leamasuero opened this issue Dec 31, 2020 · 1 comment
Open

Restore backup #3

leamasuero opened this issue Dec 31, 2020 · 1 comment

Comments

@leamasuero
Copy link

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!

@loppanloppis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants