garethgeorge / backrest

Backrest is a web UI and orchestrator for restic backup.
GNU General Public License v3.0
1.09k stars 34 forks source link

[REQ] Add option to fecth snapshot listings recursively #434

Open parasiteoflife opened 3 weeks ago

parasiteoflife commented 3 weeks ago

Is your feature request related to a problem? Please describe. When using remote repositories like Google Drive and rclone, the listing of the snapshots content is slow, since backrest doesn't recursively (--recursive) fetches the content of a snapshot the browsing is too slow.
There are some of us that would prefer to do a single long wait to several ones.

Describe the solution you'd like Add an option to enable recursively fetching the contents of snapshots, --recursive will do this.

Additional context

garethgeorge commented 2 weeks ago

Linking this to a ticket I'm tracking with the restic upstream repo. Listing is definitely a pain point today. My preference is to add some capability to restic that enables faster listings -- today there's not much that can be done here on Backrest's end.

Definitely understood that backrest could be indexing (e.g. an a trie) the tree returned by ls but this is complicated and could be memory intensive unless done on disk (which adds further complexity...).