From 3a3ff9d52b43b27fd18068f93bacfdf4b9144987 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Wed, 16 Jun 2021 09:26:58 +0200 Subject: [PATCH] config: add backup content type to default local storage which is used if there is no ('dir'-type) 'local' entry. Storage configurations made by the installer also support backups for the 'local' storage, and the 'prune-backups' parameter is not really useful otherwise. Signed-off-by: Fabian Ebner --- PVE/Storage/Plugin.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index f0c15d5..948002e 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -404,7 +404,14 @@ sub parse_config { priority => 0, # force first entry path => '/var/lib/vz', 'prune-backups' => 'keep-all=1', - content => { images => 1, rootdir => 1, vztmpl => 1, iso => 1, snippets => 1}, + content => { + backup => 1, + images => 1, + iso => 1, + rootdir => 1, + snippets => 1, + vztmpl => 1, + }, }; } -- 2.39.2