Can backup vm disks as images

This commit is contained in:
2025-05-30 10:55:40 +02:00
parent 83df7e1b20
commit 6b6fef5ccc
6 changed files with 84 additions and 28 deletions

@ -93,7 +93,7 @@ impl VMFileDisk {
Ok(())
}
/// Get disk path
/// Get disk path on file system
pub fn disk_path(&self, id: XMLUuid) -> PathBuf {
let domain_dir = AppConfig::get().vm_storage_path(id);
let file_name = match self.format {