On 02/21/2018 02:41 PM, Maurizio Caloro wrote:
> Hello
> Please exist any possibilities to view the progress from running backup job
> at this time i have only the option "Status" "Director"
> 
> here i see that the Job are running, but i don't see how long this will run 
> and how
> meny this are backuped in the mean time.
> 
> running with Bacula 5.x
> 
> Regards
> M


Hello Maurizio,

Along with the "status Client" command that Richard has mentioned, there is
the "status storage" command to be able to see running jobs from the
perspective of your storage server(s).

And when you run something like this following one line script which pipes the
"status storage" command to bconsole and massages the output with a little
grep and awk, you can have a nice updated overview of your running backup jobs
from the perspective of the storage showing all the jobs running on the SD,
bytes written, AveBytes/sec, files, and what Volume, Device and pool is being
used for each job:

----8<----
#!/bin/bash


# Next line has been split with "\" to mitigate email word-wrapping

watch -tn 1 'echo -e "Monitoring Storage Name\n"; \
echo -e "status storage=Storage_Name\nquit\n" | bconsole \
| awk "/^Running.*/,/^====$/ {print}" | grep -A4 "^Writing" \
| grep "^Writing:\|^ \+pool=\|^ \+Files=" '
----8<----


Also, if you are running version 5.x of Bacula, I think it might be time to
upgrade. That version is quite old.

Hope this helps...

Best regards,

Bill


-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to