Releases: joeyates/imap-backup
Releases · joeyates/imap-backup
Implements a bugfix to correctly accept logging options when running `migrate` and `mirror` commands.
Trap backup errors so other accounts get backed up
Fixes a problem when a single account throws an error, capture log it and keep running, so other accounts get backed up.
Optional --reset on Migrations, Source and destination delimiter options for Migrate and Mirror and Bugfixes
From the changelog:
9.0.2 - 2023-01-09
Changed
- BUGFIX: When an account has
folder_blacklist
set but no list of
configured folders, it now backs up all folders.
9.0.1 - 2022-12-29
Changed
- Made
--reset
option onmigrate
optional. Now, existing emails
in destination folders are kept.
9.0.0 - 2022-12-29
Added
- Options for setting source and destination delimiters for the
migrate
andmirror
commands.
8.0.1 - 2022-09-24
Changed
- Filtered out non-standard flags from
migrate
andrestore
.
Folder blacklist/whitelist toggle, optional JSON output, custom config paths and more
From the changelog:
[8.0.0] - 2022-09-24
Added
- An account option 'folder_blacklist'. When set the user chooses
which folders to exclude from backups. Otherwise, the folders
chosen by the user are the ones to include, - Provision of JSON output for the 'remote folders' command,
- A 'remote namespaces' command to help with configuration of
the 'migrate' and 'mirror' commands.
Changed
- Removed 'Experimental' warning from 'migrate' command,
- Removed 'Experimental' warning from 'export-to-thunderbird' command,
- Renamed Folder#*_flags methods,
- Improved setup account menu ordering,
- An account's connection_options can now be cleared by entering an empty string.
Removed
- Deprecated
folders
command, replaced byremote folders
.
[8.0.0.rc1] - 2022-09-19
Added
- --config parameter to allow for non-default placing of the configuration file
Removed
- Deprecated
status
command, replaced bystats
.
[7.0.2] - 2022-09-17
- Changed logging behaviour:
- Made info the normal logger level,
- Removed configuration 'debug' setting,
- Added a --verbose flag,
- Add a --quiet flag.
- Corrected handling of account connection options after changes.
Flag backups and the Mirror Command
This major release includes three major changes:
- it introduces a new metadata format,
- email flags are now backed up,
- it introduces a 'mirror' command.
Below is the information form the CHANGELOG.
New Metadata Format
- Introduced a new metadata format.
- Included data about message offsets and lengths in the new metadata to
facilitate for future integrity checks. - Added a migrator to transform the old (version 2) metadata files
into the newer (version 3) files.
Flags Backup
- Added backup and restore of IMAP flags (e.g. "Seen", "Draft").
Mirror
- Added a 'mirror mode' to account configuration that changes backup behaviour:
- removes local folders that are no longer to be backed up,
- removes emails that are no longer present on the server,
- updates flags on the local backup to match those on the server.
- Added a 'mirror' command that takes a 'mirror mode' backup and copies
it to another server. - Added a '--refresh' option to the backup command that, updates flags
on the local backup to match those on the server, even for accounts
that are not in 'mirror mode'.
Fix Setup Error for New Accounts
Versions since 6.1.0 had a bug that broke setup for new accounts. This version fixes that problem.
Handle Providers That Set the '\Seen' Flag When Emails are Fetched
Added a workaround option for providers that set the '\Seen' flag when emails are fetched.
Avoid Unnecessary Re-connections to Server
Memoize connections to reduce unnecessary reconnections and the risk of exceeding server connection limits.
Add New 'stats' Command
[6.0.0] - 2022-06-04
Changed
- Deprecated the 'status' command, in favour of the new 'stats' command.
- Added new 'stats' command, with optional JSON output.
- Resolved long running CI problem with feature specs failing due to
too many active IMAP connections.