Does duplicacy have a compression option?
You can set the compression level when initializing the storage:
SYNOPSIS: duplicacy init - Initialize the storage if necessary and the current directory as the repository USAGE: duplicacy init [command options] <snapshot id> <storage url> OPTIONS: -encrypt, -e encrypt the storage with a password -chunk-size, -c 4M the average size of chunks -max-chunk-size, -max 16M the maximum size of chunks (defaults to chunk-size * 4) -min-chunk-size, -min 1M the minimum size of chunks (defaults to chunk-size / 4) -compression-level, -l <level> compression level (defaults to -1)
The compression level parameter is passed to the zlib library. Valid values are -1 through 9, with 0 meaning no compression, 9 best compression (slowest), and -1 being the default value (equivalent to level 6).
and how about if one uses the Windows GUI? I didn’t see any compression options there.
There is no compression option in the GUI version. You can initialize the storage with the CLI version first, and then when you run the GUI version, once you select the repository directory it will load all settings correctly.
when I try using the
-l9 for example I get “Incorrect usage”
What if you try with
-l 9 ? (observe the space)
Thanks for the reply…
I tried the space with the same results.
With the latest CLI release Releases · gilbertchen/duplicacy · GitHub – 2.1.2 the
init command doesn’t have any compression options.
Here are the options:
D:\vm>z init fdas The init command requires 2 arguments. NAME: duplicacy init - Initialize the storage if necessary and the current directory as the repository USAGE: duplicacy init [command options] <snapshot id> <storage url> OPTIONS: -encrypt, -e encrypt the storage with a password -chunk-size, -c <size> the average size of chunks (defaults to 4M) -max-chunk-size, -max <size> the maximum size of chunks (defaults to chunk-size*4) -min-chunk-size, -min <size> the minimum size of chunks (defaults to chunk-size/4) -iterations <i> the number of iterations used in storage key derivation (default is 16384) -pref-dir <path> alternate location for the .duplicacy directory (absolute or relative to current directory) -storage-name <name> assign a name to the storage -repository <path> initialize a new repository at the specified path rather than the current working directory D:\vm>
I think it’s the case that compression support was removed: now only a default compression exists and the user cannot change it.