joeyates / imap-backup

Backup and Migrate IMAP Email Accounts
MIT License
1.33k stars 74 forks source link

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

Closed bentolor closed 5 months ago

bentolor commented 5 months ago

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?

joeyates commented 5 months ago

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 --accounts=me@example.com,me@outlook.com