pub async fn restore(
infra: &InfraContext<'_>,
token: &str,
bos_file: Option<&str>,
cfs_file: Option<&str>,
hsm_file: Option<&str>,
ims_file: Option<&str>,
image_dir: Option<&str>,
overwrite_group: bool,
overwrite_configuration: bool,
overwrite_image: bool,
overwrite_template: bool,
) -> Result<(), Error>Expand description
Restore BOS session templates and related artifacts from backup files.
Thin forwarder; authorization (admin-only) and filesystem path confinement are enforced by the caller before this function is invoked.