sms-backup-plus icon indicating copy to clipboard operation
sms-backup-plus copied to clipboard

Automatic back-up not working reliably

Open rustyjarz opened this issue 7 years ago • 46 comments

Hi - SMS autobackup doesn't seem to be happening on the latest version of Andriod (nougat). I really liked this feature, so if you could fix it that would awesome.

rustyjarz avatar May 15 '17 09:05 rustyjarz

I am having the same problem with v1.5.10 running on Android 5.1 (Meizu M3s).

"Regular schedule" and "Incoming schedule" give the following error: "isConnection failed; ENETUNREACH". However manual backup by pressing the button works perfectly.

GreenHex avatar May 24 '17 01:05 GreenHex

I think if you go to battery settings, battery optimizations, and set SMS Backup+ to "Not optimized" it will resume backing up automatically without delay.

mhofman avatar May 25 '17 20:05 mhofman

I have this problem as well, just changed the setting. Is there a code change that needs to be made here?

jasonab avatar Oct 03 '17 20:10 jasonab

I've modified the power-saving features so this app is not 'optimised' for power saving, but hasn't fixed the problem.

rustyjarz avatar Oct 03 '17 21:10 rustyjarz

Problems lead to Solutions.

To get Android nougat to allow SMS backup to automatically backup, change this setting with these steps:

Settings, device maintenance, Battery, unmonitored apps, add apps, add "SMS Backup+" .

See screenshots to help assist you in this.

gaiuslove avatar Nov 25 '17 14:11 gaiuslove

It won't let me leave a screenshot. Okay. But you get the picture.

gaiuslove avatar Nov 25 '17 14:11 gaiuslove

gaiuslove none of the settings labels you're referring to in your post marry up to the setting I have.

rustyjarz avatar Nov 26 '17 00:11 rustyjarz

I have Android 7.1.1, and that is the process by which my SMS backup's automatic backup started to work again.

gaiuslove avatar Nov 26 '17 13:11 gaiuslove

gaiuslove any chance you could take the screenshots and put them in a document and share via dropbox or similar?

rustyjarz avatar Nov 26 '17 21:11 rustyjarz

Now it's letting me leave a screen shot. I'm on my laptop now, not on my phone as before:

screenshot_20171125-080651 1

gaiuslove avatar Nov 26 '17 23:11 gaiuslove

screenshot_20171125-080253 1

gaiuslove avatar Nov 26 '17 23:11 gaiuslove

Please try the new beta: https://github.com/jberkel/sms-backup-plus#beta

It should work without changes to the unmonitored apps configuration

jberkel avatar Dec 20 '17 21:12 jberkel

When I click on Google Play to install it, it says it's already installed. Will it work if I uninstall my current version of SMS back up and install this one?

Sent from Yahoo Mail on Android

On Wed, Dec 20, 2017 at 3:11 PM, Jan Berkel[email protected] wrote:
Please try the new beta: https://github.com/jberkel/sms-backup-plus#beta

It should work without changes to the unmonitored apps configuration

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

gaiuslove avatar Dec 20 '17 21:12 gaiuslove

gaiuslove if you read through the Beta Testing section of the page, it explains how to become a beta tester.

rustyjarz avatar Dec 20 '17 21:12 rustyjarz

@gaiuslove have you signed up for the beta program in Google Play? If so, it should push you an update soon (mine just showed up). If not, you need to scroll to the bottom of the app page in Play and click the sign up button.

jasonab avatar Dec 20 '17 21:12 jasonab

This has been added to the 1.6.0 milestone - I think the idea is to figure out how to ensure that the sleep doesn't affect the automatic backup.

@jberkel is that what you're thinking? I think we should update the title of this issue or fold it into a meta issue around this topic as this is just an unclear bug report

jcrben avatar Apr 24 '18 15:04 jcrben

@jcrben it looks like a duplicate issue and should be merged

jberkel avatar Apr 24 '18 16:04 jberkel

