if (plug_func(plugin)->startBackupFile(jcr->plugin_ctx, &sp) != bRC_OK) {
goto bail_out;
}
+
+ /* Set the flag if the plugin wants to update file's attributues */
+ ff_pkt->stat_update = sp.stat_update;
+
if (sp.type == 0) {
Jmsg1(jcr, M_FATAL, 0, _("Command plugin \"%s\": no type in startBackupFile packet.\n"),
cmd);
bool portable; /* set if data format is portable */
bool accurate_found; /* Found in accurate list (valid after check_changes()) */
bool do_dedup; /* True if we deal with a dedup storage system */
+ bool stat_update; /* True if only file's metada needds to be updated */
char *cmd; /* command */
struct restore_object restore_obj; /* Info about restore object */
struct plugin_object plugin_obj; /* Plugin Object */