|
@@ -451,6 +451,21 @@ When set to no (default: yes), system information (like OS, Python version, ...)
|
|
exceptions is not shown.
|
|
exceptions is not shown.
|
|
Please only use for good reasons as it makes issues harder to analyze.
|
|
Please only use for good reasons as it makes issues harder to analyze.
|
|
.TP
|
|
.TP
|
|
|
|
+.B BORG_WORKAROUNDS
|
|
|
|
+A list of comma separated strings that trigger workarounds in borg,
|
|
|
|
+e.g. to work around bugs in other software.
|
|
|
|
+.sp
|
|
|
|
+Currently known strings are:
|
|
|
|
+.INDENT 7.0
|
|
|
|
+.TP
|
|
|
|
+.B basesyncfile
|
|
|
|
+Use the more simple BaseSyncFile code to avoid issues with sync_file_range.
|
|
|
|
+You might need this to run borg on WSL (Windows Subsystem for Linux) or
|
|
|
|
+in systemd.nspawn containers on some architectures (e.g. ARM).
|
|
|
|
+Using this does not affect data safety, but might result in a more bursty
|
|
|
|
+write to disk behaviour (not continuously streaming to disk).
|
|
|
|
+.UNINDENT
|
|
|
|
+.TP
|
|
.B TMPDIR
|
|
.B TMPDIR
|
|
where temporary files are stored (might need a lot of temporary space for some operations), see \fI\%tempfile\fP for details
|
|
where temporary files are stored (might need a lot of temporary space for some operations), see \fI\%tempfile\fP for details
|
|
.UNINDENT
|
|
.UNINDENT
|
|
@@ -485,17 +500,18 @@ allowed). So please test your scripts interactively before making them a non\-in
|
|
Default to \(aq$HOME\(aq, \(aq~$USER\(aq, \(aq~\(aq (in that order)\(aq.
|
|
Default to \(aq$HOME\(aq, \(aq~$USER\(aq, \(aq~\(aq (in that order)\(aq.
|
|
If we refer to ~ below, we in fact mean BORG_BASE_DIR.
|
|
If we refer to ~ below, we in fact mean BORG_BASE_DIR.
|
|
.TP
|
|
.TP
|
|
-.B BORG_CONFIG_DIR
|
|
|
|
-Default to \(aq~/.config/borg\(aq. This directory contains the whole config directories.
|
|
|
|
-.TP
|
|
|
|
.B BORG_CACHE_DIR
|
|
.B BORG_CACHE_DIR
|
|
Default to \(aq~/.cache/borg\(aq. This directory contains the local cache and might need a lot
|
|
Default to \(aq~/.cache/borg\(aq. This directory contains the local cache and might need a lot
|
|
-of space for dealing with big repositories.
|
|
|
|
|
|
+of space for dealing with big repositories. Make sure you\(aqre aware of the associated
|
|
|
|
+security aspects of the cache location: \fIcache_security\fP
|
|
|
|
+.TP
|
|
|
|
+.B BORG_CONFIG_DIR
|
|
|
|
+Default to \(aq~/.config/borg\(aq. This directory contains the whole config directories.
|
|
.TP
|
|
.TP
|
|
.B BORG_SECURITY_DIR
|
|
.B BORG_SECURITY_DIR
|
|
Default to \(aq~/.config/borg/security\(aq. This directory contains information borg uses to
|
|
Default to \(aq~/.config/borg/security\(aq. This directory contains information borg uses to
|
|
track its usage of NONCES ("numbers used once" \- usually in encryption context) and other
|
|
track its usage of NONCES ("numbers used once" \- usually in encryption context) and other
|
|
-security relevant data.
|
|
|
|
|
|
+security relevant data. Will move with BORG_CONFIG_DIR variable unless specified.
|
|
.TP
|
|
.TP
|
|
.B BORG_KEYS_DIR
|
|
.B BORG_KEYS_DIR
|
|
Default to \(aq~/.config/borg/keys\(aq. This directory contains keys for encrypted repositories.
|
|
Default to \(aq~/.config/borg/keys\(aq. This directory contains keys for encrypted repositories.
|
|
@@ -658,7 +674,16 @@ the size of all deduplicated, small chunks in the repository. Big chunks
|
|
won\(aqt be locally cached.
|
|
won\(aqt be locally cached.
|
|
.TP
|
|
.TP
|
|
.B Temporary files (server):
|
|
.B Temporary files (server):
|
|
-None.
|
|
|
|
|
|
+A non\-trivial amount of data will be stored on the remote temp directory
|
|
|
|
+for each client that connects to it. For some remotes, this can fill the
|
|
|
|
+default temporary directory at /tmp. This can be remediated by ensuring the
|
|
|
|
+$TMPDIR, $TEMP, or $TMP environment variable is properly set for the sshd
|
|
|
|
+process.
|
|
|
|
+For some OSes, this can be done just by setting the correct value in the
|
|
|
|
+.bashrc (or equivalent login config file for other shells), however in
|
|
|
|
+other cases it may be neccessary to first enable \fBPermitUserEnvironment yes\fP
|
|
|
|
+in your \fBsshd_config\fP file, then add \fBenvironment="TMPDIR=/my/big/tmpdir"\fP
|
|
|
|
+at the start of the public key to be used in the \fBauthorized_hosts\fP file.
|
|
.TP
|
|
.TP
|
|
.B Cache files (client only):
|
|
.B Cache files (client only):
|
|
Contains the chunks index and files index (plus a collection of single\-
|
|
Contains the chunks index and files index (plus a collection of single\-
|