lhns / lhns/restic-android

[Feature request] Support multiple folders in the same backup

Open
#116 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
223
Forks
14
PR merge metrics
No merged PRs in 30d

Description

First of all, thank you for this amazing App. Its the best app I have found for Restic / Android. You should publish it in the marketplaces, it will be more visible.

I have a smartphone with Android 13. The app is working well but the configuration is a bit more complicate than it should be.

Use case: I want to backup all the files in my phone. I can't not select the main folder of my phone (where DCIM and Android folders are) because privacy or permissions. I don't care about permissions but Android don't let me.
To solve this I'm creating different backups. One for DCIM, one for Android folder... It works but instead of having 1 backup, I have a lot of different backups and if I want to restore my phone I have to restore many backups one by one.

My proposals:

  1. Find a way to select the main folder. I don't see the reason it's not allowed. This will be perfect combined with #86
  2. Allow the user to select more than one folder in each backup. Convert the folder path into a list with multiple paths. All files from all paths will be included in the same backup. It's supported by Restic using restic ... backup folder1 folder2 ... Another way of doing the same is => https://restic.readthedocs.io/en/stable/040_backup.html#including-files

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing the backup folder configuration and the entry point that invokes Restic, then compare the two proposed approaches with Android 13 storage restrictions. Done means one backup can include multiple selected folders and restore them together.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.