see https://github.com/restic/restic/pull/3235 and https://github.com/restic/restic/issues/3202 This will be tackled after support for cache #33 is merged.