]> git.proxmox.com Git - pve-guest-common.git/blobdiff - PVE/AbstractConfig.pm
abstractconfig: add prototype for get_backup_volumes
[pve-guest-common.git] / 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