VZDump.conf storage setting is not taken into account

sectorchan

Member
Oct 27, 2022
11
3
8
Hi folks,

I came across that I can configure the default values for the manual backup function.
I'm currently on:
pve-manager/8.2.7/3e0176e6bb2ade3b (running kernel: 6.8.12-2-pve)


This is from my vzdump.conf:
mode: stop
compress: zstd
notes-template:{{cluster}}, {{guestname}}, {{node}}, {{vmid}},
storage: server

This is my server, connected as SMB share.
1728979893297.png
In the backup window, when I open it, the storage server is not selected as default, but I can select it manually and can successfully start the backup:
INFO: creating vzdump archive '/mnt/pve/server/dump/vzdump-lxc-128-2024_10_15-10_12_45.tar.zst'
 
yes, the vzdump.conf file just sets the defaults in the backend in case no explicit value for that option is given. since the UI will always force you to select a storage, the storage option in vzdump.conf won't ever have an effect there. it will only affect invocations of the vzdump CLI tool or manual calls to the corresponding API.
 
  • Like
Reactions: mariol