2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 00:06:32 +00:00

doc: Rework hint to repack with max compression

This commit is contained in:
Michael Eischer 2022-07-12 21:24:40 +02:00
parent 8d3f04aefa
commit 71ff6b77f0

View File

@ -320,9 +320,7 @@ parameter, see :ref:`customize-pruning` for more details.
File contents stored in the repository will not be rewritten, data from new
backups will be compressed. Over time more and more of the repository will
be compressed. To speed up this process and compress all not yet compressed
data, you can run ``prune --repack-uncompressed``. When you plan creating
your backups with maximum compression you should also use this flag
when doing this step since you can't switch to maximum compression later.
Complete command for repacking with maximum compression:
``restic prune --repack-uncompressed --compression max``.
data, you can run ``prune --repack-uncompressed``. When you plan to create
your backups with maximum compression, you should also add the
``--compression max`` flag to the prune command. For already backed up data,
the compression level cannot be changed later on.