瀏覽代碼

docs: Document BORG_FILES_CACHE_SUFFIX environment variable

Github-Pull: #5433
Rebased-From: 561fbb748cc39c1baf7d60af00ad49936450a747
Luke Dashjr 4 年之前
父節點
當前提交
9722909b1f
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/usage/general/environment.rst.inc

+ 4 - 0
docs/usage/general/environment.rst.inc

@@ -56,6 +56,10 @@ General:
     BORG_REMOTE_PATH
     BORG_REMOTE_PATH
         When set, use the given path as borg executable on the remote (defaults to "borg" if unset).
         When set, use the given path as borg executable on the remote (defaults to "borg" if unset).
         Using ``--remote-path PATH`` commandline option overrides the environment variable.
         Using ``--remote-path PATH`` commandline option overrides the environment variable.
+    BORG_FILES_CACHE_SUFFIX
+        When set to a value at least one character long, instructs borg to use a specifically named
+        (based on the suffix) alternative files cache. This can be used to avoid loading and saving
+        cache entries for backup sources other than the current sources.
     BORG_FILES_CACHE_TTL
     BORG_FILES_CACHE_TTL
         When set to a numeric value, this determines the maximum "time to live" for the files cache
         When set to a numeric value, this determines the maximum "time to live" for the files cache
         entries (default: 20). The files cache is used to quickly determine whether a file is unchanged.
         entries (default: 20). The files cache is used to quickly determine whether a file is unchanged.