syncthing-android icon indicating copy to clipboard operation
syncthing-android copied to clipboard

Export configuration as one file

Open chaserene opened this issue 3 years ago • 6 comments

Description of the issue

For easier handling of config backups, you could export the configuration as a zip of the config files. If this file would be named based on the date and time of the export, it would also make it easier to manage the backups.

chaserene avatar Jul 21 '20 17:07 chaserene

Hi, yes I came across this idea some time before but didn't find a ZIP interface I could use the same way on all Android versions. A pointer would help me where to look at to do this best... The zip optimally should be encrypted by a passphrase the user chooses.

Catfriend1 avatar Jul 21 '20 19:07 Catfriend1

I'm really not in the know with regards to interfaces, sorry.

Agreed, password encryption would be very useful; though not essential (an unencrypted zip is still an improvement over no zipping at all).

chaserene avatar Jul 21 '20 19:07 chaserene

Hm did a quick google on that, maybe we'll try it on Android 11 then. We need to get the sdcard write thing right for this to work conveniently.

Catfriend1 avatar Jul 21 '20 19:07 Catfriend1

https://github.com/srikanth-lingala/zip4j

Catfriend1 avatar Sep 21 '21 20:09 Catfriend1

PR please ^^

Catfriend1 avatar Jul 26 '23 09:07 Catfriend1