How to set compression on backup #724
-
In restic I can use How to set compression level in rustic when I make backup? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
In rustic, compression level is a repository option, i.e. it is saved in the repository config and needs to be set only once (or when you want to change it). You can already set it when initializing a repository and change it using the command |
Beta Was this translation helpful? Give feedback.
-
Also note, that there is no |
Beta Was this translation helpful? Give feedback.
-
For people looking to pick the right compression level: At zstd compression levels > 3, throughput becomes too slow to be worth the little gain in compression ratio in most cases. |
Beta Was this translation helpful? Give feedback.
-
Actually the default compression level (i.e. if not explicitely set by the user) is taken from the The zstd crate (and therefore also rustic) uses 3 as default level. |
Beta Was this translation helpful? Give feedback.
In rustic, compression level is a repository option, i.e. it is saved in the repository config and needs to be set only once (or when you want to change it).
You can already set it when initializing a repository and change it using the command
rustic config --set-compression
.