소스 검색

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
 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).