Erasure coding, pref dir and zstd level for add command

Hi,

is it possible to set the options -erasure-coding, -pref-dir, -zstd-level when using the add command?
I do not see them listed Add command details

I have an already inited storage, and would like to add a new one for copy.

EDIT: If i’m not wrong, erasure coding is copied from the source storage, and the same should be for zstd level. -pref-dir should not be used, -repository is the way to go. Correct?

What is not clear is, snapshot ids should be the same between the 2 storages?

Thanks

More up-to-date docs here: add · gilbertchen/duplicacy Wiki · GitHub

Indeed -pref-dir should be considered deprecated, as -repository is a much better option.

As you can see from the docs or a duplicacy add -help, the commands you can and should use there and then are -erasure-coding and -zstd/-zstd-level - I don’t think you can change that after.

Those settings are stored in the config on the storage. -repository on the other hand, is used in preferences - a client-side setting, which you can edit after.

2 Likes

Yes, thank you.

Looking at duplicacy add -help I found out there are both options available, and started using -repository.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.