From: Leo Nunner Date: Tue, 7 Mar 2023 12:11:03 +0000 (+0100) Subject: fix #4234: vzdump: add cluster-wide configuration X-Git-Url: https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff_plain;h=581e22f406f7a4becbc33f3b83a6dc4ffed56cdc fix #4234: vzdump: add cluster-wide configuration Introduce a cluster-wide vzdump.conf file which gets filled with the default vzdump configuration. Signed-off-by: Leo Nunner --- diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index 0154aae..efca58f 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -45,6 +45,7 @@ my $dbbackupdir = "/var/lib/pve-cluster/backup"; # using a computed version and only those can be used by the cfs_*_file methods my $observed = { 'vzdump.cron' => 1, + 'vzdump.conf' => 1, 'jobs.cfg' => 1, 'storage.cfg' => 1, 'datacenter.cfg' => 1, diff --git a/data/src/status.c b/data/src/status.c index 5e1e841..9e520a5 100644 --- a/data/src/status.c +++ b/data/src/status.c @@ -89,6 +89,7 @@ static memdb_change_t memdb_change_array[] = { { .path = "priv/ipam.db" }, { .path = "datacenter.cfg" }, { .path = "vzdump.cron" }, + { .path = "vzdump.conf" }, { .path = "jobs.cfg" }, { .path = "ha/crm_commands" }, { .path = "ha/manager_status" },