uint32_t flags; /* Bacula internal flags */
bool portable; /* set if data format is portable */
char *cmd; /* command */
+ uint32_t delta_seq; /* Delta sequence number */
char *object_name; /* Object name to create */
char *object; /* restore object data to save */
int32_t object_len; /* restore object length */
const char *RegexWhere; /* regex where */
int replace; /* replace flag */
int create_status; /* status from createFile() */
+ uint32_t delta_seq; /* Delta sequence number */
int32_t pkt_end; /* end packet sentinel */
};
bVarVssDllHandle = 12,
bVarWorkingDir = 13,
bVarWhere = 14,
- bVarRegexWhere = 15
+ bVarRegexWhere = 15,
+ bVarExePath = 16
} bVariable;
/* Events that are passed to plugin */
bEventRestoreCommand = 10,
bEventLevel = 11,
bEventSince = 12,
- bEventCancelCommand = 13, /* Executed by an other thread */
- bEventVssBackupAddComponents = 14,
+ bEventCancelCommand = 13, /* Executed by another thread */
+ bEventVssBackupAddComponents = 14, /* Just before bEventVssPrepareSnapshot */
bEventVssRestoreLoadComponentMetadata = 15,
bEventVssRestoreSetComponentsSelected = 16,
bEventRestoreObject = 17,
bEventEndFileSet = 18,
- bEventPluginCommand = 19 /* Sent during FileSet creation */
+ bEventPluginCommand = 19, /* Sent during FileSet creation */
+ bEventVssBeforeCloseRestore = 20,
+
+ /* Add drives to VSS snapshot
+ * argument: char[27] drivelist
+ * You need to add them without duplicates,
+ * see fd_common.h add_drive() copy_drives() to get help
+ */
+ bEventVssPrepareSnapshot = 21
} bEventType;
typedef struct s_bEvent {