TO 'bweb'@'%' IDENTIFIED BY 'password';
GRANT INSERT,UPDATE,DELETE ON bacula.LocationLog
TO 'bweb'@'%' IDENTIFIED BY 'password';
-GRANT UPDATE (LocationId,Comment,RecyclePoolId) ON bacula.Media
- TO 'bweb'@'%' IDENTIFIED BY 'password';
################ GET MORE STATISTICS ###########################
2007/08/20
- fix update of locationid field during label barcodes
+ - use update recyclepool= instead of UPDATE Media SET RecyclePoolId
2007/08/11
- update install_bweb
$update .= " maxvolbytes=$arg->{maxvolbytes} " ;
}
+ if (defined $arg->{poolrecycle}) {
+ $update .= " recyclepool=\"$arg->{poolrecycle}\" " ;
+ }
+
my $b = $self->get_bconsole();
$self->display({
$loc = $self->dbh_quote($loc); # is checked by db
push @q, "LocationId=(SELECT LocationId FROM Location WHERE Location=$loc)";
}
- if ($arg->{poolrecycle}) {
- push @q, "RecyclePoolId=(SELECT PoolId FROM Pool WHERE Name='$arg->{poolrecycle}')";
- }
if (!$arg->{qcomment}) {
$arg->{qcomment} = "''";
}
bweb (2.2.0-2) stable; urgency=low
-
+
+ * WARNING: 2.2.0-2 version don't support bacula 2.0.X anymore
+ * cleanup brestore
+ * update brestore_xxx only when job is in (T, f, A)
+ * use update recyclepool= instead of SQL query
* fix Media.LocationId update during label barcodes
-- Eric Bollengier <eric@eb.homelinux.org> Mon, 20 Aug 2007 15:15:47 +0000