offlineimap smart backup synchronization = bidirectional synchronization without deleting any messages

proxym wproxym at gmail.com
Wed Dec 26 20:43:46 GMT 2012


Yes, removing of status folder before offlineimap starting works fine.
It is real "bidirectional synchronization without deleting any
messages", but this resynchronization operation takes more than 4
hours. It is too long.
It is faster then full downloading of my mail (which takes more than 1 day).
I have near 131197 meassages (1,6GB after "hardlink compression" by
hardlink program).

Looks like I must to write own patch for offlineimap to create support
for real smart "bidirectional synchronization without deleting any
messages".

2012/12/20 Edward Z. Yang <ezyang at mit.edu>:
> OK, so you basically want OfflineIMAP to never delete anything.
> That would work, in that case.
>
> Edawrd
>
> Excerpts from proxym's message of Thu Dec 20 13:18:55 +0800 2012:
>> I need removing it every time, because I want that:
>> 1) all messages which were deleted locally will be restored from
>> remote instead of removing on remote
>> 2) all messages which were deleted remotely will be restored from
>> local instead of removing on local
>>
>> I assume that every time before I started offlineimap some messages
>> can be deleted on local maildir or remote imap.
>>
>> 2012/12/20 Edward Z. Yang <ezyang at mit.edu>:
>> > Excerpts from proxym's message of Thu Dec 20 12:46:35 +0800 2012:
>> >> Then the best solution for me is just a total removing of status
>> >> folder (/home/username/.offlineimap) before every start of
>> >> offlineimap, isn't it?
>> >>
>> >> I can't believe that it is so simple =)
>> >
>> > Well, after your status folder is initialized for the first time,
>> > you shouldn't need to remove it again.
>> >
>> > Edward




More information about the OfflineIMAP-project mailing list