2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-03 02:18:23 +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 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 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 be compressed. To speed up this process and compress all not yet compressed
data, you can run ``prune --repack-uncompressed``. When you plan creating data, you can run ``prune --repack-uncompressed``. When you plan to create
your backups with maximum compression you should also use this flag your backups with maximum compression, you should also add the
when doing this step since you can't switch to maximum compression later. ``--compression max`` flag to the prune command. For already backed up data,
Complete command for repacking with maximum compression: the compression level cannot be changed later on.
``restic prune --repack-uncompressed --compression max``.