garethgeorge/backrest

Add ability to select multiple items to restore at the same time

Opened this issue · 2 comments

Currently, the only way to restore multiple items at the same time is to restore a full folder contents, but if one wants to restore multiple files/folders from different places in the folder structure, one needs to restore one at the time.
It would be create if we could get a way to select multiple restore items and restore all of them at once.
A quick file/folder search/filter would also be a plus so that we can easily find what we want the restore.

Hey, this isn't something I'm likely to tackle due to limitations of the UI library and my desire to limit my maintenance burden. I feel it'd require a decently complicated new UI to allow selecting tree items and batching them for restoration.

I think a good alternative is that backrest now allows you to restore to an exact path so it's fine to queue up multiple restore operations, the restic cache is used so there isn't much overhead in doing this. The other option is that with the new Run Command feature it's pretty straightforward to craft a restore command directly on the restic CLI.

restore to an exact path

Not sure I understand what this is... Can you please explain it?

From my experience with restores, every time I start a restore, the restore tree closes, and I end up needing to reopen it again, which can be very time consuming as I've described in #228.
I'm not sure what is the impact of that restic cache you mention, as for the 2nd restore it takes the same time opening each branch of the tree than initially.

I then found another issue with the restore, wondering if this issue is related to that exact path you mention: #364