Lucio Crusca wrote: > Hello *, > > Bacula 2.0.3/Debian here, using DVD and full/month+diff/week+incr/day > schedule. In order to always have the full backup on a single media, I need > to set the volume status as "Full" before the next 1st monday of each month. > Now I guess there could be at least two ways to do that: > > 1. set the Volume Use Duration to 1 month > 2. run an admin job before the full backup that sets the current volume > status > to "Full" and mails the operator asking for a new media. > > SInce "1 month" is likely to be different from "until next 1st mon at 10:00", > and since the manual says that "Volume Use Duration" wants a > time-period-specification, which is quite hard to adapt to the time remaining > before the next full backup, I suspect that the way to go is 2. > > However the only way I know to change the volume status is the "update > volume" > command in bconsole. Is there a way to run that command from a shell script > or inside an admin job?
It's pretty straightforward to pipe commands to bconsole: http://bacula.org/rel-manual/Bacula_Console.html#SECTION002180000000000000000 -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users