Backup, restore and migrate email accounts.
The backups can then be restored, used to migrate to another service, inspected or exported.
If you have Homebrew, do this:
brew install imap-backup
As a Ruby Gem
gem install imap-backup
If that doesn't work, see the detailed installation instructions.
From Source Code
If you want to use imap-backup directly from the source code, see here.
As a first step, you need to add accounts via a menu-driven command line program:
To use imap-backup with GMail, you will need to enable 'App passwords' on your account.
Manually, from the command line:
Alternatively, add it to your crontab.
- local accounts
- local folders
- local list
- local show
- remote folders
- utils export-to-thunderbird
- utils ignore-history
For a full list of available commands, run
For more information about a command, run
imap-backup help COMMAND
If you have problems:
- ensure that you have the latest release,
- turn on debugging output via the
imap-backup setupmain menu.
See the Development documentation for notes on development and testing.
See the CHANGELOG to a list of changes that have been made in each release.