瀏覽代碼

clarify same-filesystem requirement for borg upgrade, fixes #2083

(cherry picked from commit fe746fa5948f948bb963830298d5f86b5e53ea12)
Thomas Waldmann 7 年之前
父節點
當前提交
e7ae63f1f6
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/borg/archiver.py

+ 7 - 7
src/borg/archiver.py

@@ -3499,13 +3499,13 @@ class Archiver:
 
 
             borg delete borg
             borg delete borg
 
 
-        Unless ``--inplace`` is specified, the upgrade process first
-        creates a backup copy of the repository, in
-        REPOSITORY.before-upgrade-DATETIME, using hardlinks. This takes
-        longer than in place upgrades, but is much safer and gives
-        progress information (as opposed to ``cp -al``). Once you are
-        satisfied with the conversion, you can safely destroy the
-        backup copy.
+        Unless ``--inplace`` is specified, the upgrade process first creates a backup
+        copy of the repository, in REPOSITORY.before-upgrade-DATETIME, using hardlinks.
+        This requires that the repository and its parent directory reside on same
+        filesystem so the hardlink copy can work.
+        This takes longer than in place upgrades, but is much safer and gives
+        progress information (as opposed to ``cp -al``). Once you are satisfied
+        with the conversion, you can safely destroy the backup copy.
 
 
         WARNING: Running the upgrade in place will make the current
         WARNING: Running the upgrade in place will make the current
         copy unusable with older version, with no way of going back
         copy unusable with older version, with no way of going back