mount.rst.inc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. borg mount <options> REPOSITORY_OR_ARCHIVE MOUNTPOINT
  7. positional arguments
  8. REPOSITORY_OR_ARCHIVE
  9. repository/archive to mount
  10. MOUNTPOINT
  11. where to mount filesystem
  12. optional arguments
  13. ``-f``, ``--foreground``
  14. | stay in foreground, do not daemonize
  15. ``-o``
  16. | Extra mount options
  17. `Common options`_
  18. |
  19. Description
  20. ~~~~~~~~~~~
  21. This command mounts an archive as a FUSE filesystem. This can be useful for
  22. browsing an archive or restoring individual files. Unless the ``--foreground``
  23. option is given the command will run in the background until the filesystem
  24. is ``umounted``.
  25. The command ``borgfs`` provides a wrapper for ``borg mount``. This can also be
  26. used in fstab entries:
  27. ``/path/to/repo /mnt/point fuse.borgfs defaults,noauto 0 0``
  28. To allow a regular user to use fstab entries, add the ``user`` option:
  29. ``/path/to/repo /mnt/point fuse.borgfs defaults,noauto,user 0 0``
  30. For mount options, see the fuse(8) manual page. Additional mount options
  31. supported by borg:
  32. - allow_damaged_files: by default damaged files (where missing chunks were
  33. replaced with runs of zeros by borg check --repair) are not readable and
  34. return EIO (I/O error). Set this option to read such files.
  35. The BORG_MOUNT_DATA_CACHE_ENTRIES environment variable is meant for advanced users
  36. to tweak the performance. It sets the number of cached data chunks; additional
  37. memory usage can be up to ~8 MiB times this number. The default is the number
  38. of CPU cores.