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
|
@ -14,6 +14,14 @@ remote:
|
|||
* `borgrepo` - The location of a borg repository, eg a path, or
|
||||
`user@host:path` for ssh access.
|
||||
|
||||
* `subdir` - The subdirectory within the borg repository where git-annex
|
||||
should look for annex object files. The default is to look through the
|
||||
whole borg repository.
|
||||
|
||||
This is useful to avoid learning about annex objects in the borg
|
||||
repository that belong to unrelated git-annex repositories. It can also
|
||||
make syncing faster.
|
||||
|
||||
## setup example
|
||||
|
||||
# borg init --encryption=keyfile /path/to/borgrepo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue