use anyhow::{bail, Error}; use proxmox_schema::*; const_regex! { BACKUPSPEC_REGEX = r"^([a-zA-Z0-9_-]+\.(pxar|img|conf|log)):(.+)$"; } pub const BACKUP_SOURCE_SCHEMA: Schema = StringSchema::new( "Backup source specification ([