mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[GH-ISSUE #954] Automatic backup not worked for about a year #754
Labels
No labels
AM+RCS
FAQ
awaiting response
backup
bespoke
bug
calendar
call log
cannot reproduce
cloudless
device-specific
documentation
dual- & multi-SIM
duplicate
feature-request
fixed in beta
good first issue
half-missing
help wanted
helpful
meta
misattribution
mms
other message sources
pull-request
question
rejuvenation
restore
schedule
security
stale
task
thanks
v1.5.1
v1.5.10
v1.5.11
v1.5.2
v1.5.3
v1.5.3
v1.5.4
v1.5.4
v1.5.5
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6β
xoauth
~$ bounty $~
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sms-backup-plus-jberkel#754
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @turkeyphant on GitHub (Apr 30, 2019).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/954
Expected behaviour
Automatic backup to work according to regular schedule and post-receipt schedule settings.
Actual behaviour
Only manual backups work.
Steps to reproduce the behaviour
Set automatic backup to every 30 mins and receipt backup to 1 min after receiving a new SMS.
Receive an SMS/wait 1 hour.
No backup since last manual backup.
Last time it attempted an automatic backup was in August and then even after 34 SMS and 48 calls were logged, it did not do another automatic backup and I had to trigger it manually.
Please specify the following:
@srauco commented on GitHub (May 8, 2019):
I have the same issue. It will manually backup, and says it's scheduled for the next increment, but never fires.
Android 9
Pixel 3
1.5.11
Stock Android Messenger
@MaKali42 commented on GitHub (May 24, 2019):
I've been having the same problem since the beginning of 2019 with the backup schedule not initiating but manual working just fine. I've checked all settings for both the app and phone, tried different schedules, and made sure everything is up to date.
Android 7.0
Note5
1.5.11
Stock messenger
@kwinz commented on GitHub (Jun 15, 2019):
I have the same problem. Galaxy S7. Stock Android 8.0
SMS backup is in the Doze "do not optimize"app exception list.
And also in the Samsung "don't put to sleep" list.
But still only manual backups work.
@wuxxin commented on GitHub (Aug 7, 2019):
also affected: Google Pixel with Lineage 16 (Android 9), SMS Backup+ from fdroid Version 1.5.11
what is working: start manual backup
what is not working: automatic Backup (but selected)
what is greyed out: "Connect" (Verbinden in German) can not be selected
probably a duplicate: #957
@kurahaupo commented on GitHub (Apr 26, 2020):
To confirm whether this is power-related, does your phone have the option to "never sleep while charging"? If so, turn that on, leave it on the charger, send it a message from another phone, and then let us know whether any automatic backup occurs.
Obviously that's not a permanent solution, but it helps by ruling out possible causes.
@wuxxin commented on GitHub (Apr 26, 2020):
i only found "do not put display to sleep while charging", which was off, and i will switch it on for a test run. Also i put sms backup in the list of "non optimized" battery applications.
i will write tommorrow if anything of these two settings changed something
@kurahaupo commented on GitHub (Apr 27, 2020):
thanks, I await your findings.
@turkeyphant commented on GitHub (Apr 27, 2020):
I don't have that option. Just checked the app and it hadn't updated since October 2019. Running manually worked fine.
@wuxxin commented on GitHub (Apr 27, 2020):
none of the settings did make sms backup execute the backup. i pushed the manual backup button right now, and (as expected) it backed up my calls and sms from last day.
@kurahaupo commented on GitHub (May 7, 2020):
It's worth noting that the majority of scheduling failures are related to power management.
It would help diagnostic efforts if everyone could check whether or not bypassing power management fixes each problem. The easiest way to do that it to enable "keep screen on when charging" and put the phone on charge; then send a test message, and wait.
@turkeyphant commented on GitHub (May 7, 2020):
Just tried that and no dice. MightyText started syncing immediately though.
@kurahaupo commented on GitHub (May 11, 2020):
@turkeyphant, @wuxxin thanks for doing that.
@kurahaupo commented on GitHub (Jun 12, 2021):
I should have said sooner, the next thing is to enable and upload the debug log, so we can see whether
SMS Backup+is waking up but failing to sync, or not waking up.If you are still having this problem (that is, manual backup works, but automatic backups do not) please:
My suspicion is that on some phones, apps can be woken up but WiFi and/or mobile data might still be in "low power" mode and therefore not immediately unavailable, and that "try again in 5 seconds" might resolve the problem.
Another possibility is that the phone's security system doesn't want to let any background apps initiate direct TCP connections (instead of known APIs) "because malware blah blah", but isn't telling anyone.
It would also be really helpful if you have access to intercept WiFi data (tcpdump on your router?) and can check whether there's an outgoing TCP SYN to port 143 or 993 and a return SYN/ACK, at the time when the log indicates that it wakes up and attempts (but fails) to initiate an IMAP connection.
Also very useful would be if use your own IMAP server and can compare logs from both ends.
@kurahaupo commented on GitHub (Jul 8, 2021):
Thanks everyone for the feedback.
Using the new Oreo JobScheduler API is on the roadmap.
I'm marking this as a duplicate of #758 just so we can track one issue and keep all the feedback in one place.