]> git.proxmox.com Git - pve-qemu.git/commitdiff
fix backup qmp parameters to pass along encryption info
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 10 Jul 2020 11:31:50 +0000 (13:31 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 10 Jul 2020 11:31:52 +0000 (13:31 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
debian/patches/pve/0046-pbs-fix-missing-crypt-and-compress-parameters.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/pve/0046-pbs-fix-missing-crypt-and-compress-parameters.patch b/debian/patches/pve/0046-pbs-fix-missing-crypt-and-compress-parameters.patch
new file mode 100644 (file)
index 0000000..ba321c9
--- /dev/null
@@ -0,0 +1,43 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Wolfgang Bumiller <w.bumiller@proxmox.com>
+Date: Fri, 10 Jul 2020 13:22:35 +0200
+Subject: [PATCH] pbs: fix missing crypt and compress parameters
+
+Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
+---
+ pve-backup.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/pve-backup.c b/pve-backup.c
+index 5bdfd1fedd..64a9406cee 100644
+--- a/pve-backup.c
++++ b/pve-backup.c
+@@ -962,6 +962,8 @@ UuidInfo *qmp_backup(
+         .backup_file = backup_file,
+         .has_password = has_password,
+         .password = password,
++        .has_keyfile = has_keyfile,
++        .keyfile = keyfile,
+         .has_key_password = has_key_password,
+         .key_password = key_password,
+         .has_fingerprint = has_fingerprint,
+@@ -972,6 +974,10 @@ UuidInfo *qmp_backup(
+         .backup_time = backup_time,
+         .has_use_dirty_bitmap = has_use_dirty_bitmap,
+         .use_dirty_bitmap = use_dirty_bitmap,
++        .has_compress = has_compress,
++        .compress = compress,
++        .has_encrypt = has_encrypt,
++        .encrypt = encrypt,
+         .has_format = has_format,
+         .format = format,
+         .has_config_file = has_config_file,
+@@ -980,8 +986,6 @@ UuidInfo *qmp_backup(
+         .firewall_file = firewall_file,
+         .has_devlist = has_devlist,
+         .devlist = devlist,
+-        .has_compress = has_compress,
+-        .has_encrypt = has_encrypt,
+         .has_speed = has_speed,
+         .speed = speed,
+         .errp = errp,
index f3bd61acd9cf3d8ecc3575aa029938a3e8d23ac3..00d2c7dfd723c7b53624a82aaab26f94477049b1 100644 (file)
@@ -44,3 +44,4 @@ pve/0042-PVE-use-proxmox_backup_check_incremental.patch
 pve/0043-PVE-fixup-pbs-backup-add-compress-and-encrypt-option.patch
 pve/0044-PVE-Add-PBS-block-driver-to-map-backup-archives-into.patch
 pve/0045-PVE-add-query_proxmox_support-QMP-command.patch
+pve/0046-pbs-fix-missing-crypt-and-compress-parameters.patch