Neamar / KISS

Lightning fast, open-source, < 250kb Android launcher
https://kisslauncher.com/
GNU General Public License v3.0
2.98k stars 582 forks source link

Automated backups #2101

Open holocronweaver opened 1 year ago

holocronweaver commented 1 year ago

Is your feature request related to a problem? Please describe. A backup solution that is not automated is not reliable.

Couple personal examples:

Describe the solution you'd like In decreasing order of preference:

  1. KISS automatically backup in a way that's compatible with both built-in Google backup* and 3rd-party file sync and backup solutions (e.g., Dropbox, Nextcloud, etc.).
  2. KISS create timestamped daily backups in a folder. (User could use apps like Dropbox to auto remote backup these folders.)
  3. KISS provide broadcast APIs for automation tools like Tasker so other apps can trigger backups to a file.

Note these solutions are not mutually exclusive! KISS could support all these since options 2 and 3 are fairly simple.

I saw mention in previous backup-related issues that there is hesitance to add file system permissions to KISS. I think it is fine to make file permissions optional. Just give the user a message explaining 1) why the permission is being requested and 2) that automatic file-based backups will not be possible until the permission is granted.

* - I don't think relying solely on the Google backup mechanism is sufficient since not everyone trusts Google with their data, or is even using a Google ecosystem enabled version of Android (e.g., LegacyOS).

Describe alternatives you've considered, or that are already available within KISS I have tried using manual backups, but as illustrated in above scenarios it is not reliable due to the human factor. Besides it creates another chore on a device that should be (almost) fully automated.

Would you be able to contribute code? Yes, though regrettably I have many other obligations so it could take awhile.

Coehill commented 1 year ago

Adding on to this, if Proton Drive exposes the API endpoints, integration there would be appreciated.

holocronweaver commented 3 months ago

Still interested in this. Curious if KISS maintainers have any opinions on if/how this should be implemented.