borg: add subdir= config
Note that, after changing it with enableremote, syncing won't rescan known archives in the borg repo using the changed config. Probably not a problem? Also used File in some places where filenames that could theoretically start with - are passed to borg, to avoid it confusing them with options.
This commit is contained in:
parent
1574972ba9
commit
e3d356fe84
3 changed files with 51 additions and 33 deletions
|
@ -1,12 +1,5 @@
|
|||
Sometimes a borg backup contains several git-annex repos. Then pointing
|
||||
git-annex at the whole thing will find objects not belonging to the current
|
||||
repo. To avoid this, add this option:
|
||||
repo. To avoid this, add subdir= config.
|
||||
|
||||
* `subdir` - A subdirectory within the borg repository where git-annex
|
||||
should look for annex object files. This can be the path to a git-annex
|
||||
repository or perhaps a non-encrypted special remote, or a path that
|
||||
contains several repositories. The default is to look through the
|
||||
whole repository.
|
||||
|
||||
This is useful to avoid finding object files in the borg repository
|
||||
that belong to unrelated git-annex repositories.
|
||||
[[done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue