[pbs-devel] [PATCH proxmox-backup] pbs-manager: fix pull not respecting local ns setting

Matthias Heiserer m.heiserer at proxmox.com
Tue Sep 20 12:08:48 CEST 2022


It pulls to root namespace instead.

Signed-off-by: Matthias Heiserer <m.heiserer at proxmox.com>
---
 src/bin/proxmox-backup-manager.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/proxmox-backup-manager.rs b/src/bin/proxmox-backup-manager.rs
index 9857d701..58e7e33a 100644
--- a/src/bin/proxmox-backup-manager.rs
+++ b/src/bin/proxmox-backup-manager.rs
@@ -305,7 +305,7 @@ async fn pull_datastore(
     }
 
     if ns.is_some() {
-        args["local-ns"] = json!(ns);
+        args["ns"] = json!(ns);
     }
 
     if max_depth.is_some() {
-- 
2.30.2






More information about the pbs-devel mailing list