break-lock.rst.inc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. .. _borg_break-lock:
  2. borg break-lock
  3. ---------------
  4. ::
  5. usage: borg break-lock [-h] [--critical] [--error] [--warning] [--info]
  6. [--debug] [--lock-wait N] [--show-rc]
  7. [--no-files-cache] [--umask M] [--remote-path PATH]
  8. REPOSITORY
  9. Break the repository lock (e.g. in case it was left by a dead borg.
  10. positional arguments:
  11. REPOSITORY repository for which to break the locks
  12. optional arguments:
  13. -h, --help show this help message and exit
  14. --critical work on log level CRITICAL
  15. --error work on log level ERROR
  16. --warning work on log level WARNING (default)
  17. --info, -v, --verbose
  18. work on log level INFO
  19. --debug work on log level DEBUG
  20. --lock-wait N wait for the lock, but max. N seconds (default: 1).
  21. --show-rc show/log the return code (rc)
  22. --no-files-cache do not load/update the file metadata cache used to
  23. detect unchanged files
  24. --umask M set umask to M (local and remote, default: 0077)
  25. --remote-path PATH set remote path to executable (default: "borg")
  26. Description
  27. ~~~~~~~~~~~
  28. This command breaks the repository and cache locks.
  29. Please use carefully and only while no borg process (on any machine) is
  30. trying to access the Cache or the Repository.