lhns / restic-android

Restic Backup Android App (Unofficial)
GNU General Public License v2.0
151 stars 11 forks source link

Feature request: root access #153

Open TimoWilken opened 1 year ago

TimoWilken commented 1 year ago

My phone is rooted (through Magisk) and I'd like to backup some directories on my phone that aren't available through the normal Android APIs, such as my Termux home directory at /data/data/com.termux/files/home (well, the file picker actually allows me to pick this directory, but it crashes restic-android) or my WhatsApp media at /sdcard/Android/media/com.whatsapp.

Would it be possible to support root access to back up directories like these?

ngosang commented 1 year ago

My phone is not rooted but I can backup most of the files, including WhatsApp => https://github.com/lhns/restic-android/issues/116#issuecomment-1763332338