From 30cfd133282fc3e8a57fd061c75b1490d4a6a23b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 20 Jun 2018 23:05:09 +0200 Subject: [PATCH] Add changelog --- changelog/unreleased/issue-1854 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 changelog/unreleased/issue-1854 diff --git a/changelog/unreleased/issue-1854 b/changelog/unreleased/issue-1854 new file mode 100644 index 000000000..0168102c3 --- /dev/null +++ b/changelog/unreleased/issue-1854 @@ -0,0 +1,16 @@ +Bugfix: Allow saving files/dirs on different fs with `--one-file-system` + +restic now allows saving files/dirs on a different file system in a subdir +correctly even when `--one-file-system` is specified. + +The first thing the restic archiver code does is to build a tree of the target +files/directories. If it detects that a parent directory is already included +(e.g. `restic backup /foo /foo/bar/baz`), it'll ignore the latter argument. + +Without `--one-file-system`, that's perfectly valid: If `/foo` is to be +archived, it will include `/foo/bar/baz`. But with `--one-file-system`, +`/foo/bar/baz` may reside on a different file system, so it won't be included +with `/foo`. + +https://github.com/restic/restic/issues/1854 +https://github.com/restic/restic/pull/1855