Marc Cousin schrieb: > Hi all, > > I'm trying to log all the files backed up, on the FD side. > > I'll explain myself before anybody tells me the information is in the > database > and bconsole :) > > I know that all the information is stored in the director. But in my company, > things are really compartimented, and there is a team responsible for all > backups, and several admin teams working on the servers, doing everything but > the backups. > > To get the backups done, they have to fill forms, then other forms if they > want to modify them, etc ... The problem being that : > - It's very hard to know what is really backed up after a while, if the > information is scattered over several forms > - You have to really trust the people doing backups to have implemented > exactly what is in these forms > > To make things worse, the director and bweb and bconsole are in a special > vlan > where only people from the backup team can connect. > > So many admins are left in the dark on whether the backup works or not (me > included :) ). > > So I wanted to be able to log locally on my server what is really backed up, > to be able to check this periodically. And it seems I can't. > > I've tried to put > syslog = all > > in my Messages section on the FD. I get messages telling me that job XXX has > started, and all restores are logged also. But I don't get messages for > backed up files. > > Is there a way to do it ? I understand that it is disabled by default, as it > would generate a lot of logs, but I really need to be able to double-check > the backups without filling 5 more forms :)
What about sending the file list per mail? A very simple example: Run After Job = "/etc/bacula/scripts/send_filelist.sh %c %i [email protected]" /etc/bacula/scripts/send_filelist.sh: ----- #!/bin/bash CLIENT=$1 JOBID=$2 MAIL=$3 ATTACHMENT=/tmp/filelist-$JOBID.gz echo -e "use Catalog=MyCatalog\nllist files jobid=$JOBID" | /usr/bin/bconsole | gzip -c > $ATTACHMENT nail -s"$Filelist $CLIENT Job: $JOBID" -a $ATTACHMENT $MAIL < /dev/null rm $ATTACHMENT ---- It would also be possible to dump the list of files by ssh or ftp to a share or a webserver. Ralf ------------------------------------------------------------------------------ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
