]> git.proxmox.com Git - pve-guest-common.git/commitdiff
abstractconfig: add prototype for get_backup_volumes
authorAaron Lauterer <a.lauterer@proxmox.com>
Thu, 27 Feb 2020 10:01:11 +0000 (11:01 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 10 Mar 2020 11:13:07 +0000 (12:13 +0100)
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/AbstractConfig.pm

index e3e4c6e1d2d3fde84d96177ef731d8b13d021e7a..83db4be1643f35cb801fdb4f32940dadbc4d3678 100644 (file)
@@ -412,6 +412,24 @@ sub get_replicatable_volumes {
     die "implement me - abstract method\n";
 }
 
+# Returns whether the guests volumes are included in a vzdump job
+# Return Format:
+# referenced array with hashes as elements:
+# [
+#   {
+#      key,        key in the config, e.g. mp0, scsi0,...
+#      included,   boolean
+#      reason,     string
+#      volume,     volid / mountpoint
+#      data        volume object as returned from foreach_drive/foreach_mountpoint
+#      },
+# ]
+sub get_backup_volumes {
+    my ($class, $conf) = @_;
+
+    die "implement me - abstract method\n";
+}
+
 # Internal snapshots
 
 # NOTE: Snapshot create/delete involves several non-atomic