borg-rcompress.1 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 "2024-09-08" "" "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 and recompresses them if they are not already
  41. using the compression type/level and obfuscation level given via \fB\-\-compression\fP\&.
  42. .sp
  43. If the outcome of the chunk processing indicates a change in compression
  44. type/level or obfuscation level, the processed chunk is written to the repository.
  45. Please note that the outcome might not always be the desired compression
  46. type/level \- if no compression gives a shorter output, that might be chosen.
  47. .sp
  48. Please note that this command can not work in low (or zero) free disk space
  49. conditions.
  50. .sp
  51. If the \fBborg rcompress\fP process receives a SIGINT signal (Ctrl\-C), the repo
  52. will be committed and compacted and borg will terminate cleanly afterwards.
  53. .sp
  54. Both \fB\-\-progress\fP and \fB\-\-stats\fP are recommended when \fBborg rcompress\fP
  55. is used interactively.
  56. .sp
  57. You do \fBnot\fP need to run \fBborg compact\fP after \fBborg rcompress\fP\&.
  58. .SH OPTIONS
  59. .sp
  60. See \fIborg\-common(1)\fP for common options of Borg commands.
  61. .SS optional arguments
  62. .INDENT 0.0
  63. .TP
  64. .BI \-C \ COMPRESSION\fR,\fB \ \-\-compression \ COMPRESSION
  65. select compression algorithm, see the output of the \(dqborg help compression\(dq command for details.
  66. .TP
  67. .B \-s\fP,\fB \-\-stats
  68. print statistics
  69. .UNINDENT
  70. .SH EXAMPLES
  71. .INDENT 0.0
  72. .INDENT 3.5
  73. .sp
  74. .nf
  75. .ft C
  76. # recompress repo contents
  77. $ borg rcompress \-\-progress \-\-compression=zstd,3
  78. # recompress and obfuscate repo contents
  79. $ borg rcompress \-\-progress \-\-compression=obfuscate,1,zstd,3
  80. .ft P
  81. .fi
  82. .UNINDENT
  83. .UNINDENT
  84. .SH SEE ALSO
  85. .sp
  86. \fIborg\-common(1)\fP
  87. .SH AUTHOR
  88. The Borg Collective
  89. .\" Generated by docutils manpage writer.
  90. .