Signed-off-by: Mark Casey <markc@unifiedgroup.com>
local %ENV;
- foreach my $ek (qw(vmtype dumpdir hostname tarfile logfile)) {
+ foreach my $ek (qw(vmtype dumpdir hostname tarfile logfile storeid)) {
$ENV{uc($ek)} = $task->{$ek} if $task->{$ek};
}
die "unable to create log file '$tmplog'";
$task->{dumpdir} = $opts->{dumpdir};
-
+ $task->{storeid} = $opts->{storage};
$task->{tmplog} = $tmplog;
unlink $logfile;
my $dumpdir = $ENV{DUMPDIR};
+ my $storeid = $ENV{STOREID};
+
my $hostname = $ENV{HOSTNAME};
# tarfile is only available in phase 'backup-end'