On 1/29/24 08:44, Marco Gaiarin wrote:

In my Bacula installatin i've many backup types; for some, more ''solid'',
the bacula messages resources is perfect.


But i use bacula also for some more less solid backup: client backup (mostly
windows, mostly medical devices) that are not ''always on''.
So bacula message resources get 'sanitize' andnclient send little or no
feedback on backup.


Still i need some report, at least know that 'client X is out of network by
a month' or something like this.


I've found that a command like:

  *list jobs client=fvg-sv-eeg-fd type=B
  Using Catalog "BaculaLNF"
  
+--------+------------+---------------------+------+-------+----------+----------------+-----------+
  | jobid  | name       | starttime           | type | level | jobfiles | 
jobbytes       | jobstatus |
  
+--------+------------+---------------------+------+-------+----------+----------------+-----------+
  | 15,486 | FVG-S
V-EEG | 2024-01-05 14:01:12 | B    | I     |        0 |              0 | A      
   |
  | 15,635 | FVG-SV-EEG | 2024-01-09 16:00:51 | B    | I     |        0 |       
       0 | A         |
  | 15,677 | FVG-SV-EEG | 2024-01-10 15:31:10 | B    | I     |        0 |       
       0 | A         |
  | 15,719 | FVG-SV-EEG | 2024-01-11 12:31:06 | B    | I     |       34 |  
2,349,575,229 | T         |
  | 15,761 | FVG-SV-EEG | 2024-01-12 11:00:32 | B    | I     |       43 |  
1,813,375,650 | T         |
  | 15,868 | FVG-SV-EEG | 2024-01-15 12:30:58 | B    | F     |   14,030 | 
64,277,646,705 | T         |
  | 15,913 | FVG-SV-EEG | 2024-01-16 08:30:03 | B    | I     |        0 |       
       0 | A         |
  | 15,961 | FVG-SV-EEG | 2024-01-17 08:30:03 | B    | I     |        0 |       
       0 | A         |
  | 16,010 | FVG-SV-EEG | 2024-01-18 08:30:02 | B    | I     |        0 |       
       0 | A         |
| 16,056 | FVG-SV-EEG | 2024-01-19 12:30:47 | B | I |
    58 |  5,740,439,597 | T         |
  | 16,172 | FVG-SV-EEG | 2024-01-22 12:31:04 | B    | F     |   14,079 | 
72,084,456,031 | T         |
  | 16,218 | FVG-SV-EEG | 2024-01-23 16:01:05 | B    | I     |        0 |       
       0 | A         |
  | 16,264 | FVG-SV-EEG | 2024-01-24 10:30:28 | B    | I     |        0 |       
       0 | A         |
  | 16,310 | FVG-SV-EEG | 2024-01-25 08:30:03 | B    | I     |        0 |       
       0 | A         |
  | 16,357 | FVG-SV-EEG | 2024-01-26 13:02:49 | B    | I     |       62 |  
6,935,959,574 | T         |
  | 16,473 | FVG-SV-EEG | 2024-01-29 12:31:25 | B    | F     |        0 |       
       0 | A         |
  
+--------+------------+---------------------+------+-------+----------+----------------+-----------+

i can get a report of jobs and do some statistics with a script.


Before starting to code something... there's just a 'report script'
somewhere?! ;-)


Thanks.


Hello Marco,

I might b
e able to add this as a feature to my `baculabackupreport.py` Python reporting 
script - possibly quite easily.

The script already has a feature to show jobs that are "always failing" for x number of days. This feature you are asking for is interesting.

I'd need a little time to think about it since I just returned from a Company trip in Morocco and am still fighting whatever cold/flu I got while traveling. :)

I've been looking for something to work on for a while now. This might be 
perfect. :)


Best regards,
Bill

--
Bill Arlofski
w...@protonmail.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to