X
    Categories: BackupsBaculaBashPrograming

Bacula Script – How can I view the Jobs associated with a Tape?

bacula

To resolve this I created this script based on the files jobs script.
here is the code :

#!/bin/bash
while read LINHA
do
/bin/bconsole -c /backup/bacula/bconsole.conf <<END_OF_DATA
list jobmedia jobid=$LINHA
1
wait
@output
quit
END_OF_DATA
done; jobs-list.txt
Pedro :