mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[GH-ISSUE #975] Feature Request: Add Backup All After Date #772
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#772
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 @djhopkins2 on GitHub (Aug 20, 2019).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/975
Given all of the issue surrounding reauthenticating due to Google's strong armed move to disallow SMS Backup + via the normal OAUTH api, it would be nice if there was an option to choose a date to start backups from.
Currently it is an all or nothing choice on what to backup when reauthenticating. Another option in that menu to backup from a particular date would be greatly appreciated either that or a way to say the local sync state. I managed to reauthenticate via the firefox browser method but I had to chose to lose message between aug 8th and now or to resync 40,000+ sms
@coman49 commented on GitHub (Aug 21, 2019):
It would also be good if it knew what has already been backed up and what hasn't. I don't think the app reads email, if it doesn't then it could just keep a record locally of the last backed up item so that it knows where to resume. It likely already does this, but seems to reset if email connection is lost.
@djhopkins2 commented on GitHub (Aug 21, 2019):
Digging into the code, the state of what has been synced is stored as a max date for each of the three types of data (sms,mms,call log). There is no check with the server to see if something has already been synced. It looks like it reads the timestamp of the last sms/mms/call log item and stores that for each type and then on the next sync, only syncs the items after that max date.
Here is where calls are made to change the max date, including the call to clear it that gets done when re/de-authenticating an account.
DataTypePreferences.java
MaxSyncedDate could be manually entered in perhaps the advanced setting fragment as a way to force resync from a particular date.
This is where it display the most recent sync date on the main screen
StatusPreference.java
Another possible location for adding the sync start date would be in the dialog for first sync which ask you to skip or sync all. But the logic would need to be extended since it either sets the maxsyncdate to the current time and date or leaves it empty.
Dialogs.java
The skip backup state could be built upon by making another SkipToDate state and passing it a date to inject as a new max date
BackupTask.java
@nikkopt commented on GitHub (Aug 24, 2019):
"or to resync 40,000+ sms"
Don't take this the wrong way, i'm genuinely curious to know why some people store so many sms on their phones. I mean, you probably have gmail installed so you can see the sms's there whenever you need, right?
I do agree that the feature request is handy.
@realuser commented on GitHub (Sep 4, 2019):
@djhopkins2 Do you know where it stores the timestamp? I'm wondering if there's a way to go in and manually edit the storage to set the desired timestamp