diff --git a/src/bin/proxmox-restore-daemon.rs b/src/bin/proxmox-restore-daemon.rs index 93a12c3a..2589e2d8 100644 --- a/src/bin/proxmox-restore-daemon.rs +++ b/src/bin/proxmox-restore-daemon.rs @@ -48,6 +48,10 @@ fn main() -> Result<(), Error> { .write_style(env_logger::WriteStyle::Never) .init(); + // the API may save some stuff there, e.g., the memcon tracking file + // we do not care much, but it's way less headache to just create it + std::fs::create_dir_all("/run/proxmox-backup")?; + // scan all attached disks now, before starting the API // this will panic and stop the VM if anything goes wrong info!("scanning all disks...");