borg-placeholders.1 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH BORG-PLACEHOLDERS 1 "2017-03-26" "" "borg backup tool"
  4. .SH NAME
  5. borg-placeholders \- Details regarding placeholders
  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 DESCRIPTION
  34. .sp
  35. Repository (or Archive) URLs, \-\-prefix and \-\-remote\-path values support these
  36. placeholders:
  37. .sp
  38. {hostname}
  39. .INDENT 0.0
  40. .INDENT 3.5
  41. The (short) hostname of the machine.
  42. .UNINDENT
  43. .UNINDENT
  44. .sp
  45. {fqdn}
  46. .INDENT 0.0
  47. .INDENT 3.5
  48. The full name of the machine.
  49. .UNINDENT
  50. .UNINDENT
  51. .sp
  52. {now}
  53. .INDENT 0.0
  54. .INDENT 3.5
  55. The current local date and time, by default in ISO\-8601 format.
  56. You can also supply your own \fI\%format string\fP, e.g. {now:%Y\-%m\-%d_%H:%M:%S}
  57. .UNINDENT
  58. .UNINDENT
  59. .sp
  60. {utcnow}
  61. .INDENT 0.0
  62. .INDENT 3.5
  63. The current UTC date and time, by default in ISO\-8601 format.
  64. You can also supply your own \fI\%format string\fP, e.g. {utcnow:%Y\-%m\-%d_%H:%M:%S}
  65. .UNINDENT
  66. .UNINDENT
  67. .sp
  68. {user}
  69. .INDENT 0.0
  70. .INDENT 3.5
  71. The user name (or UID, if no name is available) of the user running borg.
  72. .UNINDENT
  73. .UNINDENT
  74. .sp
  75. {pid}
  76. .INDENT 0.0
  77. .INDENT 3.5
  78. The current process ID.
  79. .UNINDENT
  80. .UNINDENT
  81. .sp
  82. {borgversion}
  83. .INDENT 0.0
  84. .INDENT 3.5
  85. The version of borg, e.g.: 1.0.8rc1
  86. .UNINDENT
  87. .UNINDENT
  88. .sp
  89. {borgmajor}
  90. .INDENT 0.0
  91. .INDENT 3.5
  92. The version of borg, only the major version, e.g.: 1
  93. .UNINDENT
  94. .UNINDENT
  95. .sp
  96. {borgminor}
  97. .INDENT 0.0
  98. .INDENT 3.5
  99. The version of borg, only major and minor version, e.g.: 1.0
  100. .UNINDENT
  101. .UNINDENT
  102. .sp
  103. {borgpatch}
  104. .INDENT 0.0
  105. .INDENT 3.5
  106. The version of borg, only major, minor and patch version, e.g.: 1.0.8
  107. .UNINDENT
  108. .UNINDENT
  109. .sp
  110. Examples:
  111. .INDENT 0.0
  112. .INDENT 3.5
  113. .sp
  114. .nf
  115. .ft C
  116. borg create /path/to/repo::{hostname}\-{user}\-{utcnow} ...
  117. borg create /path/to/repo::{hostname}\-{now:%Y\-%m\-%d_%H:%M:%S} ...
  118. borg prune \-\-prefix \(aq{hostname}\-\(aq ...
  119. .ft P
  120. .fi
  121. .UNINDENT
  122. .UNINDENT
  123. .SH AUTHOR
  124. The Borg Collective
  125. .\" Generated by docutils manpage writer.
  126. .