| 1 |
Bugfix: Allow saving files/dirs on different fs with `--one-file-system` |
| 2 |
|
| 3 |
restic now allows saving files/dirs on a different file system in a subdir |
| 4 |
correctly even when `--one-file-system` is specified. |
| 5 |
|
| 6 |
The first thing the restic archiver code does is to build a tree of the target |
| 7 |
files/directories. If it detects that a parent directory is already included |
| 8 |
(e.g. `restic backup /foo /foo/bar/baz`), it'll ignore the latter argument. |
| 9 |
|
| 10 |
Without `--one-file-system`, that's perfectly valid: If `/foo` is to be |
| 11 |
archived, it will include `/foo/bar/baz`. But with `--one-file-system`, |
| 12 |
`/foo/bar/baz` may reside on a different file system, so it won't be included |
| 13 |
with `/foo`. |
| 14 |
|
| 15 |
https://github.com/restic/restic/issues/1854 |
| 16 |
https://github.com/restic/restic/pull/1855 |