]> git.proxmox.com Git - pmg-api.git/blobdiff - src/PMG/PBSConfig.pm
fix #3154: backup: add 'include-statistics' to pbs
[pmg-api.git] / src / PMG / PBSConfig.pm
index 2d80e78230d050df54c5954ad328daf986b0c499..29cff220d1e339e4215b20ed8134193897a9363a 100644 (file)
@@ -90,6 +90,11 @@ sub properties {
            description => "Username or API token ID on the Proxmox Backup Server"
        }),
        fingerprint => get_standard_option('fingerprint-sha256'),
+       'include-statistics' => {
+           description => "Include statistics in scheduled backups",
+           type => 'boolean',
+           optional => 1,
+       },
        %prune_properties,
     };
 }
@@ -102,6 +107,7 @@ sub options {
        username => { optional => 1 },
        password => { optional => 1 },
        fingerprint => { optional => 1 },
+       'include-statistics' => { optional => 1 },
        'keep-last' => { optional => 1 },
        'keep-hourly' =>  { optional => 1 },
        'keep-daily' => { optional => 1 },