Commit 08c2cedf authored by Dietmar Maurer's avatar Dietmar Maurer

also run 'backup-start' hook in snapshot mode

parent 271f16aa
...@@ -853,6 +853,8 @@ sub exec_backup_task { ...@@ -853,6 +853,8 @@ sub exec_backup_task {
} elsif ($mode eq 'snapshot') { } elsif ($mode eq 'snapshot') {
$self->run_hook_script ('backup-start', $task, $logfd);
my $snapshot_count = $task->{snapshot_count} || 0; my $snapshot_count = $task->{snapshot_count} || 0;
$self->run_hook_script ('pre-stop', $task, $logfd); $self->run_hook_script ('pre-stop', $task, $logfd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment