borgfs.1 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH BORGFS 1 "2021-05-11" "" "borg backup tool"
  4. .SH NAME
  5. borgfs \- Mount archive or an entire repository as a FUSE filesystem
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .sp
  35. borgfs [options] REPOSITORY_OR_ARCHIVE MOUNTPOINT [PATH...]
  36. .SH DESCRIPTION
  37. .sp
  38. This command mounts an archive as a FUSE filesystem. This can be useful for
  39. browsing an archive or restoring individual files. Unless the \fB\-\-foreground\fP
  40. option is given the command will run in the background until the filesystem
  41. is \fBumounted\fP\&.
  42. .sp
  43. The command \fBborgfs\fP provides a wrapper for \fBborg mount\fP\&. This can also be
  44. used in fstab entries:
  45. \fB/path/to/repo /mnt/point fuse.borgfs defaults,noauto 0 0\fP
  46. .sp
  47. To allow a regular user to use fstab entries, add the \fBuser\fP option:
  48. \fB/path/to/repo /mnt/point fuse.borgfs defaults,noauto,user 0 0\fP
  49. .sp
  50. For FUSE configuration and mount options, see the mount.fuse(8) manual page.
  51. .sp
  52. Additional mount options supported by borg:
  53. .INDENT 0.0
  54. .IP \(bu 2
  55. versions: when used with a repository mount, this gives a merged, versioned
  56. view of the files in the archives. EXPERIMENTAL, layout may change in future.
  57. .IP \(bu 2
  58. allow_damaged_files: by default damaged files (where missing chunks were
  59. replaced with runs of zeros by borg check \fB\-\-repair\fP) are not readable and
  60. return EIO (I/O error). Set this option to read such files.
  61. .IP \(bu 2
  62. ignore_permissions: for security reasons the "default_permissions" mount
  63. option is internally enforced by borg. "ignore_permissions" can be given to
  64. not enforce "default_permissions".
  65. .UNINDENT
  66. .sp
  67. The BORG_MOUNT_DATA_CACHE_ENTRIES environment variable is meant for advanced users
  68. to tweak the performance. It sets the number of cached data chunks; additional
  69. memory usage can be up to ~8 MiB times this number. The default is the number
  70. of CPU cores.
  71. .sp
  72. When the daemonized process receives a signal or crashes, it does not unmount.
  73. Unmounting in these cases could cause an active rsync or similar process
  74. to unintentionally delete data.
  75. .sp
  76. When running in the foreground ^C/SIGINT unmounts cleanly, but other
  77. signals or crashes do not.
  78. .SH OPTIONS
  79. .sp
  80. See \fIborg\-common(1)\fP for common options of Borg commands.
  81. .SS arguments
  82. .INDENT 0.0
  83. .TP
  84. .B REPOSITORY_OR_ARCHIVE
  85. repository or archive to mount
  86. .TP
  87. .B MOUNTPOINT
  88. where to mount filesystem
  89. .TP
  90. .B PATH
  91. paths to extract; patterns are supported
  92. .UNINDENT
  93. .SS optional arguments
  94. .INDENT 0.0
  95. .TP
  96. .B \-V\fP,\fB \-\-version
  97. show version number and exit
  98. .TP
  99. .B \-\-consider\-checkpoints
  100. Show checkpoint archives in the repository contents list (default: hidden).
  101. .TP
  102. .B \-f\fP,\fB \-\-foreground
  103. stay in foreground, do not daemonize
  104. .TP
  105. .B \-o
  106. Extra mount options
  107. .TP
  108. .B \-\-numeric\-owner
  109. deprecated, use \fB\-\-numeric\-ids\fP instead
  110. .TP
  111. .B \-\-numeric\-ids
  112. use numeric user and group identifiers from archive(s)
  113. .UNINDENT
  114. .SS Archive filters
  115. .INDENT 0.0
  116. .TP
  117. .BI \-P \ PREFIX\fR,\fB \ \-\-prefix \ PREFIX
  118. only consider archive names starting with this prefix.
  119. .TP
  120. .BI \-a \ GLOB\fR,\fB \ \-\-glob\-archives \ GLOB
  121. only consider archive names matching the glob. sh: rules apply, see "borg help patterns". \fB\-\-prefix\fP and \fB\-\-glob\-archives\fP are mutually exclusive.
  122. .TP
  123. .BI \-\-sort\-by \ KEYS
  124. Comma\-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
  125. .TP
  126. .BI \-\-first \ N
  127. consider first N archives after other filters were applied
  128. .TP
  129. .BI \-\-last \ N
  130. consider last N archives after other filters were applied
  131. .UNINDENT
  132. .SS Exclusion options
  133. .INDENT 0.0
  134. .TP
  135. .BI \-e \ PATTERN\fR,\fB \ \-\-exclude \ PATTERN
  136. exclude paths matching PATTERN
  137. .TP
  138. .BI \-\-exclude\-from \ EXCLUDEFILE
  139. read exclude patterns from EXCLUDEFILE, one per line
  140. .TP
  141. .BI \-\-pattern \ PATTERN
  142. experimental: include/exclude paths matching PATTERN
  143. .TP
  144. .BI \-\-patterns\-from \ PATTERNFILE
  145. experimental: read include/exclude patterns from PATTERNFILE, one per line
  146. .TP
  147. .BI \-\-strip\-components \ NUMBER
  148. Remove the specified number of leading path elements. Paths with fewer elements will be silently skipped.
  149. .UNINDENT
  150. .SH SEE ALSO
  151. .sp
  152. \fIborg\-common(1)\fP
  153. .SH AUTHOR
  154. The Borg Collective
  155. .\" Generated by docutils manpage writer.
  156. .