From b2a2affa3f22b9317b6d649c87a9495b2311c76b Mon Sep 17 00:00:00 2001 From: Aaron Lauterer Date: Thu, 27 Feb 2020 11:01:11 +0100 Subject: [PATCH] abstractconfig: add prototype for get_backup_volumes Signed-off-by: Aaron Lauterer --- PVE/AbstractConfig.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/PVE/AbstractConfig.pm b/PVE/AbstractConfig.pm index e3e4c6e..83db4be 100644 --- a/PVE/AbstractConfig.pm +++ b/PVE/AbstractConfig.pm @@ -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 -- 2.39.2