VZDump.conf storage setting is not taken into account

sectorchan

New Member
Oct 27, 2022
11
3
3
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!