bEventLevel = 11,
bEventSince = 12,
bEventCancelCommand = 13, /* Executed by another thread */
- bEventVssBackupAddComponents = 14,
+ bEventVssBackupAddComponents = 14, /* Just before bEventVssPrepareSnapshot */
bEventVssRestoreLoadComponentMetadata = 15,
bEventVssRestoreSetComponentsSelected = 16,
bEventRestoreObject = 17,
* You need to add them without duplicates,
* see fd_common.h add_drive() copy_drives() to get help
*/
- bEventVssAddSnapshotLetters = 21
+ bEventVssPrepareSnapshot = 21
} bEventType;
typedef struct s_bEvent {
/* tell vss which drives to snapshot */
char szWinDriveLetters[27];
*szWinDriveLetters=0;
- generate_plugin_event(jcr, bEventVssSnapshotLetters, szWinDriveLetters);
+ generate_plugin_event(jcr, bEventVssPrepareSnapshot, szWinDriveLetters);
if (get_win32_driveletters(jcr->ff, szWinDriveLetters)) {
Jmsg(jcr, M_INFO, 0, _("Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"), g_pVSSClient->GetDriverName(), szWinDriveLetters);
if (!g_pVSSClient->CreateSnapshots(szWinDriveLetters)) {