Added a missing program so that mass deletion of storage devices works.
---- Changes since 1.490 ----
Fixed fileset exlude list and 'Run at times' display, thanks to a patch by Joe Zhou.
+Added support for automatic volume labelling and max volume size, thanks to Caspar Smit.
print &ui_table_row($text{'pool_any'},
&bacula_yesno("any", "Accept Any Volume", $mems));
}
+print &ui_table_row($text{'pool_autolabel'},
+ &ui_textbox("autolabel", $name=&find_value("LabelFormat", $mems), 20), 3);
+print &ui_table_row($text{'pool_maxvolsize'},
+ &ui_textbox("maxvolsize", $name=&find_value("Maximum Volume Bytes", $mems), 10), 3);
+
# All done
print &ui_table_end();
pool_emax=Missing or invalid maximum number of jobs per volume
pool_ereten=Missing or invalid retention period
pool_status=Show Volumes
+pool_autolabel=Automatically label volumes prefix
+pool_maxvolsize=Maximum volume size (e.g. 5G for 5 Gigabytes)
poolstatus_title=Volumes In Pool
poolstatus_show=Show volumes in pool:
&save_directive($conf, $pool, "Accept Any Volume",
$in{'any'} || undef, 1);
}
+ &save_directive($conf, $pool, "LabelFormat", $in{'autolabel'} || undef, 1);
+ &save_directive($conf, $pool, "Maximum Volume Bytes", $in{'maxvolsize'} || undef, 1);
+
# Create or update
if ($in{'new'}) {