| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 | .\" Man page generated from reStructuredText....nr rst2man-indent-level 0..de1 rstReportMargin\\$1 \\n[an-margin]level \\n[rst2man-indent-level]level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]-\\n[rst2man-indent0]\\n[rst2man-indent1]\\n[rst2man-indent2]...de1 INDENT.\" .rstReportMargin pre:. RS \\$1. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]. nr rst2man-indent-level +1.\" .rstReportMargin post:...de UNINDENT. RE.\" indent \\n[an-margin].\" old: \\n[rst2man-indent\\n[rst2man-indent-level]].nr rst2man-indent-level -1.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]].in \\n[rst2man-indent\\n[rst2man-indent-level]]u...TH "BORG-CONFIG" "1" "2025-04-18" "" "borg backup tool".SH NAMEborg-config \- get, set, and delete values in a repository or cache config file.SH SYNOPSIS.spborg [common options] config [options] [REPOSITORY] [NAME] [VALUE].SH DESCRIPTION.spThis command gets and sets options in a local repository or cache config file.For security reasons, this command only works on local repositories..spTo delete a config value entirely, use \fB\-\-delete\fP\&. To list the valuesof the configuration file or the default values, use \fB\-\-list\fP\&.  To get an existingkey, pass only the key name. To set a key, pass both the key name andthe new value. Keys can be specified in the format \(dqsection.name\(dq orsimply \(dqname\(dq; the section will default to \(dqrepository\(dq and \(dqcache\(dq forthe repo and cache configs, respectively..spBy default, borg config manipulates the repository config file. Using \fB\-\-cache\fPedits the repository cache\(aqs config file instead..SH OPTIONS.spSee \fIborg\-common(1)\fP for common options of Borg commands..SS arguments.INDENT 0.0.TP.B REPOSITORYrepository to configure.TP.B NAMEname of config key.TP.B VALUEnew value for key.UNINDENT.SS options.INDENT 0.0.TP.B  \-c\fP,\fB  \-\-cacheget and set values from the repo cache.TP.B  \-d\fP,\fB  \-\-deletedelete the key from the config file.TP.B  \-l\fP,\fB  \-\-listlist the configuration of the repo.UNINDENT.SH EXAMPLES.sp\fBNOTE:\fP.INDENT 0.0.INDENT 3.5The repository & cache config files are some of the only directly manipulableparts of a repository that aren\(aqt versioned or backed up, so be careful whenmaking changes!.UNINDENT.UNINDENT.INDENT 0.0.INDENT 3.5.sp.EX# 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.EE.UNINDENT.UNINDENT.SH SEE ALSO.sp\fIborg\-common(1)\fP.SH AUTHORThe Borg Collective.\" Generated by docutils manpage writer..
 |