2
0

borg-rcompress.1 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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-RCOMPRESS" 1 "2023-09-14" "" "borg backup tool"
  31. .SH NAME
  32. borg-rcompress \- Repository (re-)compression
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] rcompress [options]
  36. .SH DESCRIPTION
  37. .sp
  38. Repository (re\-)compression (and/or re\-obfuscation).
  39. .sp
  40. Reads all chunks in the repository (in on\-disk order, this is important for
  41. compaction) and recompresses them if they are not already using the compression
  42. type/level and obfuscation level given via \fB\-\-compression\fP\&.
  43. .sp
  44. If the outcome of the chunk processing indicates a change in compression
  45. type/level or obfuscation level, the processed chunk is written to the repository.
  46. Please note that the outcome might not always be the desired compression
  47. type/level \- if no compression gives a shorter output, that might be chosen.
  48. .sp
  49. Every \fB\-\-checkpoint\-interval\fP, progress is committed to the repository and
  50. the repository is compacted (this is to keep temporary repo space usage in bounds).
  51. A lower checkpoint interval means lower temporary repo space usage, but also
  52. slower progress due to higher overhead (and vice versa).
  53. .sp
  54. Please note that this command can not work in low (or zero) free disk space
  55. conditions.
  56. .sp
  57. If the \fBborg rcompress\fP process receives a SIGINT signal (Ctrl\-C), the repo
  58. will be committed and compacted and borg will terminate cleanly afterwards.
  59. .sp
  60. Both \fB\-\-progress\fP and \fB\-\-stats\fP are recommended when \fBborg rcompress\fP
  61. is used interactively.
  62. .sp
  63. You do \fBnot\fP need to run \fBborg compact\fP after \fBborg rcompress\fP\&.
  64. .SH OPTIONS
  65. .sp
  66. See \fIborg\-common(1)\fP for common options of Borg commands.
  67. .SS options
  68. .INDENT 0.0
  69. .TP
  70. .BI \-C \ COMPRESSION\fR,\fB \ \-\-compression \ COMPRESSION
  71. select compression algorithm, see the output of the \(dqborg help compression\(dq command for details.
  72. .TP
  73. .B \-s\fP,\fB \-\-stats
  74. print statistics
  75. .TP
  76. .BI \-c \ SECONDS\fR,\fB \ \-\-checkpoint\-interval \ SECONDS
  77. write checkpoint every SECONDS seconds (Default: 1800)
  78. .UNINDENT
  79. .SH EXAMPLES
  80. .INDENT 0.0
  81. .INDENT 3.5
  82. .sp
  83. .nf
  84. .ft C
  85. # recompress repo contents
  86. $ borg rcompress \-\-progress \-\-compression=zstd,3
  87. # recompress and obfuscate repo contents
  88. $ borg rcompress \-\-progress \-\-compression=obfuscate,1,zstd,3
  89. .ft P
  90. .fi
  91. .UNINDENT
  92. .UNINDENT
  93. .SH SEE ALSO
  94. .sp
  95. \fIborg\-common(1)\fP
  96. .SH AUTHOR
  97. The Borg Collective
  98. .\" Generated by docutils manpage writer.
  99. .