[GH-ISSUE #615] Call Log Backup duplicates #525

Open
opened 2026-02-26 01:30:52 +03:00 by kerem · 1 comment
Owner

Originally created by @jas4711 on GitHub (Nov 27, 2015).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/615

The duplicate check process when taking backups appears a bit fragile. In my "Call Log" folder (not to gmail, to my own IMAP server, if that makes a difference), I have the same call being backed up with subject line of "Call with Foo Bar", "Samtal med Foo Bar" (in Swedish, my normal system language), and "Samtal med 0123456789" (phone# of Foo Bar). Would it be possible for the app to be a bit smarter about this?

I assume my usage scenario is relevant: I re-install my phone once in a while, and rely on SMS Backup+ to restore the SMS/Call Logs from the earlier phone, and then set it up to perform backups going forward. I assume the problem happens during the initial restore and initial backup situation.

Either the duplicate check should be based on a stable property (Message-Id?) or it should recognize all Subject lines, or something. I don't really know how the logic works, so it is difficult to propose a solution.

Originally created by @jas4711 on GitHub (Nov 27, 2015). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/615 The duplicate check process when taking backups appears a bit fragile. In my "Call Log" folder (not to gmail, to my own IMAP server, if that makes a difference), I have the same call being backed up with subject line of "Call with Foo Bar", "Samtal med Foo Bar" (in Swedish, my normal system language), and "Samtal med 0123456789" (phone# of Foo Bar). Would it be possible for the app to be a bit smarter about this? I assume my usage scenario is relevant: I re-install my phone once in a while, and rely on SMS Backup+ to restore the SMS/Call Logs from the earlier phone, and then set it up to perform backups going forward. I assume the problem happens during the initial restore and initial backup situation. Either the duplicate check should be based on a stable property (Message-Id?) or it should recognize all Subject lines, or something. I don't really know how the logic works, so it is difficult to propose a solution.
Author
Owner

@jberkel commented on GitHub (Feb 7, 2016):

Message ids are based on date, phone number and message type. Can you check if the message ids are different?

github.com/jberkel/sms-backup-plus@edb5f412de/src/main/java/com/zegoggles/smssync/mail/HeaderGenerator.java (L102-L102)

<!-- gh-comment-id:181021207 --> @jberkel commented on GitHub (Feb 7, 2016): Message ids are based on date, phone number and message type. Can you check if the message ids are different? https://github.com/jberkel/sms-backup-plus/blob/edb5f412deb096acce079fcb2d2fdc8137e073d7/src/main/java/com/zegoggles/smssync/mail/HeaderGenerator.java#L102-L102
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#525
No description provided.