-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Use full paths in mounted snapshots #1286
Copy link
Copy link
Closed
Labels
Description
If I backup a set of directories: restic backup ~/A ~/B ~/C ~/D/E/F ~/G/H, and then mount the snapshot, I get a directory structure with top level directories: A, B, C, F, H. I.e., only the last directory is used. When I list the snapshots, I can see the full paths, so the information is clearly preserved. I think it would be beneficial, if mounted snapshots used the full path structure, so in the example above, I'd see only one directory: /Users (on a Mac) or /home (on Linux).
This problem, by the way, becomes an actual bug, if there are overlapping names (e.g., ~/A/X and ~/B/X). Only one of them is available in the mounted snapshot.
Reactions are currently unavailable