mirror of https://github.com/borgbackup/borg.git
docs: Improve borg with-lock (#3780)
docs: improve borg with-lock, link to FAQ
This commit is contained in:
parent
da9c1b7a42
commit
60f9849336
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue