Browse Source

docs: Improve borg with-lock (#3780)

docs: improve borg with-lock, link to FAQ
infectormp 7 years ago
parent
commit
60f9849336
1 changed files with 2 additions and 6 deletions
  1. 2 6
      docs/usage/with-lock.rst.inc

+ 2 - 6
docs/usage/with-lock.rst.inc

@@ -57,9 +57,5 @@ running in the repo), then execute the given command as a subprocess and wait
 for its termination, release the lock and return the user command's return
 for its termination, release the lock and return the user command's return
 code as borg's return code.
 code as borg's return code.
 
 
-.. note::
-
-    If you copy a repository with the lock held, the lock will be present in
-    the copy. Thus, before using borg on the copy from a different host,
-    you need to use "borg break-lock" on the copied repository, because
-    Borg is cautious and does not automatically remove stale locks made by a different host.
+As example you can use "borg with-lock" to copy a repo to another location
+(see :ref:`can_i_copy_or_synchronize_my_repo_to_another_location` in the FAQ).