Man page - borg-config(1)
Packages contains this manual
- borg-delete(1)
- borg-key-export(1)
- borg-recreate(1)
- borg-compact(1)
- borg-benchmark(1)
- borg-config(1)
- borg-change-passphrase(1)
- borg-import-tar(1)
- borg-check(1)
- borg-extract(1)
- borg-info(1)
- borg-rename(1)
- borg-key-import(1)
- borg-compression(1)
- borg-init(1)
- borg-export-tar(1)
- borg-prune(1)
- borg-mount(1)
- borg(1)
- borg-benchmark-crud(1)
- borg-key(1)
- borgbackup(1)
- borg-version(1)
- borg-with-lock(1)
- borg-key-change-passphrase(1)
- borg-serve(1)
- borg-patterns(1)
- borg-diff(1)
- borg-umount(1)
- borg-break-lock(1)
- borg-placeholders(1)
- borg-key-migrate-to-repokey(1)
- borg-create(1)
- borgfs(1)
- borg-common(1)
- borg-upgrade(1)
- borg-list(1)
apt-get install borgbackup
Manual
BORG-CONFIG
NAMESYNOPSIS
DESCRIPTION
OPTIONS
arguments
optional arguments
EXAMPLES
SEE ALSO
AUTHOR
NAME
borg-config - get, set, and delete values in a repository or cache config file
SYNOPSIS
borg [common options] config [options] [REPOSITORY] [NAME] [VALUE]
DESCRIPTION
This command gets and sets options in a local repository or cache config file. For security reasons, this command only works on local repositories.
To delete a config value entirely, use --delete . To list the values of the configuration file or the default values, use --list . To get and existing key, pass only the key name. To set a key, pass both the key name and the new value. Keys can be specified in the format "section.name" or simply "name"; the section will default to "repository" and "cache" for the repo and cache configs, respectively.
By default, borg config manipulates the repository config file. Using --cache edits the repository cache's config file instead.
OPTIONS
See borg-common(1) for common options of Borg commands.
arguments
REPOSITORY
repository to configure
|
NAME |
name of config key |
|||
|
VALUE |
new value for key |
optional arguments
-c , --cache
get and set values from the repo cache
-d , --delete
delete the key from the config file
-l , --list
list the configuration of the repo
EXAMPLES
NOTE:
The repository & cache config files are some of the only directly manipulable parts of a repository that aren't versioned or backed up, so be careful when making changes!
# find cache directory $ cd ˜/.cache/borg/$(borg config /path/to/repo id) # reserve some space $ borg config /path/to/repo additional_free_space 2G # make a repo append-only $ borg config /path/to/repo append_only 1
SEE ALSO
borg-common(1)
AUTHOR
The Borg Collective