Google play just offered me the (once beta) 1.5.11 and I installed the update. When updating it, I also opted into the beta testing program. Has this (doesn't automatically back-up while phone is sleeping) bug been corrected in 1.5.11, (I guess I will soon see, as I now have 1.5.11), or will it be corrected in 1.6.0 ?

gaiuslove avatar Apr 24 '18 18:04 gaiuslove

I've closed a bunch of other tickets marking them as duplicates of this one. I've selected this one because (a) it has the most comments already, and (b) it's nearly the oldest.

There are two common themes among the other tickets, other than simply "doesn't work":

  1. The Android API for background activity has changed
  2. Logs show "no connectivity"

To which I add my own observations:

  1. Simply putting "disable power saving" in the manifest is becoming less effective at fixing this, as more and more devices become more and more aggressive about their power-saving measures;
  2. "No connectivity" could arise where the device has its Wi-Fi and/or UMTS data links in standby mode;
    • Failure on routing a raw IP packet is what causes the network interfaces to wake up, with the packet being rejected (not just discarded);
    • TCP will immediately treat rejections as errors, rather than treating it like "unreliable delivery" and retrying;
    • Since switching from XOAUTH to IMAP, everyone now relies on low-level TCP connections, so we're seeing a lot more of these reports.

kurahaupo avatar Jul 08 '21 23:07 kurahaupo

FWIW It's been working for me so far on Samsung Galaxy Note 10+ with latest Android 11 after I've disabled battery optimizations.

mwisnicki avatar Jul 10 '21 17:07 mwisnicki

@mwisnicki Yes and it works for me too. Which makes it rather frustrating to diagnose the exact problem.

kurahaupo avatar Jul 12 '21 03:07 kurahaupo

Not working on LineageOS 18.1 (Android 11) on the OnePlus 5T, despite the app being "not optimized" for battery.

com.zegoggles.smssync is a running process, but it seems it never gets a chance to run, not in response to an incoming text, nor on a schedule. Been monitoring adb logcat *:S SMSBackup+:V k9:V for hours now, having received multiple text messages since I started.

Manual backups work. I am not using Google, of course not.

madduck avatar Aug 05 '21 23:08 madduck

It's also not working on CalyxOS 2.8.0 (Android 11) on a Pixel 5 with "not optimized" Manual backups work fine to Dovecot IMAP server.

Just tried SMS Gate which is a fork of SMS Backup+ and it works, even when it's not set to "not optimized" yet.

So maybe look at the source there to get an idea how to fix the issue.

kaistian avatar Aug 27 '21 09:08 kaistian

Had same issue and battery optimization did not help but noticed in MOBILE DATA section I had allowed app run in the background but not while data saver was on. So would not back up automatically even when data saver was off but once I allowed this it backed up perfectly on its own.

Dubroamer avatar Sep 30 '22 23:09 Dubroamer

@Dubroamer Do you think this would have an effect even if I don't use datasaver? I've flicked it now, but so far have not been able to notice a difference.

madduck avatar Oct 03 '22 19:10 madduck

Perhaps. I never turned data saver on and I tried everything else without success before noticing that setting was on. Once I restarted the phone it backed up on its own

Dubroamer avatar Oct 03 '22 22:10 Dubroamer

I turned off the battery optimization and also turned on the mobile data setting that @Dubroamer mentioned above, but nothing happened (i.e. empty log). Then I turned on the "Old backup scheduler" option under "Auto backup settings" and the auto backups started to work! I had tried this old backup scheduler option before and it didn't work, so the combination of battery and background mobile data setting as well as the old scheduler option seem to have done the trick. Phone is Pixel 7 on Android 13.

sooyhwang avatar Dec 08 '22 21:12 sooyhwang

I spoke too soon. In addition to what I did above, the sync seems to work only when the sync log is enabled. If I turn off the sync log collection, syncing stops after about a day. Sync resumed once I turned on the log again. Has anyone noticed this?

sooyhwang avatar Dec 13 '22 02:12 sooyhwang

Automatic backup does not work on my phone despite having everything set the way you describe, @sooyhwang

On Mon, Dec 12, 2022, 18:10 S. Hwang @.***> wrote:

I spoke too soon. In addition to what I did above, the sync seems to work only when the sync log is enabled. If I turn off the sync log collection, the syncing stops after about a day. Has anyone noticed this?

— Reply to this email directly, view it on GitHub https://github.com/jberkel/sms-backup-plus/issues/758#issuecomment-1347648693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC6GFGDGIE4QWBUSVYXT43WM7LKHANCNFSM4DLLQUTA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

highfalutin avatar Dec 13 '22 06:12 highfalutin

Same here, no automatic backups with or without log, neither on a schedule, nor on incoming SMS messages.

madduck avatar Dec 13 '22 13:12 madduck