fix #sync.cfg/pull: don't remove by default
and convert existing (manually created/edited) jobs to the previous default value of 'true'. the GUI has always set this value and defaults to 'false'. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Reviewed-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
01ae7bfaf2
commit
61ef4ae8cb
@ -57,7 +57,7 @@ impl PullParameters {
|
||||
let (remote_config, _digest) = pbs_config::remote::config()?;
|
||||
let remote: Remote = remote_config.lookup("remote", remote)?;
|
||||
|
||||
let remove_vanished = remove_vanished.unwrap_or(true);
|
||||
let remove_vanished = remove_vanished.unwrap_or(false);
|
||||
|
||||
let source = BackupRepository::new(
|
||||
Some(remote.config.auth_id.clone()),
|
||||
|
Reference in New Issue
Block a user