瀏覽代碼

docs: Improve borg with-lock (#3780)

docs: improve borg with-lock, link to FAQ
infectormp 7 年之前
父節點
當前提交
60f9849336
共有 1 個文件被更改,包括 2 次插入6 次删除
  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).