diff --git a/src/bin/proxmox-backup-client.rs b/src/bin/proxmox-backup-client.rs index c47a1bad..c218c49c 100644 --- a/src/bin/proxmox-backup-client.rs +++ b/src/bin/proxmox-backup-client.rs @@ -10,7 +10,7 @@ use std::os::unix::fs::OpenOptionsExt; use proxmox::{sortable, identity}; use proxmox::tools::fs::{file_get_contents, file_get_json, file_set_contents, image_size}; -use proxmox::api::{ApiFuture, ApiHandler, ApiMethod, RpcEnvironment}; +use proxmox::api::{ApiHandler, ApiMethod, RpcEnvironment}; use proxmox::api::schema::*; use proxmox::api::cli::*; use proxmox::api::api; @@ -44,6 +44,22 @@ const REPO_URL_SCHEMA: Schema = StringSchema::new("Repository URL.") .max_length(256) .schema(); +const BACKUP_SOURCE_SCHEMA: Schema = StringSchema::new( + "Backup source specification ([