/* On Full mode, if no previous base job, no accurate things */
if (get_base_jobids(jcr, &jobids)) {
jcr->HasBase = true;
- Jmsg(jcr, M_INFO, 0, _("Using BaseJobId(s): %s\n"), jobids.list);
+ Jmsg(jcr, M_INFO, 0, _("Using Base JobId(s): %s\n"), jobids.list);
} else if (!jcr->rerunning) {
return true;
}
} else if (!ua->argv[j]) {
/* skip */
} else if (strcasecmp(ua->argk[j], NT_("order")) == 0) {
- if (strcasecmp(ua->argv[j], NT_("desc")) == 0) {
+ if (strcasecmp(ua->argv[j], NT_("desc")) == 0 ||
+ strcasecmp(ua->argv[j], NT_("descending")) == 0) {
jr.order = 1;
- } else if (strcasecmp(ua->argv[j], NT_("asc")) == 0) {
+ } else if (strcasecmp(ua->argv[j], NT_("asc")) == 0 ||
+ strcasecmp(ua->argv[j], NT_("ascending")) == 0) {
jr.order = 0;
} else {
ua->error_msg(_("Unknown order type %s\n"), ua->argv[j]);
jcr->jr.JobTDate = jcr->start_time;
jcr->setJobStatus(JS_Running);
+ /* Add the following when support for base jobs is added to virtual full */
+ //jcr->HasBase = jcr->job->base != NULL;
+ //jcr->jr.HasBase = jcr->HasBase;
+
/* Update job start record */
if (!db_update_job_start_record(jcr, jcr->db, &jcr->jr)) {
Jmsg(jcr, M_FATAL, 0, "%s", db_strerror(jcr->db));
bstat=2
fi
-grep -e 'Using BaseJobId(s): 1$' ${cwd}/tmp/log4.out > /dev/null
+grep -e 'Using Base JobId(s): 1$' ${cwd}/tmp/log4.out > /dev/null
if [ $? -ne 0 ]; then
print_debug "ERROR: The first full job should use only jobid=1 as basejob"
bstat=2
wait
messages
list volumes
-list jobs
+llist jobs
@#
@# now do a restore of the consolidated Full
@#