create /var/lib/proxmox-bnackup at server startup

This was missing in previous patch...

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2021-11-12 08:08:23 +01:00
parent b935209584
commit bf013be1c4
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ async fn run() -> Result<(), Error> {
config::update_self_signed_cert(false)?; config::update_self_signed_cert(false)?;
proxmox_backup::server::create_run_dir()?; proxmox_backup::server::create_run_dir()?;
proxmox_backup::server::create_state_dir()?;
proxmox_backup::server::jobstate::create_jobstate_dir()?; proxmox_backup::server::jobstate::create_jobstate_dir()?;
proxmox_backup::tape::create_tape_status_dir()?; proxmox_backup::tape::create_tape_status_dir()?;
proxmox_backup::tape::create_drive_state_dir()?; proxmox_backup::tape::create_drive_state_dir()?;