mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[GH-ISSUE #749] Additionally backup to a local file #618
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#618
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 @ghost on GitHub (Apr 11, 2017).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/749
I can't find(if there is) an option for ONLY local backup. No G, no private.
@Nicop06 commented on GitHub (Apr 19, 2017):
I wanted to ask the same question. I had a look at the source code and it seems that the only backup option implemented is the IMAP option. Also, adding a local backup option might not be trivial.
@jberkel Is it a feature you are interested in? I can work on a pull request.
@chaoqing commented on GitHub (Feb 13, 2018):
This would be great! Once created a local backup in the local storage, the
termuxsoftware can be used to analysis the message or call log and do anything I want. @Nicop06 do you have any plan implement this?@Nicop06 commented on GitHub (Feb 13, 2018):
@chaoqing I completely forgot about that. I currently don't have time to work on it. I will update this issue if I find the time to start implementing this feature unless someone else wants to work on it.
@jberkel commented on GitHub (Feb 13, 2018):
What do you mean by "local backup"? Copying the data to a database/csv file?
@Nicop06 commented on GitHub (Feb 13, 2018):
On the sd card. So that it can be exported using cloud synchronization applications for instance.
@jberkel commented on GitHub (Mar 28, 2018):
I'd prefer (esp. for privacy reasons) not to store a copy of the user's data locally.
@AeliusSaionji commented on GitHub (Mar 28, 2018):
But uploading to Google is an A-OK privacy move?
It's already locally stored on the phone. We just want more flexibility with that.
@jberkel commented on GitHub (Mar 28, 2018):
@AeliusSaionji it's a question of responsibility: if they are stored on Gmail I'm not responsible for privacy issues (Google is), but storing locally is a different thing (cf. the privacy policy)
Aren't there already dedicated apps which just do local backups?
@AeliusSaionji commented on GitHub (Mar 28, 2018):
If there's a solution on Fdroid that still works on Oreo and supports restoring, I haven't seen it.
@jberkel commented on GitHub (Mar 28, 2018):
Specifically open source apps I don't know, was thinking of "SMS Backup & Restore" (which uses some XML format I believe)
@Woi commented on GitHub (Apr 2, 2018):
A common use case would be migrating from an old to a new phone. Especially for users with google free phones.
@rancidfrog commented on GitHub (Apr 27, 2018):
@jberkel Privacy concern is exactly why I prefer to store locally.
Also, "SMS Backup & Restore" seems to have been sold to some company. Before it was a one man show - Ritesh Sahu, now SyncTech Pty Ltd controls the app.
There has been some bad precedents on companies buying popular small apps.
It would be great to have an option to store it locally ( internal sd, as external sd causes headaches for developers due to googles lack of proper code regarding external devices).
Regarding privacy concerns of local storage, a popup disclaimer could warn users about any privacy issues due to saving data locally, i.e. easily accessible to anyone etc.
@jghq commented on GitHub (Sep 9, 2018):
I just want to add my voice to those requesting a local import/export. A trusted open source application is not in the same class as some shady app from the Play store that does who knows what with our data. A local file can be deleted after use. We would have to run a local IMAP server to be able to achieve that level of control with this app without local import/export, and that seems a bit of an overkill.
@lesmana commented on GitHub (Jul 26, 2019):
as a half workaround there is "slight backup"
https://f-droid.org/en/packages/de.shandschuh.slightbackup/
https://github.com/handschuh/Slight-backup
unfortunately already 5 years old and maintainer seems to be dead.
i was able to export smses. it produces an xml file. but i was not able to import. it just says import successful but no sms imported.
@hydrargyrum commented on GitHub (Nov 9, 2019):
What about MMSes? Neither does SlightBackup nor SMSGate backup them. It would be useful to have sms-backup-plus to save them locally.
@kurahaupo commented on GitHub (May 22, 2020):
I suggest, if this is to be implemented, that it uses MailDir format, rather than combining multiple messages in an archive (eg, XML). That means you don't need to worry about combining or overwriting such files when you export, since every individual message is its own file with a UUID for a name.
This would behave similarly to an IMAP service, so it may simplify some of the coding needed.
Taking that one step further, one possible approach would be to install an IMAP server on the phone, as a separate app, with its own privacy policy. Does anyone know of such a thing?
@hydrargyrum commented on GitHub (May 22, 2020):
@kurahaupo, Epistolaire has a SMS/MMS-JSON to Maildir converter, but this specific converter is written in Python. You might still be interested: https://github.com/hydrargyrum/epistolaire/tree/master/converters/maildir
Python interpreters exist on Android, and if the need arises, the converter could be ported to Kotlin with some effort.
Some of the design decisions were:
Referencesheader pointing to that root messageMessage-IDis a hash of sender + datetime, to have a stable id across backup@kurahaupo commented on GitHub (May 23, 2020):
@hydrargyrum thanks for those very useful points.
I've added some improvement suggestions for you.
I'll look into how threading is currently implemented in SMS Backup+ to see whether these ideas can be incorporated.
@kurahaupo commented on GitHub (May 28, 2020):
channelling further discussion into #974
@HT-7 commented on GitHub (Mar 10, 2025):
Storing it locally is easier, faster, more straightforward.
No dependency on Google services. No bothering with Google accounts. No Internet connection required.
See also: You don't control your data in the cloud
@kurahaupo commented on GitHub (Mar 12, 2025):
@HT-7 this issue is closed as a duplicate of #974.
Everyone please add comment there rather than here.