{"selectionpattern", store_str, ITEM(res_job.selection_pattern), 0, 0, 0},
{"runscript", store_runscript, ITEM(res_job.RunScripts), 0, ITEM_NO_EQUALS, 0},
{"selectiontype", store_migtype, ITEM(res_job.selection_type), 0, 0, 0},
+ {"accurate", store_bool, ITEM(res_job.accurate), 0,0,0},
{NULL, NULL, {0}, 0, 0, 0}
};
if (res->res_job.spool_size) {
sendit(sock, _(" SpoolSize=%s\n"), edit_uint64(res->res_job.spool_size, ed1));
}
+ if (res->res_job.JobType == JT_BACKUP) {
+ sendit(sock, _(" Accurate=%d\n"), res->res_job.accurate);
+ }
if (res->res_job.JobType == JT_MIGRATE) {
sendit(sock, _(" SelectionType=%d\n"), res->res_job.selection_type);
}
bool write_part_after_job; /* Set to write part after job in SD */
bool enabled; /* Set if job enabled */
bool OptimizeJobScheduling; /* Set if we should optimize Job scheduling */
+ bool accurate; /* Set if it is an accurate backup job */
MSGS *messages; /* How and where to send messages */
SCHED *schedule; /* When -- Automatic schedule */
B_DB *db_batch; /* database pointer for batch insert */
ATTR_DBR *ar; /* DB attribute record */
guid_list *id_list; /* User/group id to name list */
+ bool accurate; /* true if job is accurate */
void *plugin_ctx_list; /* list of contexts for plugins */
void *plugin_ctx; /* current plugin context */