imap-backup icon indicating copy to clipboard operation
imap-backup copied to clipboard

Support for setting account (backups) to "archived" or "offline"

Open bentolor opened this issue 1 year ago • 3 comments

Hi @joeyates !

Another use case from daily life. I've a backup of an old, decomissioned IMAP account. To avoid it being it included into my weekly imap-backup backup, I obviously removed the account.

Now i want to migrate the content and realize the best would be, to have two different accounts in place.

Hence I currently miss a functionality to set an account (backup) to offline. I'll re-add the account now for migration and then manually remove it again. Or do I miss something?

bentolor avatar Jan 17 '24 13:01 bentolor

Hi @bentolor

There is a way of doing this, but it may not be the most user-friendly approach :)

By default, imap-backup backs up all configured accounts.

To skip one/some, you would need to explicitly list the accounts you actually want backed up:

imap-backup backup [email protected],[email protected]

joeyates avatar Jan 18 '24 11:01 joeyates

@joeyates Would you be open to adding a config option to mark an account as archived (ie: initial remote IMAP server no longer exists) so it is automatically skipped, yet be able to use the other features on it (local, utils)?

axelsimon avatar Aug 12 '24 13:08 axelsimon

Hi @axelsimon

Yes, I would! :smile:

Any PR would need to handle UI for handling this in setup (and have tests!).

joeyates avatar Aug 12 '24 13:08 joeyates

This is now available in the latest release: https://github.com/joeyates/imap-backup/releases/tag/v16.2.0

joeyates avatar Aug 11 '25 13:08 joeyates