While I think it might be a handy feature for debugging, I do have one thought... if nobody has time to audit the filesets... who's going to have time to audit these humongous logs?
Bob Marc Cousin wrote: > On Wednesday 22 July 2009 15:11:13 Ralf Gross wrote: >> Marc Cousin schrieb: >>>>> .... >>>>> 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 >>>> f...@foobarblub.com" >>>> >>>> /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. >>> Not possible. most smtp servers have a 10MB limit on filesize ... >>> And some of our backups would generate much bigger logs than that >> So you could still upload it to a share or mount the share local on >> the dir and put the file list there. >> > > I'm not looking for a workaround, I'm suggesting a new and very small > feature, > which would be easy to implement (I can implement it by myself for my fd, but > I'd rather not have to patch my fd whenever there is a new bacula release > deployed by the adminstrators). > > I'd rather have a clean implementation than a hack with network mounts or > emails. > > ------------------------------------------------------------------------------ > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel ------------------------------------------------------------------------------ _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel