borg-mount.1 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH BORG-MOUNT 1 "2017-06-18" "" "borg backup tool"
  4. .SH NAME
  5. borg-mount \- 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. borg [common options] mount <options> REPOSITORY_OR_ARCHIVE MOUNTPOINT
  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 mount options, see the fuse(8) manual page. Additional mount options
  51. supported by borg:
  52. .INDENT 0.0
  53. .IP \(bu 2
  54. versions: when used with a repository mount, this gives a merged, versioned
  55. view of the files in the archives. EXPERIMENTAL, layout may change in future.
  56. .IP \(bu 2
  57. allow_damaged_files: by default damaged files (where missing chunks were
  58. replaced with runs of zeros by borg check \fB\-\-repair\fP) are not readable and
  59. return EIO (I/O error). Set this option to read such files.
  60. .UNINDENT
  61. .sp
  62. The BORG_MOUNT_DATA_CACHE_ENTRIES environment variable is meant for advanced users
  63. to tweak the performance. It sets the number of cached data chunks; additional
  64. memory usage can be up to ~8 MiB times this number. The default is the number
  65. of CPU cores.
  66. .sp
  67. When the daemonized process receives a signal or crashes, it does not unmount.
  68. Unmounting in these cases could cause an active rsync or similar process
  69. to unintentionally delete data.
  70. .sp
  71. When running in the foreground ^C/SIGINT unmounts cleanly, but other
  72. signals or crashes do not.
  73. .SH OPTIONS
  74. .sp
  75. See \fIborg\-common(1)\fP for common options of Borg commands.
  76. .SS arguments
  77. .INDENT 0.0
  78. .TP
  79. .B REPOSITORY_OR_ARCHIVE
  80. repository/archive to mount
  81. .TP
  82. .B MOUNTPOINT
  83. where to mount filesystem
  84. .UNINDENT
  85. .SS optional arguments
  86. .INDENT 0.0
  87. .TP
  88. .B \-f\fP,\fB \-\-foreground
  89. stay in foreground, do not daemonize
  90. .TP
  91. .B \-o
  92. Extra mount options
  93. .UNINDENT
  94. .SS filters
  95. .INDENT 0.0
  96. .TP
  97. .B \-P\fP,\fB \-\-prefix
  98. only consider archive names starting with this prefix.
  99. .TP
  100. .B \-a\fP,\fB \-\-glob\-archives
  101. 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.
  102. .TP
  103. .B \-\-sort\-by
  104. Comma\-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
  105. .TP
  106. .BI \-\-first \ N
  107. consider first N archives after other filters were applied
  108. .TP
  109. .BI \-\-last \ N
  110. consider last N archives after other filters were applied
  111. .UNINDENT
  112. .SH SEE ALSO
  113. .sp
  114. \fIborg\-common(1)\fP, \fIborg\-umount(1)\fP, \fIborg\-extract(1)\fP
  115. .SH AUTHOR
  116. The Borg Collective
  117. .\" Generated by docutils manpage writer.
  118. .