-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Enable Seedvault encrypted backups #2312
Comments
has been disabled intentionally. Why: Android seem to unconditionally terminate application during backup. For people who use Termux just as a terminal, that's not a big deal. But for others, who run SSH tunnels, servers, etc, that's a nightmare. Also it is unknown whether it will work properly. Termux often uses special files like symlinks (not saying about access modes) and overall data size often grows to gigabytes. |
I understand your point. Would it be possible to let users change this option through settings or this is something that has to be set during compilation process?
So it looks like it would be more complicated than I thought. Thank you for the quick reply. |
Related issue #122 Don't think you can enable/disable the starting of backup process which kills the app. The https://developer.android.com/guide/topics/data/autobackup#BackupSchedule
But defining custom files to be backed up seems to be possible with https://developer.android.com/guide/topics/data/autobackup#ImplementingBackupAgent https://developer.android.com/guide/topics/data/keyvaluebackup#BackupAgentHelper And the max limit of https://developer.android.com/guide/topics/data/autobackup#BackupLocation
https://developer.android.com/reference/android/app/backup/BackupAgent#onQuotaExceeded(long,%20long) Seedvault seems to have
|
I see.
That's what I suspected unfortunately.
Thank you for the link.
Yeah, that's really low. I think the only thing we could fit there would be Termux settings and maybe GPG/SSH keys because that shouldn't take too much space in most cases.
Interesting, so technically Seedvault developers could modify the code to allow backup of any size, am i right? Then Termux backup through Seedvault would make more sense if there would be some warning about Termux shutting down on every backup. |
Users would have to define a list of files they want to backup, cause
I haven't looked much at the code, but possibility yes.
But Maybe a plugin app can be created just for backup since it will have access to termux files due to Moreover, unlike other apps, termux provides lot of command line tools for customized backups for random files, including compressed and encrypted backups, that can be backed up locally as well as to different cloud storages or servers other than just google, like with |
Maybe they could do so in ".backup" file? It would be pretty clear what the file is for. I think pictures and videos should be kept outside of Termux unless you actually need them inside terminal emulator for any reason.
I mean you said that they did set it to 50 MB so I think they can set it to whatever else they want then.
Good point.
I think only the plugin would get killed but in this case enabling backup would require installing plugin so users will be more aware of what they are doing and what may be the consequences. |
Well, someone will have to create a basic POC plugin (or modify something like |
Since the discussion isn't going anywhere you should close it. |
Feature description
In my opinion it would be good idea to let users backup Termux application using Seedvault. Here you can see example of how such backup option could be implemented in privacy-respecting way. More details about it here. Thank you in advance.
Additional information
I don't think so.
The text was updated successfully, but these errors were encountered: