From: Kern Sibbald Date: Fri, 19 Mar 2010 18:01:46 +0000 (+0100) Subject: Add bEventInitializeVSS as requested by James X-Git-Tag: Release-7.0.0~2048 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2cc0f38a3838b2c22cdb1d5a406edcfb79f23018;p=bacula%2Fbacula Add bEventInitializeVSS as requested by James --- diff --git a/bacula/src/filed/fd_plugins.h b/bacula/src/filed/fd_plugins.h index f64ba1b17a..2f6ac15b29 100644 --- a/bacula/src/filed/fd_plugins.h +++ b/bacula/src/filed/fd_plugins.h @@ -167,7 +167,8 @@ typedef enum { bEventRestoreCommand = 10, bEventLevel = 11, bEventSince = 12, - bEventCancelCommand = 13 + bEventCancelCommand = 13, + bEventInitializeVSS = 14 } bEventType; typedef struct s_bEvent { diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 4357fd63c0..bcdc459a36 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -1597,6 +1597,7 @@ static int backup_cmd(JCR *jcr) /* START VSS ON WIN32 */ if (jcr->VSS) { if (g_pVSSClient->InitializeForBackup(jcr)) { + generate_plugin_event(jcr, bEventInitializeVSS); /* tell vss which drives to snapshot */ char szWinDriveLetters[27]; if (get_win32_driveletters(jcr->ff, szWinDriveLetters)) {