bareos2015: bareos-13.2 61f514ae

Author Committer Branch Timestamp Parent Ported
mvwieringen mvwieringen bareos-13.2 2013-05-04 20:34:29 bareos-13.2 fb305e0a Pending
Affected Issues  0000013: Allow cancel by JobId on storage daemon.
Changeset Allow cancel by JobId on storage daemon.

Sometimes the Director already removed the Job from its running queue
but the Storage daemon still thinks it doing a backup (or other Job)
and you cannot cancel the Job from within a console anymore. This piece
of code allows you to cancel a Storage Daemon Job by JobId. E.g. do
a status sd on the Storage Daemon make sure what Job you want to cancel
and issue a cancel storage=<Storage Daemon> Jobid=<JobId> This way you
can also remove a Job that blocks any other Jobs from running without
the need to restart the whole Storage Daemon.

Fixes 0000013: Allow cancel by JobId on storage daemon.
mod - src/dird/protos.h Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/stored/dircmd.c Diff File