[pbs-devel] [PATCH proxmox-backup 1/2] proxmox-tape: add missing notify-user to 'proxmox-tape restore'
Dominik Csapak
d.csapak at proxmox.com
Fri Mar 12 11:28:40 CET 2021
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/bin/proxmox-tape.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/bin/proxmox-tape.rs b/src/bin/proxmox-tape.rs
index 6ab2fc16..ad39ec82 100644
--- a/src/bin/proxmox-tape.rs
+++ b/src/bin/proxmox-tape.rs
@@ -31,6 +31,7 @@ use proxmox_backup::{
DRIVE_NAME_SCHEMA,
MEDIA_LABEL_SCHEMA,
MEDIA_POOL_NAME_SCHEMA,
+ Userid,
},
},
config::{
@@ -863,6 +864,10 @@ async fn backup(mut param: Value) -> Result<(), Error> {
description: "Media set UUID.",
type: String,
},
+ "notify-user": {
+ type: Userid,
+ optional: true,
+ },
"output-format": {
schema: OUTPUT_FORMAT,
optional: true,
--
2.20.1
More information about the pbs-devel
mailing list