View Issue Details

IDProjectCategoryView StatusLast Update
0000986bareos-core[All Projects] directorpublic2019-07-09 11:58
ReporterIntAssigned Toarogge 
Status resolvedResolutionno change required 
PlatformLinuxOSCentOSOS Version7
Product Version17.2.4 
Target VersionFixed in Version 
Summary0000986: status job=xxxx not giving correct job status
DescriptionWhen "status job=xxxx" is called in bconsole when running a restore job it always gives result "Job "xxxx" is not running."
But command "status jobs" is showing the correct result.


*status job=3870
Job "3870" is not running.

*status jobs
Automatically selected Storage: Tape
Connecting to Storage daemon Tape at bareos.domain.local:9103

bareos-sd Version: 17.2.4 (21 Sep 2017) x86_64-redhat-linux-gnu redhat CentOS Linux release 7.4.1708 (Core)
Daemon started 13-Jul-18 07:15. Jobs: run=49, running=0.
 Heap: heap=135,168 smbytes=1,242,767 max_bytes=2,286,344 bufs=162 max_bufs=163
 Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0 bwlimit=0kB/s

Running Jobs:
Reading: Full Restore job RestoreFiles JobId=3870 Volume="NIX383L6"
    pool="Backup_Main" device="tapedrive-0" (/dev/tape/by-id/scsi-35005076312128141-nst)
Writing: Full Restore job RestoreFiles JobId=3870 Volume="NIX383L6"
    pool="Backup_Main" device="tapedrive-0" (/dev/tape/by-id/scsi-35005076312128141-nst)
    spooling=0 despooling=0 despool_wait=0
    Files=0 Bytes=0 AveBytes/sec=0 LastBytes/sec=0
    FDReadSeqNo=6 in_msg=6 out_msg=5 fd=6
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2018-07-17 08:38

reporter   ~0003073

Found the cause myself. 'status job=' is expecting a job name not a job number.
You can close the ticket.

It would be great if Bareos could be more flexible and give job status with name or job number.
mentions 'status jobid=nn' but this command is not shown in the tab-completion list of status

Issue History

Date Modified Username Field Change
2018-07-17 08:19 Int New Issue
2018-07-17 08:38 Int Note Added: 0003073
2019-07-09 11:58 arogge Assigned To => arogge
2019-07-09 11:58 arogge Status new => resolved
2019-07-09 11:58 arogge Resolution open => no change required