🚑️ fix
This commit is contained in:
parent
1d3a1b7a60
commit
1d4887f832
1 changed files with 2 additions and 2 deletions
|
@ -61,12 +61,12 @@ pub fn create_archive(conf: &ResticConfig) {
|
|||
cmd.push("--exclude-caches");
|
||||
}
|
||||
|
||||
// TODO : fix compression options
|
||||
let zstd10 = "zstd,10".to_string();
|
||||
let zstd10 = "auto".to_string();
|
||||
let comp = conf.compression.as_ref().unwrap_or(&zstd10);
|
||||
cmd.push("--compression");
|
||||
cmd.push(comp);
|
||||
|
||||
cmd.push("-r");
|
||||
cmd.push(&conf.repo);
|
||||
|
||||
let mut snaps = Vec::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue