mount.rst.inc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. - versions: when used with a repository mount, this gives a merged, versioned
  33. view of the files in the archives. EXPERIMENTAL, layout may change in future.
  34. - allow_damaged_files: by default damaged files (where missing chunks were
  35. replaced with runs of zeros by borg check --repair) are not readable and
  36. return EIO (I/O error). Set this option to read such files.
  37. The BORG_MOUNT_DATA_CACHE_ENTRIES environment variable is meant for advanced users
  38. to tweak the performance. It sets the number of cached data chunks; additional
  39. memory usage can be up to ~8 MiB times this number. The default is the number
  40. of CPU cores.