borg-umount.1 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .
  4. .nr rst2man-indent-level 0
  5. .
  6. .de1 rstReportMargin
  7. \\$1 \\n[an-margin]
  8. level \\n[rst2man-indent-level]
  9. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  10. -
  11. \\n[rst2man-indent0]
  12. \\n[rst2man-indent1]
  13. \\n[rst2man-indent2]
  14. ..
  15. .de1 INDENT
  16. .\" .rstReportMargin pre:
  17. . RS \\$1
  18. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  19. . nr rst2man-indent-level +1
  20. .\" .rstReportMargin post:
  21. ..
  22. .de UNINDENT
  23. . RE
  24. .\" indent \\n[an-margin]
  25. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  26. .nr rst2man-indent-level -1
  27. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  28. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  29. ..
  30. .TH "BORG-UMOUNT" 1 "2022-02-19" "" "borg backup tool"
  31. .SH NAME
  32. borg-umount \- un-mount the FUSE filesystem
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] umount [options] MOUNTPOINT
  36. .SH DESCRIPTION
  37. .sp
  38. This command un\-mounts a FUSE filesystem that was mounted with \fBborg mount\fP\&.
  39. .sp
  40. This is a convenience wrapper that just calls the platform\-specific shell
  41. command \- usually this is either umount or fusermount \-u.
  42. .SH OPTIONS
  43. .sp
  44. See \fIborg\-common(1)\fP for common options of Borg commands.
  45. .SS arguments
  46. .INDENT 0.0
  47. .TP
  48. .B MOUNTPOINT
  49. mountpoint of the filesystem to umount
  50. .UNINDENT
  51. .SH EXAMPLES
  52. .INDENT 0.0
  53. .INDENT 3.5
  54. .sp
  55. .nf
  56. .ft C
  57. # Mounting the repository shows all archives.
  58. # Archives are loaded lazily, expect some delay when navigating to an archive
  59. # for the first time.
  60. $ borg mount /path/to/repo /tmp/mymountpoint
  61. $ ls /tmp/mymountpoint
  62. root\-2016\-02\-14 root\-2016\-02\-15
  63. $ borg umount /tmp/mymountpoint
  64. # Mounting a specific archive is possible as well.
  65. $ borg mount /path/to/repo::root\-2016\-02\-15 /tmp/mymountpoint
  66. $ ls /tmp/mymountpoint
  67. bin boot etc home lib lib64 lost+found media mnt opt
  68. root sbin srv tmp usr var
  69. $ borg umount /tmp/mymountpoint
  70. # The "versions view" merges all archives in the repository
  71. # and provides a versioned view on files.
  72. $ borg mount \-o versions /path/to/repo /tmp/mymountpoint
  73. $ ls \-l /tmp/mymountpoint/home/user/doc.txt/
  74. total 24
  75. \-rw\-rw\-r\-\- 1 user group 12357 Aug 26 21:19 doc.cda00bc9.txt
  76. \-rw\-rw\-r\-\- 1 user group 12204 Aug 26 21:04 doc.fa760f28.txt
  77. $ borg umount /tmp/mymountpoint
  78. # Archive filters are supported.
  79. # These are especially handy for the "versions view",
  80. # which does not support lazy processing of archives.
  81. $ borg mount \-o versions \-\-glob\-archives \(aq*\-my\-home\(aq \-\-last 10 /path/to/repo /tmp/mymountpoint
  82. # Exclusion options are supported.
  83. # These can speed up mounting and lower memory needs significantly.
  84. $ borg mount /path/to/repo /tmp/mymountpoint only/that/path
  85. $ borg mount \-\-exclude \(aq...\(aq /path/to/repo /tmp/mymountpoint
  86. .ft P
  87. .fi
  88. .UNINDENT
  89. .UNINDENT
  90. .SS borgfs
  91. .INDENT 0.0
  92. .INDENT 3.5
  93. .sp
  94. .nf
  95. .ft C
  96. $ echo \(aq/mnt/backup /tmp/myrepo fuse.borgfs defaults,noauto 0 0\(aq >> /etc/fstab
  97. $ echo \(aq/mnt/backup::root\-2016\-02\-15 /tmp/myarchive fuse.borgfs defaults,noauto 0 0\(aq >> /etc/fstab
  98. $ mount /tmp/myrepo
  99. $ mount /tmp/myarchive
  100. $ ls /tmp/myrepo
  101. root\-2016\-02\-01 root\-2016\-02\-2015
  102. $ ls /tmp/myarchive
  103. bin boot etc home lib lib64 lost+found media mnt opt root sbin srv tmp usr var
  104. .ft P
  105. .fi
  106. .UNINDENT
  107. .UNINDENT
  108. .sp
  109. \fBNOTE:\fP
  110. .INDENT 0.0
  111. .INDENT 3.5
  112. \fBborgfs\fP will be automatically provided if you used a distribution
  113. package, \fBpip\fP or \fBsetup.py\fP to install Borg. Users of the
  114. standalone binary will have to manually create a symlink (see
  115. \fIpyinstaller\-binary\fP).
  116. .UNINDENT
  117. .UNINDENT
  118. .SH SEE ALSO
  119. .sp
  120. \fIborg\-common(1)\fP, \fIborg\-mount(1)\fP
  121. .SH AUTHOR
  122. The Borg Collective
  123. .\" Generated by docutils manpage writer.
  124. .