Răsfoiți Sursa

clarify borg upgrade docs, fixes #2436

(cherry picked from commit ca6257dd4824a3367e129b722d0487716fff951e)
Thomas Waldmann 8 ani în urmă
părinte
comite
c8c773bac3
1 a modificat fișierele cu 14 adăugiri și 1 ștergeri
  1. 14 1
      borg/archiver.py

+ 14 - 1
borg/archiver.py

@@ -1764,7 +1764,20 @@ class Archiver:
                                help='repository to prune')
 
         upgrade_epilog = textwrap.dedent("""
-        Upgrade an existing Borg repository.
+        Upgrade an existing, local Borg repository.
+
+        When you do not need borg upgrade
+        +++++++++++++++++++++++++++++++++
+
+        Not every change requires that you run ``borg upgrade``.
+
+        You do **not** need to run it when:
+
+        - moving your repository to a different place
+        - upgrading to another point release (like 1.0.x to 1.0.y),
+          except when noted otherwise in the changelog
+        - upgrading from 1.0.x to 1.1.x,
+          except when noted otherwise in the changelog
 
         Borg 1.x.y upgrades
         +++++++++++++++++++