[pbs-devel] [PATCH vma-to-pbs] fix unused compress and encrypt options
Filip Schauer
f.schauer at proxmox.com
Wed May 15 15:24:21 CEST 2024
Pass compress and encrypt to proxmox_backup_new_ns instead of using
default values. This was an oversight in the initial commit 4446414b.
Signed-off-by: Filip Schauer <f.schauer at proxmox.com>
---
src/vma2pbs.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/vma2pbs.rs b/src/vma2pbs.rs
index 2e9f199..0d96ace 100644
--- a/src/vma2pbs.rs
+++ b/src/vma2pbs.rs
@@ -89,8 +89,8 @@ fn create_pbs_backup_task(args: BackupVmaToPbsArgs) -> Result<*mut ProxmoxBackup
keyfile_ptr,
key_password_ptr,
master_keyfile_ptr,
- true,
- false,
+ args.compress,
+ args.encrypt,
fingerprint_cstr.as_ptr(),
&mut pbs_err,
);
--
2.39.2
More information about the pbs-devel
mailing list