jberkel / sms-backup-plus

Backup Android SMS, MMS and call log to Gmail / Gcal / IMAP
https://play.google.com/store/apps/details?id=com.zegoggles.smssync
Apache License 2.0
1.79k stars 497 forks source link

Not backing up incoming SMS messages #1031

Open dto-r opened 3 years ago

dto-r commented 3 years ago

Apologies if this isn't the right location to post this q, recently downloaded and used the work around. Its working as should to some degree, but only incoming messages containing an attachment are logged. All outgoing messages are there, but many text threads only have one half of the conversation. Both SMS and MMS backup are checked.

kurahaupo commented 3 years ago

Hi @dto-r

Yes this is the right place, though responses may be a bit slow.

There are a few possible causes that come to mind:

  1. failure to file the SMS messages with the correct thread.
  2. failure to run regular background backups;
  3. you're receiving RCS or AM messages but replying with plain SMS messages;

I suspect case (1) as the most likely case, as it appears that MMS are backing up correctly (anything with an attachment must be a MMS rather than an SMS). Can you do a Gmail search for the missing messages, and see if they're being filed somewhere else? If you don't find them, then can you please enable the debug log, and (after running for a day or two) upload it as an attachment to this issue?

If it was case (2) then messages would eventually turn up.

We've never seen case (3), as every client I've seen replies using the same mechanism as was used to receive the message, but it's possible in theory, and Android does not yet offer an API for third-party apps to access RCS or AM messages.

damien-pous commented 3 years ago

Hi, same problem for me, many incoming messages are not backed up. (outgoing messages are, incoming MMS are, but for incoming SMS, it looks like random: messages from the same contact and only a few minutes away are or are not backed up -- most are not). I looked for the missing messages using gmail search tools without success.

I tried to enable the debug log but the setting is disabled (greyed) on my phone. (willing to provide more feedback if instructions are provided...)

Android 7.0, SMS Backup+ 1.5.11

justjoe2276 commented 3 years ago

I installed on an S8 edge, used the gmail workaround, sent a 'test' msg and viola! It worked. Checked again a couple days later and the only msg backed up was the first 'test' msg I had sent. I only have incoming msg set to backup, I never did the initial full backup(didn't need those) so why would it only have worked for the first 'test' and then not again?

kurahaupo commented 3 years ago

@justjoe2276 was the clock on your device correct when you did the initial test, and is it correct now?

If the recorded "timestamp of last backup" winds up being ahead of the current time on the device, that will block automatic backups from occurring. Does a manual backup work?

Some other tests that might prove informative (even if they don't fix the problem):