Find your backup folder
Open your Backup Location and look inside backups/ for the account folder ending in .horcrux. If the backup is on SFTP or Amazon S3, download the entire account folder first.
Keep source/, versions/, and the supplied restore scripts together. The scripts use the records in versions/ to put each message back in its mailbox.
Open a single message
Inside source/, open a saved .eml file in Apple Mail or another compatible mail app. The file includes the message and its attachments. You can stop here if you only need to read it.
Check a mailbox offline
The backup includes a Python script (fallback.py) and a Ruby version (fallback.rb). To use the Python script, you’ll need Python 3.10 or later.
- Open Terminal in the account folder containing
fallback.py. - Run
python3 fallback.py --dry-runand choose the backup you want to restore. - Review the count of available message files and any missing records. This check runs offline. To see the available options, run
python3 fallback.py --help.
Restore mailboxes to an IMAP account
The script signs in to IMAP with a username and password. Use an app-specific password if your provider requires one. For accounts that require browser sign-in, use Migration in Horcrux when the app is available. The script appends messages to the destination mailboxes, so repeating a restore can create duplicates.
- From the same account folder, run
python3 fallback.py. - Select the backup you checked in the dry run.
- Enter the destination IMAP server, username, and password when prompted. After the restore, open that account in your mail app to review the mailboxes.