|
@@ -1,6 +1,6 @@
|
|
|
.\" Man page generated from reStructuredText.
|
|
|
.
|
|
|
-.TH BORG-RECREATE 1 "2017-03-26" "" "borg backup tool"
|
|
|
+.TH BORG-RECREATE 1 "2017-04-29" "" "borg backup tool"
|
|
|
.SH NAME
|
|
|
borg-recreate \- Re-create archives
|
|
|
.
|
|
@@ -44,9 +44,9 @@ have the exact same semantics as in "borg create". If PATHs are specified the
|
|
|
resulting archive will only contain files from these PATHs.
|
|
|
.sp
|
|
|
Note that all paths in an archive are relative, therefore absolute patterns/paths
|
|
|
-will \fInot\fP match (\-\-exclude, \-\-exclude\-from, \-\-compression\-from, PATHs).
|
|
|
+will \fInot\fP match (\-\-exclude, \-\-exclude\-from, PATHs).
|
|
|
.sp
|
|
|
-\-\-compression: all chunks seen will be stored using the given method.
|
|
|
+\-\-recompress allows to change the compression of existing data in archives.
|
|
|
Due to how Borg stores compressed size information this might display
|
|
|
incorrect information for archives that were not recreated at the same time.
|
|
|
There is no risk of data loss by this.
|
|
@@ -143,11 +143,8 @@ manually specify the archive creation date/time (UTC, yyyy\-mm\-ddThh:mm:ss form
|
|
|
.BI \-C \ COMPRESSION\fP,\fB \ \-\-compression \ COMPRESSION
|
|
|
select compression algorithm, see the output of the "borg help compression" command for details.
|
|
|
.TP
|
|
|
-.B \-\-always\-recompress
|
|
|
-always recompress chunks, don\(aqt skip chunks already compressed with the same algorithm.
|
|
|
-.TP
|
|
|
-.BI \-\-compression\-from \ COMPRESSIONCONFIG
|
|
|
-read compression patterns from COMPRESSIONCONFIG, see the output of the "borg help compression" command for details.
|
|
|
+.B \-\-recompress
|
|
|
+recompress data chunks according to \-\-compression if "if\-different". When "always", chunks that are already compressed that way are not skipped, but compressed again. Only the algorithm is considered for "if\-different", not the compression level (if any).
|
|
|
.TP
|
|
|
.BI \-\-chunker\-params \ PARAMS
|
|
|
specify the chunker parameters (CHUNK_MIN_EXP, CHUNK_MAX_EXP, HASH_MASK_BITS, HASH_WINDOW_SIZE) or "default" to use the current defaults. default: 19,23,21,4095
|
|
@@ -166,7 +163,7 @@ $ borg recreate /mnt/backup \-\-chunker\-params default \-\-progress
|
|
|
$ borg create /mnt/backup::archive /some/files \-\-compression lz4
|
|
|
# Then compress it \- this might take longer, but the backup has already completed, so no inconsistencies
|
|
|
# from a long\-running backup job.
|
|
|
-$ borg recreate /mnt/backup::archive \-\-compression zlib,9
|
|
|
+$ borg recreate /mnt/backup::archive \-\-recompress \-\-compression zlib,9
|
|
|
|
|
|
# Remove unwanted files from all archives in a repository
|
|
|
$ borg recreate /mnt/backup \-e /home/icke/Pictures/drunk_photos
|