mount.rst.inc 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_mount:
  3. borg mount
  4. ----------
  5. ::
  6. usage: borg mount [-h] [--critical] [--error] [--warning] [--info] [--debug]
  7. [--lock-wait N] [--show-rc] [--no-files-cache] [--umask M]
  8. [--remote-path PATH] [-f] [-o OPTIONS]
  9. REPOSITORY_OR_ARCHIVE MOUNTPOINT
  10. Mount archive or an entire repository as a FUSE filesystem
  11. positional arguments:
  12. REPOSITORY_OR_ARCHIVE
  13. repository/archive to mount
  14. MOUNTPOINT where to mount filesystem
  15. optional arguments:
  16. -h, --help show this help message and exit
  17. --critical work on log level CRITICAL
  18. --error work on log level ERROR
  19. --warning work on log level WARNING (default)
  20. --info, -v, --verbose
  21. work on log level INFO
  22. --debug work on log level DEBUG
  23. --lock-wait N wait for the lock, but max. N seconds (default: 1).
  24. --show-rc show/log the return code (rc)
  25. --no-files-cache do not load/update the file metadata cache used to
  26. detect unchanged files
  27. --umask M set umask to M (local and remote, default: 0077)
  28. --remote-path PATH use PATH as borg executable on the remote (default:
  29. "borg")
  30. -f, --foreground stay in foreground, do not daemonize
  31. -o OPTIONS Extra mount options
  32. Description
  33. ~~~~~~~~~~~
  34. This command mounts an archive as a FUSE filesystem. This can be useful for
  35. browsing an archive or restoring individual files. Unless the ``--foreground``
  36. option is given the command will run in the background until the filesystem
  37. is ``umounted``.
  38. The BORG_MOUNT_DATA_CACHE_ENTRIES environment variable is meant for advanced users
  39. to tweak the performance. It sets the number of cached data chunks; additional
  40. memory usage can be up to ~8 MiB times this number. The default is the number
  41. of CPU cores.
  42. For FUSE configuration and mount options, see the mount.fuse(8) manual page.
  43. Additional mount options supported by borg:
  44. - allow_damaged_files: by default damaged files (where missing chunks were
  45. replaced with runs of zeros by borg check --repair) are not readable and
  46. return EIO (I/O error). Set this option to read such files.
  47. - ignore_permissions: for security reasons the "default_permissions" mount
  48. option is internally enforced by borg. "ignore_permissions" can be given
  49. to not enforce "default_permissions".
  50. When the daemonized process receives a signal or crashes, it does not unmount.
  51. Unmounting in these cases could cause an active rsync or similar process
  52. to unintentionally delete data.
  53. When running in the foreground ^C/SIGINT unmounts cleanly, but other
  54. signals or crashes do not.